@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";.error{color:#c24141;margin:12px 0;font-size:13px}:root{color:#20202a;font-synthesis:none;background:#f7f7fa;font-family:DM Sans,Noto Sans SC,sans-serif}.auth-shell{background:#f7f7fa;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#fff;border:1px solid #edecf2;border-radius:18px;width:min(100%,420px);padding:32px;box-shadow:0 18px 50px #20202a12}.auth-card h1{margin-bottom:10px}.auth-form{gap:16px;margin-top:24px;display:grid}.auth-form label{color:#666;gap:7px;font-size:13px;display:grid}.auth-form input{font:inherit;border:1px solid #e6e5ed;border-radius:9px;min-height:44px;padding:12px}.auth-form input:focus{border-color:#a99ef5;outline:none;box-shadow:0 0 0 3px #6659e81f}.logout-button{color:#a1a1ad;font:inherit;cursor:pointer;background:0 0;border:0;margin-top:10px;padding:0;font-size:12px;display:block}.logout-button:hover{color:#6659e8}*{box-sizing:border-box}body{margin:0}.app{min-height:100vh;display:flex}.sidebar{background:#fff;border-right:1px solid #ececf2;flex-direction:column;width:228px;padding:28px 18px;display:flex}.brand{letter-spacing:-.5px;align-items:center;gap:10px;padding:0 14px 52px;font-size:22px;display:flex}.brand .logo{filter:drop-shadow(0 2px 5px #6659e840);flex:none}.sidebar nav{gap:8px;display:grid}.sidebar a{color:#8a8b98;border-radius:12px;align-items:center;gap:12px;padding:13px 14px;font-size:14px;display:flex}.sidebar a.active{color:#6457e7;background:#f0efff;font-weight:600}.side-foot{color:#9b9ca8;margin-top:auto;padding:14px;font-size:12px;line-height:1.8}.side-foot small{color:#c2c2cb}main{flex:1;width:100%;min-width:0;margin:0 auto;padding:clamp(28px,3vw,56px) clamp(24px,4vw,72px) 54px}header{justify-content:space-between;align-items:center;margin-bottom:34px;display:flex}.eyebrow,.muted{color:#999aa6;margin:0 0 8px;font-size:13px}h1{letter-spacing:-1px;margin:0;font-size:30px;font-weight:700}h1 span{font-size:23px}.add{color:#fff;background:#6659e8;border:0;border-radius:11px;align-items:center;gap:8px;padding:12px 17px;font:600 14px inherit;display:flex;box-shadow:0 8px 16px #6659e82b}.hero{color:#fff;background:linear-gradient(120deg,#6760e9,#887cf3);border-radius:22px;justify-content:space-between;align-items:end;min-height:178px;padding:30px 34px;display:flex;position:relative;overflow:hidden}.hero .muted{color:#d9d7ff}.total{letter-spacing:-2px;font-size:42px;font-weight:700}.positive{color:#d8ffef;align-items:center;gap:5px;margin:13px 0 0;font-size:13px;display:flex}.spark{align-items:end;gap:9px;height:80px;padding-right:38px;display:flex}.spark i{background:#ffffff3b;border-radius:5px 5px 0 0;width:18px}.spark i:first-child{height:26%}.spark i:nth-child(2){height:43%}.spark i:nth-child(3){height:34%}.spark i:nth-child(4){height:62%}.spark i:nth-child(5){height:49%}.spark i:nth-child(6){height:79%}.spark i:nth-child(7){background:#ffffff8a;height:94%}.account-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:19px 0;display:grid}.account,.panel{background:#fff;border:1px solid #edecf2;border-radius:17px;padding:20px}.account-top{color:#737481;align-items:center;gap:8px;margin-bottom:21px;font-size:13px;display:flex}.dot{border-radius:50%;width:8px;height:8px}.more{color:#c9c9d2;letter-spacing:.2px;margin-left:auto;font-size:12px;font-weight:500}.account strong{letter-spacing:-.7px;font-size:22px}.bar{background:#f0f0f4;border-radius:4px;height:4px;margin-top:20px;overflow:hidden}.bar b{border-radius:4px;height:100%;display:block}.account-name{align-items:center;gap:7px;min-width:0;display:flex}.account-name svg{color:#8a8b98;flex:none}.account-meta{color:#a1a1ad;justify-content:space-between;gap:8px;margin-top:12px;font-size:11px;display:flex}.account-meta b{color:#666;font-weight:600}.account-actions{border-top:1px solid #f1f0f5;gap:6px;margin-top:10px;padding-top:10px;display:flex}.account-actions .link{border-radius:6px;padding:3px 7px;font-size:12px}.account-actions .link:hover{background:#f0efff}.account-summary{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:13px;margin-bottom:19px;display:grid}.summary-card{background:#fff;border:1px solid #edecf2;border-radius:15px;gap:5px;padding:14px 17px;display:grid}.summary-card p{color:#999aa6;margin:0;font-size:12px}.summary-card strong{letter-spacing:-.5px;color:#20202a;font-size:19px}.summary-card strong.neg{color:#d15b5b}.success{color:#168b61;margin:12px 0;font-size:13px}.account-form input:disabled{color:#999;cursor:not-allowed;background:#f5f4fa}.account-color-picker{flex-wrap:wrap;align-items:center;gap:12px;padding:5px 1px;display:flex}.account-color-swatch{cursor:pointer;border:3px solid #fff;border-radius:50%;width:30px;height:30px;padding:0;transition:transform .15s,box-shadow .15s;box-shadow:0 0 0 1px #dedde7}.account-color-swatch:hover{transform:scale(1.08)}.account-color-swatch.selected{transform:scale(1.08);box-shadow:0 0 0 3px #20202a}.account-color-swatch:focus-visible{outline-offset:3px;outline:3px solid #a99ef5}.tx-period{margin-bottom:19px}.cat-bars{gap:10px;display:grid}.cat-bar{color:#777;grid-template-columns:80px 1fr auto;align-items:center;gap:10px;font-size:12px;display:grid}.cat-name{align-items:center;gap:6px;display:flex}.cat-name i{border-radius:50%;flex:none;width:8px;height:8px}.cat-track{background:#f0f0f4;border-radius:4px;height:8px;overflow:hidden}.cat-track b{border-radius:4px;height:100%;display:block}.cat-bar em{color:#a1a1ad;white-space:nowrap;font-size:11px;font-style:normal}.content-grid{grid-template-columns:minmax(0,1.38fr) minmax(300px,1fr);gap:19px;display:grid}.panel-head{justify-content:space-between;align-items:start;margin-bottom:20px;display:flex}h2{margin:0 0 6px;font-size:17px}.link,.period{color:#766af0;background:0 0;border:0;padding:2px;font:500 13px inherit}.period{color:#888;background:#f5f4fa;border-radius:8px;padding:7px 10px}.period-switch{align-items:center;gap:6px;display:flex}.period-arrow{color:#8a8b98;cursor:pointer;background:#fff;border:1px solid #ececf2;border-radius:8px;place-items:center;width:28px;height:28px;padding:0;transition:border-color .15s,color .15s,background .15s;display:grid}.period-arrow:hover{color:#6659e8;background:#f8f7ff;border-color:#c9c4f5}.period-picker{color:#666;background:#f5f4fa;border-radius:8px;align-items:center;gap:3px;padding:4px 7px 4px 9px;font-size:13px;display:flex;position:relative}.dropdown{position:relative}.dropdown-trigger{color:#666;cursor:pointer;background:0 0;border:0;outline:none;align-items:center;gap:6px;padding:3px 2px;font:500 13px inherit;display:flex}.dropdown-trigger:hover,.dropdown.open .dropdown-trigger{color:#6659e8}.dropdown-value{text-overflow:ellipsis;white-space:nowrap;text-align:left;flex:1;overflow:hidden}.dropdown-value.placeholder{color:#b4b4bf}.dropdown-trigger svg{color:#9b9ca8;pointer-events:none;flex:none;transition:transform .15s}.dropdown.open .dropdown-trigger svg{transform:rotate(180deg)}.dropdown-menu{z-index:30;background:#fff;border:1px solid #ececf2;border-radius:10px;gap:2px;min-width:100%;max-width:calc(100vw - 32px);max-height:280px;padding:5px;display:grid;position:absolute;top:calc(100% + 8px);left:0;overflow:auto;box-shadow:0 12px 32px #20202a1f}.dropdown-item{text-align:left;color:#555;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:7px;padding:7px 12px;font:500 13px inherit}.dropdown-item:hover{color:#6659e8;background:#f4f2ff}.dropdown-item.active{color:#6659e8;background:#f0efff;font-weight:600}.dropdown.field .dropdown-trigger{color:#20202a;background:#fff;border:1px solid #e6e5ed;border-radius:9px;width:100%;min-height:40px;padding:10px 12px}.dropdown.field .dropdown-trigger:hover,.dropdown.field.open .dropdown-trigger{color:#20202a;border-color:#a99ef5}.dropdown.field .dropdown-trigger svg{color:#b4b4bf}.dropdown.field .dropdown-menu{min-width:0;left:0;right:0}.dropdown.field .dropdown-item{white-space:normal;line-height:1.5}.date-field{position:relative}.date-trigger{color:#20202a;cursor:pointer;background:#fff;border:1px solid #e6e5ed;border-radius:9px;outline:none;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:40px;padding:10px 12px;font:500 13px inherit;display:flex}.date-trigger:hover,.date-field.open .date-trigger{border-color:#a99ef5}.date-value.placeholder{color:#b4b4bf}.date-trigger svg{color:#b4b4bf;pointer-events:none;flex:none}.date-pop{z-index:40;background:#fff;border:1px solid #ececf2;border-radius:10px;width:264px;padding:10px;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 12px 32px #20202a1f}.date-nav{justify-content:space-between;align-items:center;gap:6px;margin-bottom:8px;display:flex}.date-nav-btn{color:#8a8b98;cursor:pointer;background:#fff;border:1px solid #ececf2;border-radius:7px;place-items:center;width:26px;height:26px;padding:0;display:grid}.date-nav-btn:hover{color:#6659e8;border-color:#c9c4f5}.date-ym{align-items:center;gap:4px;display:flex}.date-ym .dropdown-trigger{font-size:12px}.date-grid{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.date-wd{color:#a1a1ad;text-align:center;padding:4px 0;font-size:11px}.date-cell{color:#555;cursor:pointer;background:0 0;border:0;border-radius:7px;height:28px;padding:0;font:500 12px inherit}.date-cell:hover{color:#6659e8;background:#f4f2ff}.date-cell.today{color:#6659e8;font-weight:700}.date-cell.sel,.date-cell.sel:hover{color:#fff;background:#6659e8}.date-foot{border-top:1px solid #f1f0f5;justify-content:space-between;margin-top:8px;padding-top:8px;display:flex}.tx-list{display:grid}.tx-list-scroll{overscroll-behavior:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch;max-height:480px;overflow:auto}.tx-list-scroll::-webkit-scrollbar{width:6px}.tx-list-scroll::-webkit-scrollbar-thumb{background:#d9d7ee;border-radius:3px}.tx-list-scroll::-webkit-scrollbar-thumb:hover{background:#c4c0e8}@media (width<=760px){.tx-list-scroll{overscroll-behavior:auto;-webkit-overflow-scrolling:auto;max-height:none;overflow:visible}}.tx{border-top:1px solid #f1f0f5;align-items:center;gap:12px;padding:13px 0;display:flex}.tx-icon{color:#695de6;background:#f1efff;border-radius:12px;place-items:center;width:38px;height:38px;font-size:12px;font-weight:600;display:grid}.tx:nth-child(2) .tx-icon{color:#1db67d;background:#e9faf4}.tx:nth-child(3) .tx-icon{color:#d99000;background:#fff5df}.tx-main{flex:1;gap:5px;font-size:13px;display:grid}.tx-main span,.tx-right span{color:#a1a1ad;font-size:11px}.tx-right{text-align:right;gap:5px;font-size:13px;display:grid}.tx-right .income{color:#1daf78}.donut{background:conic-gradient(#7c6cff 0 92.3%,#22c58b 92.3% 93.7%,#f59e0b 93.7% 100%);border-radius:50%;place-items:center;width:158px;height:158px;margin:13px auto 22px;display:grid;position:relative}.donut:before{content:"";background:#fff;border-radius:50%;width:112px;height:112px;position:absolute}.donut div{z-index:1;text-align:center;gap:5px;display:grid}.donut strong{font-size:19px}.donut span{color:#999;font-size:11px}.legend{color:#777;gap:11px;font-size:12px;display:grid}.legend span{align-items:center;gap:7px;display:flex}.legend i{border-radius:50%;width:7px;height:7px}.legend b{color:#333;margin-left:auto}.legend em{color:#a1a1ad;text-align:right;min-width:46px;font-size:11px;font-style:normal}.cat-more{color:#a1a1ad;justify-content:flex-end;font-size:11px}.mobile-nav{display:none}.credit-summary{max-width:900px}.credit-row{border-top:1px solid #f1f0f5;gap:6px;padding:14px 0;font-size:13px;display:grid}.credit-row span{color:#888;font-size:12px}.section-title{margin-top:28px}.form-grid{grid-template-columns:1fr 1fr;gap:18px;margin-top:18px;display:grid}.settings{max-width:680px}.settings form,.account-form form{gap:16px;display:grid}.settings h2,.account-form h2{margin-top:10px}.settings label,.account-form label{color:#666;gap:7px;font-size:13px;display:grid}.account-form{max-width:680px;margin-bottom:18px}.account-add-button{margin-bottom:18px}.form-title{justify-content:space-between;align-items:start;margin-bottom:18px;display:flex}.form-title h2{margin-top:0}.account-form input,.account-form select{font:inherit;color:#20202a;background:#fff;border:1px solid #e6e5ed;border-radius:9px;min-height:43px;padding:11px 12px}.settings input[type=text],.settings input[type=password],.settings input[type=time],.settings select{font:inherit;color:#20202a;background:#fff;border:1px solid #e6e5ed;border-radius:9px;padding:11px 12px}.settings .check{align-items:center;gap:8px;display:flex}.settings .check input{width:16px;height:16px}@media (width<=1100px){.content-grid{grid-template-columns:1fr}}@media (width<=760px){.form-grid{grid-template-columns:1fr}.credit-summary{padding:17px 16px}.sidebar{display:none}.app{display:block}main{padding:25px 16px 92px}header{margin-bottom:25px}.eyebrow{font-size:11px}h1{font-size:24px}.add{padding:10px 12px;font-size:12px}.hero{border-radius:18px;min-height:158px;padding:24px 22px}.total{font-size:32px}.spark{gap:5px;padding-right:0}.spark i{width:10px}.account-grid{scrollbar-width:none;-ms-overflow-style:none;grid-template-columns:repeat(3,minmax(160px,1fr));gap:10px;margin:14px 0 18px;overflow:auto;-webkit-mask-image:linear-gradient(90deg,#0000 0,#000 24px calc(100% - 24px),#0000 100%);mask-image:linear-gradient(90deg,#0000 0,#000 24px calc(100% - 24px),#0000 100%)}.account-grid::-webkit-scrollbar{width:0;height:0;display:none}.account{border-radius:14px;padding:15px}.account-top{margin-bottom:15px;font-size:12px}.account strong{font-size:17px}.content-grid{grid-template-columns:1fr}.panel{border-radius:15px;padding:17px 16px}.tx{padding:12px 0}.tx-right strong{font-size:12px}.mobile-nav{z-index:5;background:#fff;border-top:1px solid #ececf2;justify-content:space-around;align-items:center;height:68px;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav a,.mobile-nav button{color:#aaa;font:inherit;cursor:pointer;background:0 0;border:0;place-items:center;gap:4px;padding:0;font-size:10px;display:grid}.mobile-nav a.active,.mobile-nav button.active{color:#6659e8}.mobile-nav .mobile-nav-add{color:#fff;background:#6659e8;border:0;border-radius:50%;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 6px 14px #6659e855}.avatar{color:#888;background:#eee;border-radius:50%;place-items:center;width:20px;height:20px;font-size:10px;display:grid}}.modal-backdrop{z-index:20;background:#20202a66;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal{background:#fff;border:1px solid #edecf2;border-radius:17px;width:min(100%,560px);max-height:calc(100vh - 48px);padding:20px;overflow:auto;box-shadow:0 24px 70px #20202a33}.modal-close{color:#777;cursor:pointer;background:#f3f2f7;border:0;border-radius:50%;width:30px;height:30px;font-size:22px;line-height:1}.modal-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.cancel{color:#666;cursor:pointer;background:#fff;border:1px solid #e6e5ed;border-radius:11px;padding:11px 17px;font:500 14px inherit}.row-actions{gap:12px;display:flex}.danger-link{color:#d15b5b;cursor:pointer;background:0 0;border:0;padding:2px;font:500 13px inherit}.bank-detail{max-width:1000px}.period-filter{gap:12px;margin-bottom:24px;display:flex}.period-filter .filter-group{color:#777;gap:6px;font-size:12px;display:grid}.credit-hero{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.credit-actions{flex-wrap:wrap;gap:10px;display:flex}.repay-button{color:#6659e8;cursor:pointer;background:#f4f2ff;border:1px solid #dcd9ff;border-radius:11px;padding:11px 15px;font:600 14px inherit}.installment-card{border-top:1px solid #f1f0f5;grid-template-columns:1fr auto auto;align-items:center;gap:20px;padding:17px 0;display:grid}.installment-status{gap:8px;font-size:12px;display:flex}.paid,.unpaid{border-radius:8px;padding:6px 9px}.paid{color:#168b61;background:#e9faf4}.unpaid{color:#b87800;background:#fff4df}.loan-progress{align-items:center;gap:10px;max-width:340px;margin-top:8px;display:flex}.loan-track{background:#f0f0f4;border-radius:4px;flex:1;height:6px;overflow:hidden}.loan-track b{background:#7c6cff;border-radius:4px;height:100%;display:block}.loan-progress span{color:#a1a1ad;white-space:nowrap;font-size:11px}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:13px;margin-bottom:19px;display:grid}.metric-card{background:#fff;border:1px solid #edecf2;border-radius:15px;gap:5px;padding:15px 17px;display:grid}.metric-card p{color:#999aa6;margin:0;font-size:12px}.metric-card strong{letter-spacing:-.5px;color:#20202a;font-size:20px}.metric-card small{color:#b4b4bf;font-size:11px}.analysis-grid{gap:19px;display:grid}.month-chart{border-top:1px solid #f1f0f5;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:10px;margin-top:16px;padding-top:16px;display:grid}.month-col{color:#a1a1ad;justify-items:center;gap:6px;font-size:11px;display:grid}.month-bars{justify-content:center;align-items:end;gap:4px;height:110px;display:flex}.month-bars b{border-radius:4px 4px 0 0;width:16px;min-height:2px}.bar-income{background:#22c58b}.bar-expense{background:#7c6cff}.chart-legend{color:#a1a1ad;justify-content:center;gap:16px;margin-top:14px;font-size:11px;display:flex}.chart-legend span{align-items:center;gap:6px;display:flex}.chart-legend i{border-radius:50%;width:8px;height:8px}.ai-config{background:#fafafe;border:1px solid #ececf2;border-radius:11px;margin-bottom:14px;padding:2px 14px}.ai-config summary{cursor:pointer;color:#766af0;-webkit-user-select:none;user-select:none;padding:10px 0;font-size:12px;font-weight:600}.ai-config-grid{grid-template-columns:1fr 1fr;gap:12px;padding:6px 0 12px;display:grid}.ai-config-grid label{color:#666;gap:6px;font-size:12px;display:grid}.ai-config-grid input,.ai-config-grid select{font:inherit;color:#20202a;background:#fff;border:1px solid #e6e5ed;border-radius:9px;min-height:40px;padding:10px 11px}.ai-config .muted{margin:0 0 10px}.ai-question{width:100%;font:inherit;color:#20202a;resize:vertical;background:#fff;border:1px solid #e6e5ed;border-radius:11px;min-height:64px;padding:12px 13px;font-size:13px}.ai-question:focus{border-color:#a99ef5;outline:none;box-shadow:0 0 0 3px #6659e81f}.ai-actions{align-items:center;gap:14px;margin-top:13px;display:flex}.ai-actions .muted{margin:0}.md-wrap{background:#fff;border:1px solid #edecf2;border-radius:14px;margin-top:22px;overflow:hidden}.md-head{background:#fafafe;border-bottom:1px solid #f1f0f5;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.md-head h3{color:#20202a;margin:0;font-size:15px}.md-head .muted{margin:4px 0 0}.md-live{color:#6659e8;vertical-align:2px;background:#f0efff;border-radius:6px;margin-left:8px;padding:2px 8px;font-size:11px;font-weight:600;animation:1.2s ease-in-out infinite mdPulse;display:inline-block}@keyframes mdPulse{0%,to{opacity:1}50%{opacity:.45}}.ai-think{background:#fafafe;border:1px dashed #e2e0f5;border-radius:10px;margin:0 0 14px;padding:0 14px}.ai-think summary{cursor:pointer;color:#8a8b98;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;padding:9px 0;font-size:12px;list-style:none;display:flex}.ai-think summary::-webkit-details-marker{display:none}.ai-think summary:before{content:"▸";color:#b4b4bf;transition:transform .15s}.ai-think[open] summary:before{transform:rotate(90deg)}.ai-think summary:hover{color:#6659e8}.ai-think-body{color:#9b9ca8;white-space:pre-wrap;max-height:220px;padding:2px 2px 12px;font-size:12px;line-height:1.8;overflow:auto}.think-wait{margin:10px 0}.md-actions{align-items:center;gap:8px;display:flex}.md-actions .link{border-radius:7px;padding:5px 9px}.md-actions .link:hover{background:#f0efff}.md-actions .link:disabled{opacity:.5;cursor:default}.md{color:#3c3c48;margin:0;padding:18px 20px;font-size:14px;line-height:1.9}.md h2{color:#20202a;border-bottom:1px solid #f1f0f5;margin:26px 0 10px;padding-bottom:8px;font-size:17px}.md h2:first-child{margin-top:0}.md h3{color:#20202a;margin:18px 0 8px;font-size:15px}.md h4{color:#20202a;margin:16px 0 7px;font-size:14px}.md p{margin:10px 0}.md hr{border:0;border-top:1px solid #f1f0f5;margin:18px 0}.md blockquote{color:#555;background:#f7f6ff;border-left:3px solid #a99ef5;border-radius:0 8px 8px 0;margin:10px 0;padding:8px 14px}.md-table{margin:12px 0;overflow-x:auto}.md table{border-collapse:collapse;width:100%;font-size:13px}.md th,.md td{text-align:left;border:1px solid #ececf2;padding:7px 10px}.md th{color:#6659e8;background:#f7f6ff;font-weight:600}.md td{color:#3c3c48}.md ul,.md ol{gap:8px;margin:10px 0;padding-left:24px;display:grid}.md li::marker{color:#7568f4;font-weight:600}.md ol li::marker{color:#6659e8}.md strong{color:#20202a}.md code{color:#6659e8;background:#f4f3fa;border-radius:6px;padding:2px 6px;font-size:12px}@media (width<=760px){.period-filter{width:100%}.period-filter .filter-group{flex:1}.credit-hero{display:block}.credit-actions{margin-top:16px}.credit-actions button{flex:1}.installment-card{grid-template-columns:1fr;gap:10px}.installment-status{flex-wrap:wrap}.metric-grid{grid-template-columns:repeat(2,1fr);gap:10px}.metric-card{padding:13px 14px}.metric-card strong{font-size:17px}.ai-actions{flex-wrap:wrap}.ai-config-grid{grid-template-columns:1fr}.md-head{flex-direction:column;align-items:stretch}.md-actions{justify-content:flex-end}.month-bars{height:88px}.month-chart{grid-template-columns:repeat(auto-fit,minmax(56px,1fr))}.period-switch{gap:4px}}.reports-layout{grid-template-columns:280px 1fr;align-items:start;gap:18px;display:grid}.report-list{gap:6px;max-height:calc(100vh - 220px);display:grid;overflow:auto}.report-item{cursor:pointer;width:100%;font:inherit;text-align:left;background:#fff;border:1px solid #edecf2;border-radius:11px;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;transition:border-color .15s,background .15s;display:flex}.report-item:hover{border-color:#c9c2f7}.report-item.active{background:#f6f4ff;border-color:#6659e8}.report-item strong{color:#20202a;font-size:14px;display:block}.report-item small{color:#a1a1ad;font-size:11px}.report-item svg{color:#c9c5e0;flex-shrink:0}.report-viewer{min-height:520px;padding:0;display:flex;overflow:hidden}.report-frame{background:#fff;border:0;width:100%;height:calc(100vh - 220px);min-height:520px}.report-empty{color:#b4b4bf;flex:1;align-content:center;place-items:center;gap:10px;padding:60px 0;display:grid}.report-empty p{margin:0;font-size:13px}.report-viewer .muted{padding:24px}@media (width<=760px){.reports-layout{grid-template-columns:1fr}.report-list{overscroll-behavior:auto;max-height:none;overflow:visible}.report-frame{height:70vh;min-height:420px}.report-viewer{min-height:0;display:block}.report-frame{pointer-events:auto;border:1px solid #edecf2;border-radius:14px;height:9000px;min-height:0}}.report-back{display:none}@media (width<=760px){.report-back{color:#6659e8;cursor:pointer;background:#fff;border:1px solid #ececf2;border-radius:10px;align-items:center;gap:6px;margin-bottom:14px;padding:9px 14px;font:600 13px inherit;display:inline-flex}}.sheet-backdrop{z-index:60;background:#20202a66;justify-content:center;align-items:flex-end;animation:.15s ease-out fadeIn;display:flex;position:fixed;inset:0}.sheet{background:#fff;border-radius:18px 18px 0 0;width:100%;max-width:560px;max-height:90vh;padding:8px 20px 28px;animation:.22s ease-out slideUp;overflow-y:auto;box-shadow:0 -16px 40px #20202a40}.sheet-handle{background:#e6e5ed;border-radius:2px;width:40px;height:4px;margin:8px auto 12px}.sheet-head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.sheet-head h2{margin:0;font-size:18px}.quick-kind{background:#f5f4fa;border-radius:11px;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px;padding:4px;display:grid}.quick-kind button{color:#888;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:10px;font:600 14px inherit}.quick-kind button.active{color:#6659e8;background:#fff;box-shadow:0 2px 6px #6659e822}.sheet-form{gap:12px;display:grid}.sheet-form label{color:#666;gap:6px;font-size:12px;display:grid}.sheet-form input{font:inherit;color:#20202a;background:#fff;border:1px solid #e6e5ed;border-radius:9px;min-height:44px;padding:12px;font-size:14px}.sheet-form input:focus{border-color:#a99ef5;outline:none;box-shadow:0 0 0 3px #6659e81f}.sheet-form .quick-amount-label{color:#444;font-size:13px;font-weight:600}.sheet-form .quick-amount-label input{padding:14px;font-size:22px;font-weight:700}.sheet-actions{gap:10px;margin-top:6px;display:flex}.sheet-actions .cancel{flex:1}.sheet-actions .add{flex:1;justify-content:center}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.credit-summary-grid{grid-template-columns:repeat(4,minmax(140px,1fr));gap:13px;margin-bottom:18px;display:grid}.credit-bills,.credit-transactions{margin-bottom:18px}.bill-card{border-top:1px solid #f1f0f5;grid-template-columns:1fr auto;align-items:center;gap:18px;padding:16px 0;display:grid}.bill-card:first-of-type{border-top:0}.bill-amount{text-align:right;align-items:center;gap:12px;display:flex}.bill-amount>strong{font-size:18px}.empty-hint{background:#fafafe;border:1px dashed #dedce9;border-radius:12px;padding:18px}.empty-hint p{margin:7px 0 0;line-height:1.7}@media (width<=760px){.credit-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bill-card{grid-template-columns:1fr}.bill-amount{text-align:left;justify-content:space-between}.credit-bills .panel-head{gap:12px}.credit-bills .panel-head .link{white-space:nowrap}}.secondary-add{color:#6659e8;box-shadow:none;background:#f4f2ff}.credit-flow-head{align-items:center}.credit-flow-summary{color:#858591;background:#f8f7fc;border-radius:10px;align-items:center;gap:18px;margin:-6px 0 8px;padding:10px 13px;font-size:12px;display:flex}.credit-flow-summary b{color:#d15b5b}.credit-flow-summary b.income,.summary-card strong.income{color:#1daf78}.credit-tx.repayment .tx-icon{color:#168b61;background:#e9faf4}.flow-tag{border-radius:5px;margin-right:6px;padding:2px 6px;font-size:10px;font-style:normal;font-weight:600}.spend-tag{color:#c65353;background:#fff0f0}.repayment-tag{color:#168b61;background:#e9faf4}@media (width<=760px){.credit-flow-head{gap:12px;display:grid}.credit-flow-head .period-switch{justify-content:space-between}.credit-flow-summary{justify-content:space-between;gap:8px}.credit-actions .secondary-add{order:2}.credit-actions .repay-button{order:3}.credit-hero .credit-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.credit-hero .credit-actions button{white-space:nowrap;justify-content:center;width:100%;min-height:44px;padding:10px 8px}.credit-actions .secondary-add,.credit-actions .repay-button{order:initial}.credit-tx .tx-main{min-width:0}.credit-tx-meta{flex-wrap:wrap;align-items:center;gap:4px;line-height:1.45;display:flex}.credit-tx-meta time{white-space:nowrap}.credit-tx .tx-right{flex:none}.credit-tx .tx-right span{white-space:nowrap}}.current-credit-bills{margin-bottom:24px}.current-bill-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;display:grid}.current-bill-card{cursor:pointer;background:linear-gradient(135deg,#fff,#faf9ff);border:1px solid #eceaf4;border-radius:15px;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;padding:16px;display:grid}.current-bill-card:hover{border-color:#d8d3ff;box-shadow:0 8px 24px #5448a90d}.current-bill-card>div:first-child{min-width:0}.current-bill-card p{margin:5px 0 0;font-size:12px}.current-bill-amount{text-align:right}.current-bill-amount strong{color:#ef5361;font-variant-numeric:tabular-nums;font-size:20px;display:block}.current-bill-amount span{color:#ef5361;font-size:12px}.current-bill-card.paid .current-bill-amount strong,.current-bill-card.paid .current-bill-amount span{color:#22a879}.current-bill-detail{color:#747184;border-top:1px solid #f0eef5;flex-wrap:wrap;grid-column:1/-1;gap:14px;padding-top:10px;font-size:12px;display:flex}@media (width<=760px){.current-credit-bills{padding:16px 14px}.current-bill-grid{grid-template-columns:1fr}.current-bill-card{padding:14px}.current-bill-amount strong{font-size:18px}}.credit-back{color:#6659e8;cursor:pointer;background:#f4f2ff;border:0;border-radius:10px;align-items:center;gap:4px;padding:8px 11px;font:600 13px inherit;display:inline-flex}@media (width<=760px){main.credit-page{padding:20px 14px calc(92px + env(safe-area-inset-bottom));background:#f6f7fb}.credit-page-header{align-items:center;margin-bottom:16px;padding:0 2px}.credit-page-header .eyebrow{margin-bottom:4px}.credit-page-header h1{letter-spacing:-.8px;font-size:27px}.credit-back{min-height:38px;padding:8px 10px}.credit-page .credit-hero{color:#fff;background:linear-gradient(135deg,#6758ea 0%,#786bf0 55%,#9286f5 100%);border:0;border-radius:20px;padding:19px 18px;position:relative;overflow:hidden;box-shadow:0 12px 28px #6659e82b}.credit-page .credit-hero:after{content:"";pointer-events:none;border:30px solid #ffffff12;border-radius:50%;width:150px;height:150px;position:absolute;top:-82px;right:-74px}.credit-page .credit-hero .muted{color:#e3e0ff;margin-bottom:5px}.credit-page .credit-hero h2{letter-spacing:-.3px;margin:0;font-size:20px}.credit-page .credit-hero .credit-actions{z-index:1;grid-template-areas:"spend repay""bill installment";gap:9px;margin-top:18px;position:relative}.credit-action-spend{grid-area:spend}.credit-action-repay{grid-area:repay}.credit-action-bill{grid-area:bill}.credit-action-installment{grid-area:installment}.credit-page .credit-actions button{min-height:45px;box-shadow:none;border:1px solid #ffffff30;border-radius:12px;font-size:13px}.credit-page .credit-action-spend{color:#5f51dc;background:#fff;border-color:#fff}.credit-page .credit-action-repay{color:#fff;background:#25b984;border-color:#5dd3aa}.credit-page .credit-action-bill,.credit-page .credit-action-installment{color:#fff;background:#ffffff16;border-color:#ffffff38}.credit-page .credit-summary-grid{gap:10px;margin:14px 0}.credit-page .summary-card{border:0;border-radius:16px;align-content:center;min-height:88px;padding:14px 15px;box-shadow:0 3px 12px #30304a0a}.credit-page .summary-card p{margin-bottom:3px;font-size:12px}.credit-page .summary-card strong{letter-spacing:-.6px;font-size:20px}.credit-page .credit-transactions,.credit-page .credit-bills,.credit-page .credit-installments{border:0;border-radius:18px;padding:18px 15px;box-shadow:0 3px 14px #30304a0a}.credit-page .credit-flow-head{margin-bottom:14px}.credit-page .credit-flow-head h2{font-size:19px}.credit-page .credit-flow-head .muted{margin-bottom:0;line-height:1.55}.credit-page .period-switch{grid-template-columns:40px 1fr 40px;gap:8px;width:100%;display:grid}.credit-page .period-arrow{border-radius:11px;width:40px;height:40px}.credit-page .period-picker{border-radius:11px;justify-content:center;min-width:0;padding:5px 10px}.credit-page .period-picker .dropdown-trigger{padding:4px;font-size:14px}.credit-page .credit-flow-summary{border-radius:11px;grid-template-columns:1fr 1fr auto;gap:8px;margin:0 0 4px;padding:11px 12px;display:grid}.credit-page .credit-flow-summary span{white-space:nowrap}.credit-page .credit-tx{grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:14px 0;display:grid}.credit-page .credit-tx .tx-icon{border-radius:13px;width:42px;height:42px;font-size:13px}.credit-page .credit-tx .tx-main{gap:6px}.credit-page .credit-tx .tx-main>strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.credit-page .credit-tx-meta{gap:4px;font-size:11px}.credit-page .flow-tag{margin-right:1px;padding:2px 5px}.credit-page .credit-tx .tx-right{gap:6px}.credit-page .credit-tx .tx-right>strong{font-size:14px}.credit-page .credit-tx-balance{white-space:nowrap}.credit-page .bill-card{padding:14px 0}.credit-page .empty-hint{border-radius:12px;padding:15px}.credit-page .mobile-nav{padding-bottom:env(safe-area-inset-bottom);height:calc(68px + env(safe-area-inset-bottom))}}@media (width<=400px){main.credit-page{padding-left:11px;padding-right:11px}.credit-page .credit-hero{padding:17px 14px}.credit-page .credit-actions button{padding:9px 5px;font-size:12px}.credit-page .summary-card{min-height:82px;padding:12px}.credit-page .summary-card strong{font-size:18px}.credit-page .credit-transactions{padding-left:12px;padding-right:12px}.credit-page .credit-tx{grid-template-columns:38px minmax(0,1fr) auto;gap:8px}.credit-page .credit-tx .tx-icon{width:38px;height:38px}.credit-page .credit-tx-balance{font-size:10px}.credit-page .credit-flow-summary{padding:10px 9px;font-size:11px}}.dashboard-account-icon{display:none}@media (width<=760px){.dashboard-page .dashboard-accounts{scroll-snap-type:x proximity;overscroll-behavior-inline:contain;gap:10px;margin:12px -16px 17px;padding:2px 16px 8px;scroll-padding-left:16px;display:flex;overflow-x:auto;-webkit-mask-image:none;mask-image:none}.dashboard-page .dashboard-accounts::-webkit-scrollbar{display:none}.dashboard-page .dashboard-account{scroll-snap-align:start;background:linear-gradient(145deg,#fff,#fbfbfe);border:0;border-radius:16px;flex:0 0 148px;min-width:148px;min-height:88px;padding:13px 14px;box-shadow:0 4px 15px #30304a0b}.dashboard-page .dashboard-account:active{transform:scale(.985)}.dashboard-page .dashboard-account .account-top{gap:8px;min-width:0;margin:0 0 12px}.dashboard-page .dashboard-account .dot,.dashboard-page .dashboard-account .more{display:none}.dashboard-page .dashboard-account-icon{border-radius:9px;flex:none;place-items:center;width:28px;height:28px;display:grid}.dashboard-page .dashboard-account-icon svg{width:15px;height:15px}.dashboard-page .dashboard-account-name{text-overflow:ellipsis;white-space:nowrap;color:#666774;min-width:0;font-size:12px;font-weight:600;overflow:hidden}.dashboard-page .dashboard-account>strong{letter-spacing:-.45px;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:17px;display:block}.dashboard-page .dashboard-credit>strong{color:#d15b5b}.dashboard-page .dashboard-account .bar{display:none}}@media (width<=400px){.dashboard-page .dashboard-accounts{margin-left:-11px;margin-right:-11px;padding-left:11px;padding-right:11px;scroll-padding-left:11px}.dashboard-page .dashboard-account{flex-basis:140px;min-width:140px}}.transactions-back{color:#6659e8;cursor:pointer;background:#f4f2ff;border:0;border-radius:10px;align-items:center;gap:4px;padding:8px 11px;font:600 13px inherit;display:inline-flex}.transactions-categories{margin-bottom:18px}@media (width<=760px){main.transactions-page{padding:20px 14px calc(92px + env(safe-area-inset-bottom));background:#f6f7fb}.transactions-page header{align-items:center;margin-bottom:18px;padding:0 2px}.transactions-page header .eyebrow{margin-bottom:4px}.transactions-page header h1{font-size:27px}.transactions-back{min-height:38px}.transactions-page .tx-period{grid-template-columns:40px minmax(0,1fr) 40px;gap:8px;width:100%;margin-bottom:16px;display:grid}.transactions-page .tx-period .period-arrow{border-radius:11px;width:40px;height:40px}.transactions-page .tx-period .period-picker{background:#fff;border:1px solid #edecf2;border-radius:11px;justify-content:center;padding:5px 10px}.transactions-page .tx-period .dropdown-trigger{padding:4px;font-size:14px}.transactions-page .transactions-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.transactions-page .transactions-summary .summary-card{border:0;border-radius:16px;align-content:center;min-height:91px;padding:14px 15px;position:relative;overflow:hidden;box-shadow:0 3px 13px #30304a0a}.transactions-page .transactions-summary .summary-card:before{content:"";background:#aaa;border-radius:0 3px 3px 0;width:3px;position:absolute;top:14px;bottom:14px;left:0}.transactions-page .transactions-summary .income-card:before{background:#22b985}.transactions-page .transactions-summary .expense-card:before,.transactions-page .transactions-summary .balance-card:before{background:#e26767}.transactions-page .transactions-summary .count-card:before{background:#766af0}.transactions-page .transactions-summary .summary-card p{font-size:12px}.transactions-page .transactions-summary .summary-card strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:20px}.transactions-page .transactions-summary .income-card strong{color:#168b61}.transactions-page .transactions-categories,.transactions-page .transactions-list{border:0;border-radius:18px;padding:19px 16px;box-shadow:0 3px 14px #30304a0a}.transactions-page .transactions-categories{margin-bottom:16px}.transactions-page .transactions-categories .panel-head,.transactions-page .transactions-list .panel-head{margin-bottom:18px}.transactions-page .transactions-categories h2,.transactions-page .transactions-list h2{font-size:19px}.transactions-page .cat-bars{gap:14px}.transactions-page .cat-bar{grid-template-columns:70px minmax(70px,1fr) auto;gap:9px}.transactions-page .cat-track{height:7px}.transactions-page .cat-bar em{font-variant-numeric:tabular-nums}.transactions-page .transactions-list{margin-top:0}.transactions-page .transaction-row{grid-template-columns:42px minmax(0,1fr) auto;gap:11px;padding:14px 0;display:grid}.transactions-page .transaction-row .tx-icon{border-radius:13px;width:42px;height:42px}.transactions-page .transaction-row .tx-main{min-width:0}.transactions-page .transaction-row .tx-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.transactions-page .transaction-row .tx-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.transactions-page .transaction-row .tx-right{flex:none}.transactions-page .transaction-row .tx-right strong,.transactions-page .transaction-row .tx-right span{white-space:nowrap;font-variant-numeric:tabular-nums}.transactions-page .mobile-nav{padding-bottom:env(safe-area-inset-bottom);height:calc(68px + env(safe-area-inset-bottom))}}@media (width<=400px){main.transactions-page{padding-left:11px;padding-right:11px}.transactions-page .transactions-summary .summary-card{min-height:84px;padding:12px}.transactions-page .transactions-summary .summary-card strong{font-size:18px}.transactions-page .transactions-categories,.transactions-page .transactions-list{padding-left:13px;padding-right:13px}.transactions-page .cat-bar{grid-template-columns:58px minmax(48px,1fr) auto;gap:7px}.transactions-page .cat-bar em{font-size:10px}.transactions-page .transaction-row{grid-template-columns:38px minmax(0,1fr) auto;gap:8px}.transactions-page .transaction-row .tx-icon{width:38px;height:38px}}.transactions-overview{color:#fff;background:linear-gradient(135deg,#6154df 0%,#7669eb 52%,#8e82f5 100%);border-radius:20px;margin-bottom:16px;padding:20px 21px;position:relative;overflow:hidden;box-shadow:0 13px 30px #6659e82b}.transactions-overview:after{content:"";pointer-events:none;border:34px solid #ffffff0f;border-radius:50%;width:180px;height:180px;position:absolute;top:-100px;right:-88px}.transactions-overview-head{z-index:1;justify-content:space-between;align-items:end;margin-bottom:18px;display:flex;position:relative}.transactions-overview-head p{color:#dedaff;margin:0 0 4px;font-size:12px}.transactions-overview-head h2{color:#fff;margin:0;font-size:19px}.transactions-overview-head>span{color:#eeecff;background:#ffffff18;border-radius:8px;padding:5px 9px;font-size:11px}.transactions-overview-grid{z-index:1;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:relative}.overview-metric{border-left:1px solid #ffffff25;padding:2px 17px}.overview-metric:first-child{border-left:0;padding-left:0}.overview-metric p{color:#dcd8ff;margin:0 0 7px;font-size:12px}.overview-metric strong{letter-spacing:-.5px;color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:20px}.overview-metric strong.neg{color:#ffd1d1}.overview-metric strong.income{color:#bfffe5}.account-balance{gap:4px;display:grid}.account-balance>span{color:#a1a1ad;font-size:11px;display:none}.account-balance>strong{letter-spacing:-.7px;font-size:22px}@media (width<=760px){.transactions-page .transactions-summary{display:none}.transactions-page .transactions-overview{border-radius:19px;margin-bottom:16px;padding:19px 18px}.transactions-page .transactions-overview-head{margin-bottom:17px}.transactions-page .transactions-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:0}.transactions-page .overview-metric{border-left:1px solid #fff2;padding:3px 14px 15px}.transactions-page .overview-metric:nth-child(odd){border-left:0;padding-left:0}.transactions-page .overview-metric:nth-child(2n){padding-right:0}.transactions-page .overview-metric:nth-child(n+3){border-top:1px solid #fff2;padding-top:15px;padding-bottom:2px}.transactions-page .overview-metric strong{font-size:20px}main.accounts-page{padding:20px 14px calc(92px + env(safe-area-inset-bottom));background:#f6f7fb}.accounts-page header{margin-bottom:18px;padding:0 2px}.accounts-page .account-add-button{border-radius:13px;justify-content:center;width:100%;min-height:44px;margin-bottom:15px}.accounts-page .account-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:15px}.accounts-page .account-summary .summary-card{border:0;border-radius:15px;align-content:center;min-height:82px;box-shadow:0 3px 12px #30304a0a}.accounts-page .accounts-list{grid-template-columns:1fr;gap:11px;margin:0;display:grid;overflow:visible;-webkit-mask-image:none;mask-image:none}.accounts-page .account-detail-card{background:#fff;border:0;border-radius:17px;min-width:0;padding:16px 16px 13px;position:relative;overflow:hidden;box-shadow:0 4px 16px #30304a0b}.accounts-page .account-detail-card:before{content:"";background:#766af0;border-radius:0 3px 3px 0;width:3px;position:absolute;top:16px;bottom:16px;left:0}.accounts-page .account-credit-card:before{background:#e26767}.accounts-page .account-loan-card:before{background:#e5a226}.accounts-page .account-detail-card .account-top{gap:8px;min-width:0;margin:0 0 13px}.accounts-page .account-detail-card .account-name{white-space:nowrap;text-overflow:ellipsis;color:#4d4d58;flex:1;min-width:0;font-size:14px;font-weight:600;overflow:hidden}.accounts-page .account-detail-card .account-name svg{width:17px;height:17px}.accounts-page .account-detail-card .more{color:#9695a2;white-space:nowrap;background:#f6f5fa;border-radius:7px;flex:none;margin-left:6px;padding:4px 7px;font-size:10px}.accounts-page .account-balance{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.accounts-page .account-balance>span{white-space:nowrap;display:block}.accounts-page .account-balance>strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:20px}.accounts-page .account-credit-card .account-balance>strong,.accounts-page .account-loan-card .account-balance>strong{color:#d15b5b}.accounts-page .account-detail-card .bar{display:none}.accounts-page .account-meta{border-top:1px solid #f1f0f5;margin-top:12px;padding-top:11px}.accounts-page .account-meta span{white-space:nowrap}.accounts-page .account-actions{justify-content:flex-end;margin-top:8px;padding-top:8px}.accounts-page .account-actions .link{background:#f7f6fb;border-radius:8px;min-height:30px;padding:5px 10px}.accounts-page .mobile-nav{padding-bottom:env(safe-area-inset-bottom);height:calc(68px + env(safe-area-inset-bottom))}}@media (width<=400px){.transactions-page .transactions-overview{padding:17px 15px}.transactions-page .overview-metric{padding-left:11px;padding-right:11px}.transactions-page .overview-metric strong{font-size:18px}main.accounts-page{padding-left:11px;padding-right:11px}.accounts-page .account-detail-card{padding-left:14px;padding-right:14px}}.modal-backdrop{overscroll-behavior:contain;touch-action:auto}.modal-backdrop .modal{overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}@media (width<=760px){html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;background:#f6f7fb}body{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent;background:#f6f7fb;min-width:320px}button,.account,.report-item{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:active,.report-item:active{filter:brightness(.97)}button:disabled{opacity:.58;cursor:not-allowed}main{padding:20px 14px calc(96px + env(safe-area-inset-bottom))}main>header{gap:12px;min-width:0;margin-bottom:20px;padding:0 2px}main>header>div{min-width:0}main>header h1{text-overflow:ellipsis;white-space:nowrap;font-size:27px;line-height:1.2;overflow:hidden}.desktop-quick-add{display:none}.mobile-nav{height:calc(68px + env(safe-area-inset-bottom));padding:0 4px env(safe-area-inset-bottom);-webkit-backdrop-filter:saturate(180%)blur(18px);z-index:50;background:#fffffff2;border-top-color:#e9e8ef;box-shadow:0 -7px 24px #27233b0b}.mobile-nav button{border-radius:12px;flex:1;min-width:0;height:58px;position:relative}.mobile-nav button.active:before{display:none}.mobile-nav .mobile-nav-add{border:3px solid #fff;flex:0 0 50px;width:50px;height:50px;margin-top:-17px;box-shadow:0 7px 18px #6659e852}.mobile-nav .mobile-nav-add:before{display:none}.period-arrow{border-radius:11px;width:40px;min-width:40px;height:40px}.dropdown.field .dropdown-trigger,.date-trigger,.account-form input,.account-form select,.sheet-form input,.settings input[type=text],.settings input[type=password],.settings input[type=time],.settings select{min-height:46px;font-size:16px}.dropdown-item{align-items:center;min-height:42px;font-size:14px;display:flex}.dropdown-menu{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-height:min(42dvh,320px)}.date-pop{border-radius:16px;width:auto;max-width:380px;margin:auto;padding:14px;position:fixed;top:50%;left:12px;right:12px;transform:translateY(-50%);box-shadow:0 24px 70px #20202a42}.date-nav-btn{border-radius:10px;width:40px;height:40px}.date-cell{border-radius:10px;height:40px;font-size:13px}.date-foot .link{min-height:40px;padding:8px 12px}.modal-backdrop{background:#20202a73;place-items:end center;padding:0}.modal{width:100%;max-width:560px;max-height:calc(100dvh - max(14px,env(safe-area-inset-top)));padding:20px 18px calc(18px + env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;margin:0;box-shadow:0 -16px 48px #20202a30}.modal:before{content:"";background:#dedde5;border-radius:3px;width:38px;height:4px;margin:-9px auto 14px;display:block}.modal-close{flex:none;width:40px;height:40px}.form-title{z-index:6;background:#fff;margin:-1px -2px 16px;padding:1px 2px 10px;position:sticky;top:-20px}.modal-actions{bottom:calc(-18px - env(safe-area-inset-bottom));z-index:5;margin:4px -18px calc(-18px - env(safe-area-inset-bottom));padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(#ffffffeb,#fff 20%);border-top:1px solid #efedf3;position:sticky}.modal-actions>*{flex:1;justify-content:center;min-height:46px}.sheet-backdrop{overscroll-behavior:contain;touch-action:auto;height:100dvh}.sheet{max-height:calc(100dvh - max(14px,env(safe-area-inset-top)));padding:8px 18px calc(18px + env(safe-area-inset-bottom));overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}.sheet-head{z-index:6;background:#fff;margin:0 -2px 14px;padding:8px 2px 9px;position:sticky;top:-8px}.sheet-handle{z-index:7;position:sticky;top:8px}.quick-kind button{min-height:44px}.sheet-actions{bottom:calc(-18px - env(safe-area-inset-bottom));z-index:5;margin:6px -18px calc(-18px - env(safe-area-inset-bottom));padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(#ffffffeb,#fff 20%);border-top:1px solid #efedf3;position:sticky}.sheet-actions>*{min-height:46px}.panel-head .link,.row-actions .link,.row-actions .danger-link,.credit-bills .panel-head .link{border-radius:9px;min-height:40px;padding:8px 10px}.tx-main{min-width:0}.tx-main>strong,.tx-main>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tx-right{flex:none}.tx-right strong,.tx-right span{white-space:nowrap;font-variant-numeric:tabular-nums}.total,.account strong,.summary-card strong,.metric-card strong,.donut strong{font-variant-numeric:tabular-nums}.dashboard-page .dashboard-account>strong{text-overflow:ellipsis;max-width:100%;overflow:hidden}.bank-page,.loan-page,.reports-page,.analysis-page,.settings-page,.dashboard-page{background:#f6f7fb}.bank-page .bank-detail,.loan-page>.panel,.reports-page .panel,.analysis-page .panel,.settings-page .panel,.dashboard-page .panel{border:0;box-shadow:0 3px 14px #30304a0a}.bank-page .bank-detail{border-radius:18px;padding:18px 15px}.bank-page .period-filter{gap:10px;margin-bottom:20px}.bank-page .period-filter .filter-group{min-width:0}.bank-page .tx{grid-template-columns:42px minmax(0,1fr) auto;gap:11px;padding:14px 0;display:grid}.bank-page .tx-icon{border-radius:13px;width:42px;height:42px}.loan-page .credit-hero{border-radius:18px;padding:18px 16px}.loan-page .credit-actions button{justify-content:center;min-height:44px}.loan-page .installment-card{padding:15px 0}.loan-page .installment-card .muted{line-height:1.7}.loan-page .row-actions{justify-content:flex-end}.settings-page .settings,.analysis-page .panel,.reports-page .report-list{border-radius:18px;padding:18px 16px}.settings-page .settings h2:not(:first-child){border-top:1px solid #f0eff4;margin-top:28px;padding-top:23px}.settings-page .settings .add{justify-content:center;width:100%;min-height:46px}.settings-page .settings .check{min-height:44px}.settings-page .settings .check input{width:20px;height:20px}.analysis-page .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-page .month-chart{overscroll-behavior-inline:contain;grid-template-columns:repeat(6,minmax(48px,1fr));overflow-x:auto}.analysis-page .ai-question{min-height:96px;font-size:16px}.analysis-page .ai-actions .add{justify-content:center;width:100%;min-height:46px}.analysis-page .md{overflow-wrap:anywhere;padding:16px 14px;font-size:14px}.analysis-page .md-head{padding:14px}.reports-page .report-item{min-height:58px;padding:12px 13px}.reports-page .report-item>div{min-width:0}.reports-page .report-item strong,.reports-page .report-item small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}@media (width<=400px){main{padding-left:11px;padding-right:11px}.analysis-page .metric-card{padding:12px}.analysis-page .metric-card strong{font-size:16px}.bank-page .tx{grid-template-columns:38px minmax(0,1fr) auto;gap:8px}.bank-page .tx-icon{width:38px;height:38px}}@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<=760px){.detail-back{white-space:nowrap;background:#f0efff;border-radius:10px;align-items:center;min-height:40px;padding:9px 11px;font-weight:600;display:inline-flex}.modal form>.add:last-child{justify-content:center;width:100%;min-height:46px;margin-top:4px}.transactions-page .transactions-overview{isolation:isolate;contain:layout paint}.transactions-page .transactions-overview-head,.transactions-page .transactions-overview-grid{width:100%;min-width:0;margin-left:0;transform:none}.transactions-page .transactions-overview-head>div,.transactions-page .overview-metric{min-width:0;overflow:hidden}.transactions-page .overview-metric strong{text-overflow:ellipsis;max-width:100%;display:block;overflow:hidden}}.account-page-actions{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.account-page-actions .account-add-button{margin-bottom:0}.bank-loans{max-width:1000px;margin-bottom:18px}.loan-destination-hint{background:#f7f6ff;border-radius:9px;margin:-8px 0 0;padding:10px 12px;color:#6659e8!important}@media (width<=760px){.account-page-actions{grid-template-columns:1fr 1fr;display:grid}.accounts-page .account-page-actions .account-add-button,.accounts-page .account-page-actions .account-loan-button{border-radius:13px;justify-content:center;width:100%;min-height:44px;margin:0}.bank-loans .panel-head{align-items:flex-start;gap:12px}.bank-loans .panel-head .add{white-space:nowrap}.bank-loans .installment-card{grid-template-columns:1fr}.bank-loans .row-actions{justify-content:flex-start}}
