:root{--navy:#11243e;--navy2:#162e4b;--teal:#1c9083;--teal-dark:#147467;--bg:#f5f7fb;--paper:#fff;--border:#e8edf2;--line:#edf1f6;--text:#18283e;--muted:#8090a3;--red:#d75f68;--green:#128774;--amber:#df9b42;--shadow:0 8px 26px rgba(26,45,75,.045);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-synthesis:none;box-sizing:border-box;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.47;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(31,154,139,.29);outline-offset:2px}svg{flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:29px;line-height:1.23;letter-spacing:-.9px;margin:0 0 8px}h2{font-size:17px;letter-spacing:-.2px;margin:0}h3{font-size:14px;margin:0}p{color:var(--muted);line-height:1.5}a{color:var(--teal)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.muted{color:var(--muted)}.positive{color:#168b79!important}.negative{color:#d96771!important}.loading-start,.startup-error{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted)}.startup-error{padding:20px;text-align:center}.startup-error h2{color:var(--text)}
.shell{min-height:100vh;display:flex}.sidebar{width:258px;position:fixed;inset:0 auto 0 0;padding:31px 18px 26px;background:var(--navy);color:#e8f1f7;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px}.brand-icon{height:43px;width:43px;border-radius:13px;background:var(--teal);color:#fff;display:grid;place-items:center}.brand-name{font-size:21px;font-weight:760;letter-spacing:-.7px;color:#fff;line-height:1.1}.brand-dot{color:#41c6b3}.brand-sub{font-size:10px;color:#9ab0c4;letter-spacing:1.25px;margin-top:5px;text-transform:uppercase}.sidebar .brand{padding:4px 11px 36px}.side-caption{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#778fa9;padding:0 15px;margin:12px 0 12px}.tools-caption{margin-top:30px}.sidebar-nav{display:grid;gap:4px}.nav-item{background:transparent;border:0;text-align:left;padding:13px 14px;display:flex;align-items:center;gap:14px;color:#a9bed0;border-radius:9px;font-size:13px;font-weight:600}.nav-item:hover{background:#223b56;color:white}.nav-item.active{background:#264964;color:#d9fff5}.sidebar .nav-item.active:before{content:"";position:absolute;left:18px;margin-top:0;width:3px;height:24px;border-radius:3px;background:#45cdb7;transform:translateX(-8px)}.sidebar-bottom{margin-top:auto;padding:0 12px}.local-tag{display:flex;align-items:center;gap:9px;padding:11px 9px;border:1px solid #37516b;border-radius:9px;color:#c8e8dd;font-size:11px}.sidebar-foot{font-size:10px;color:#8fa3b8;margin:12px 3px;line-height:1.4}.app-content{margin-left:258px;min-width:0;flex:1}.topbar{height:76px;border-bottom:1px solid #e9edf1;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 45px}.crumb{font-size:11px;color:#94a0af;letter-spacing:.9px;font-weight:650}.crumb span{margin:0 11px;color:#cbd3dc}.crumb strong{color:#4e6179;font-weight:650}.top-actions{display:flex;align-items:center;gap:13px}.offline-label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:650;color:#178c7d;background:#edf9f5;padding:8px 13px;border-radius:20px}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border:0;background:transparent;color:#6b7d90;border-radius:9px}.icon-button:hover{background:#f1f5f8;color:var(--text)}.avatar{width:34px;height:34px;border-radius:50%;background:#d4e5e9;color:#3f6980;font-weight:750;font-size:11px;display:grid;place-items:center}.main-content{max-width:1440px;margin:auto;padding:38px 44px 70px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px}.page-heading p{font-size:13px;margin:8px 0 0}.btn{border:0;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:41px;padding:10px 16px;border-radius:9px;font-size:12px;font-weight:750;white-space:nowrap}.btn.primary{background:var(--teal);color:white;box-shadow:0 4px 11px rgba(24,145,130,.12)}.btn.primary:hover{background:var(--teal-dark)}.btn.outline{border:1px solid #dde5eb;background:#fff;color:#435671}.btn.outline:hover{border-color:#9ab1bf;background:#f9fbfc}.btn.small{min-height:33px;padding:7px 11px;font-size:11px}.btn.full{width:100%}.btn.danger-light{background:#fff2f2;color:#be4955}.home-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-5px 0 20px}.month-picker{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--border);border-radius:9px;padding:3px 4px}.month-picker>div{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:750;min-width:135px;justify-content:center}.month-picker .icon-button{width:28px;min-width:28px;height:29px}.live-indicator{display:flex;align-items:center;gap:8px;font-size:11px;color:#8696a5}.live-indicator span{width:7px;height:7px;border-radius:50%;background:#37ae8b}
.balance-hero{height:207px;background:linear-gradient(108deg,#112743,#1c3a55);border-radius:15px;padding:30px 34px;position:relative;overflow:hidden;color:#fff;display:flex;flex-direction:column;justify-content:space-between;margin-bottom:20px}.hero-eyebrow{font-size:11px;letter-spacing:1.2px;font-weight:700;color:#c4d5e4;display:flex;align-items:center;gap:15px}.hero-eye{background:transparent;border:0;color:#adc8da;height:20px}.hero-value{font-size:39px;font-weight:760;letter-spacing:-1.4px;margin:12px 0 6px}.hero-caption{font-size:12px;color:#a8c3d5}.hero-watermark{position:absolute;top:5px;right:54px;transform:rotate(-20deg);color:#ffffff10;pointer-events:none}.hero-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff1e;padding-top:13px;z-index:1;font-size:11px;color:#aec2d2}.hero-bottom span{display:flex;gap:7px;align-items:center}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat-card{min-height:106px;display:flex;align-items:center;gap:15px;padding:20px;background:var(--paper);border:1px solid var(--border);border-radius:13px;box-shadow:var(--shadow)}.stat-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center}.stat-icon.income{color:#15947e;background:#e2f5ef}.stat-icon.expense{color:#d86b72;background:#fdf0ef}.stat-icon.save{color:#587ae6;background:#ecf0fd}.stat-card>div{display:grid;gap:8px;min-width:0}.stat-card span{font-size:11px;color:#8997a7}.stat-card strong{font-size:21px;letter-spacing:-.4px;word-break:break-word}.dashboard-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin-bottom:20px}.dashboard-grid.lower{grid-template-columns:1.2fr .8fr}.panel{background:#fff;border:1px solid var(--border);border-radius:13px;box-shadow:var(--shadow);padding:24px;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-bottom:22px}.panel-heading p{margin:6px 0 0;font-size:11px}.text-link{display:flex;align-items:center;gap:4px;background:none;border:0;color:var(--teal);font-weight:750;font-size:11px;padding:4px 0;white-space:nowrap}.text-link:hover{text-decoration:underline}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-card{border:1px solid #ebeff3;background:#fafbfd;border-radius:11px;padding:17px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:143px}.account-card:hover{border-color:#87c8bd;background:#f7fdfa}.account-icon{color:var(--teal);background:#e4f3f0;border-radius:10px;width:37px;height:37px;display:grid;place-items:center}.account-label{font-size:11px;color:#708295;margin-top:6px}.account-amount{font-size:18px;font-weight:800;letter-spacing:-.5px}.account-kind{text-transform:capitalize;font-size:10px;color:#9aabb9}.add-account{color:var(--teal);justify-content:center;align-items:center;text-align:center}.add-account strong{font-size:12px;color:var(--text)}.add-account span{font-size:11px;color:var(--muted)}.category-figure{display:flex;gap:20px;align-items:center;justify-content:center;min-height:230px}.donut{width:170px;height:170px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.donut-center{width:118px;height:118px;border-radius:50%;background:white;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px}.donut-center small{font-size:11px;color:#94a2b0}.donut-center strong{font-size:16px;letter-spacing:-.3px}.category-legend{flex:1;min-width:0;display:grid;gap:13px}.category-legend>div{display:flex;align-items:center;gap:8px;font-size:11px;min-width:0}.category-legend>div>span:nth-child(2){overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.category-legend strong{margin-left:auto}.swatch{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}.tx-list{display:grid;gap:0}.tx-row{display:flex;align-items:center;gap:13px;border-bottom:1px solid #eff2f5;padding:14px 0;min-height:71px}.tx-row:last-child{border-bottom:0}.tx-symbol{width:39px;height:39px;flex-shrink:0;border-radius:11px;background:#f1f5fa;color:#657c92;display:grid;place-items:center}.tx-symbol.income{background:#e9f7f1;color:#10927c}.tx-symbol.expense{background:#fff0ef;color:#d96b76}.tx-symbol.transfer{background:#eef3ff;color:#6684d5}.tx-title{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.tx-title strong{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tx-title span{font-size:10px;color:#8a9aab;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tx-right{display:flex;flex-direction:column;align-items:flex-end;gap:6px;white-space:nowrap}.tx-right strong{font-size:12px}.tx-right span{font-size:10px;color:#9aabba}.tx-row .subtle{min-width:23px;width:23px;height:32px;color:#a1aebb;margin-right:-8px}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#9aabba;padding:30px 10px}.small-empty{min-height:135px}.empty p{font-size:13px;color:#536c80;margin:10px 0 4px}.empty small{font-size:11px}.budget-row{display:grid;gap:10px;margin-bottom:23px}.budget-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.budget-label>span:first-child{display:flex;flex-direction:column;gap:5px}.budget-label strong{font-size:12px}.budget-label small,.budget-nums em{font-size:10px;color:#98a5b4;font-style:normal}.budget-nums{font-size:11px;font-weight:750;text-align:right}.progress-track{height:8px;border-radius:20px;background:#edf2f4;overflow:hidden}.progress-fill{height:100%;background:var(--teal);border-radius:20px}.progress-fill.warning{background:var(--amber)}.progress-fill.danger{background:var(--red)}.panel-footer{display:flex;justify-content:flex-end;margin-top:14px}
.filters{display:flex;align-items:center;gap:10px;margin-bottom:15px}.filters select{width:200px}.filters input,.filters select{height:42px;background:#f9fbfd;border:1px solid #e3e9ee;border-radius:9px;padding:0 12px;font-size:12px;min-width:0}.search-field{display:flex;align-items:center;gap:8px;flex:1;border:1px solid #e3e9ee;background:#f9fbfd;border-radius:9px;padding:0 13px;color:#8e9ca9}.search-field input{border:0!important;padding:0 0!important;flex:1;background:transparent!important}.search-field input:focus{outline:0}.list-heading{display:flex;justify-content:space-between;font-size:11px;border-bottom:1px solid var(--border);padding:12px 0;color:var(--muted)}.list-heading strong{color:var(--text)}.accounts-summary{background:linear-gradient(105deg,#112743,#23455a);border-radius:13px;padding:27px 30px;color:white;margin-bottom:23px;display:flex;flex-direction:column;gap:10px}.accounts-summary span{display:flex;align-items:center;gap:9px;color:#c4dce9;font-size:12px}.accounts-summary strong{font-size:29px;letter-spacing:-.8px}.accounts-summary small{font-size:11px;color:#b9cad8}.account-large-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.account-wide{display:flex;flex-direction:column;gap:12px;border:1px solid var(--border);border-radius:13px;background:white;min-height:202px;padding:22px}.account-wide-top{display:flex;justify-content:space-between}.account-wide>span{color:var(--muted);font-size:12px}.account-wide>strong{font-size:23px;letter-spacing:-.5px}.account-wide-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding-top:12px;margin-top:auto;font-size:11px;color:#9aa7b4;text-transform:capitalize;gap:5px}.account-wide-bottom button{border:0;background:transparent;color:var(--teal);font-size:10px;font-weight:700;display:flex;align-items:center;gap:3px;white-space:nowrap}.empty-add{border-style:dashed;align-items:center;justify-content:center;background:#fafcfc;color:var(--teal)}.empty-add strong{font-size:15px;color:var(--text)}.empty-add span{text-align:center;font-size:11px}.budget-stats .stat-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}.budget-panel{max-width:850px}.chart-bars{display:flex;align-items:end;gap:12px;height:235px;padding:8px 5px 3px;border-bottom:1px solid #e8edf2}.bar-column{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;flex:1;height:100%;gap:11px}.bar-values{height:192px;width:100%;display:flex;align-items:end;justify-content:center}.bar-outer{height:100%;display:flex;align-items:end;width:min(36px,85%);background:#f1f7f7;border-radius:7px 7px 0 0;overflow:hidden}.bar-fill{background:linear-gradient(#20a797,#168c7e);border-radius:7px 7px 0 0;width:100%;min-height:0}.bar-column>span{font-size:10px;color:#8293a5}.insights-table{margin-top:18px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;font-weight:700;color:#8a9bad;background:#f7f9fb}td,th{padding:13px;border-bottom:1px solid #eef2f5;white-space:nowrap}td:not(:first-child),th:not(:first-child){text-align:right}
.data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.feature-panel{display:flex;flex-direction:column;align-items:flex-start;min-height:247px}.feature-panel h2{margin:13px 0 9px}.feature-panel p{font-size:12px;line-height:1.65;flex:1;margin-bottom:18px}.feature-panel small{font-size:10px;color:#a2adba;margin-top:13px}.feature-icon{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;color:#2f85a8;background:#eaf4fa}.feature-icon.protected{background:#e8f5f0;color:#188f80}.feature-icon.restore{background:#f0edfc;color:#7b6ecc}.feature-icon.csv{background:#eaf2fc;color:#5686cd}.feature-icon.import{background:#fff5e8;color:#ce9846}.notice-card{border:1px solid #f2dcad;background:#fffaf0;border-radius:11px;padding:18px 20px;margin-top:20px;display:flex;gap:13px;align-items:start;color:#b48434}.notice-card div{flex:1}.notice-card strong{font-size:12px;color:#826329}.notice-card p{font-size:11px;line-height:1.6;margin:6px 0 0;color:#927c57}.settings-panel{max-width:840px;margin-bottom:18px}.settings-panel h2{margin:0 0 10px}.setting-row{padding:16px 0;display:flex;align-items:center;gap:14px;border-bottom:1px solid #edf1f4}.setting-row:last-child{border-bottom:0}.setting-icon{display:grid;place-items:center;color:#768a9c;width:32px}.setting-row div{display:flex;flex:1;flex-direction:column;gap:6px}.setting-row strong{font-size:12px}.setting-row small{font-size:11px;color:#9aa7b4}.badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:20px;background:#f0f4f7;color:#6c8092;font-size:10px;font-weight:750;text-transform:capitalize;white-space:nowrap}.badge.success{background:#e9f8f2;color:#148777}.badge.warning{background:#fff4e5;color:#bb792a}
.modal-backdrop{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:18px}.modal-scrim{position:absolute;inset:0;border:0;background:#081a32b3;cursor:default}.modal-dialog{position:relative;background:white;border-radius:17px;max-width:530px;width:100%;max-height:min(90vh,820px);overflow:auto;box-shadow:0 25px 85px #0003;padding:25px 29px;overscroll-behavior:contain}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modal-head h2{font-size:21px;letter-spacing:-.6px}.modal-desc{font-size:12px;line-height:1.65;margin:0 0 22px}.form-stack,.stack{display:flex;flex-direction:column;gap:17px}.field,.stack label{display:flex;flex-direction:column;gap:8px;color:#576b7e;font-size:11px;font-weight:700}.field input,.field select,.field textarea,.stack input,.unlock-card input{width:100%;height:43px;border-radius:9px;border:1px solid #dfe6ec;background:#fbfcfd;color:var(--text);padding:0 12px;font-size:13px;outline:none}.field textarea{height:auto;min-height:67px;padding:12px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.stack input:focus{border-color:#47aa9c;background:#fff}.field input[type=file]{height:auto;padding:11px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.amount-input{display:flex;align-items:center;gap:0;border:1px solid #dae5e8;border-radius:11px;overflow:hidden;background:#f8fbfa}.amount-input span{padding-left:14px;color:var(--teal);font-size:18px;font-weight:800}.amount-input input{border:0;font-size:23px;font-weight:760;letter-spacing:-.5px;background:transparent;height:62px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:10px;flex-wrap:wrap}.type-switch{display:flex;background:#f0f4f7;padding:4px;border-radius:10px;gap:5px}.type-switch button{flex:1;border:0;background:transparent;padding:11px 6px;border-radius:8px;font-size:12px;font-weight:700;color:#7c8998}.type-switch button.selected{background:white;color:var(--teal);box-shadow:0 2px 7px #183c5015}.check-field{display:flex;align-items:flex-start;gap:10px;font-size:12px;font-weight:550;color:#53697c;line-height:1.5}.check-field input{margin:2px 0;accent-color:var(--teal);width:16px;height:16px;flex-shrink:0}.note-box{border-radius:9px;background:#f6f9fc;display:flex;align-items:flex-start;gap:10px;padding:13px;color:#728393;font-size:11px;line-height:1.55}.import-preview{border:1px solid #cce7dd;background:#f5fbf8;border-radius:10px;padding:12px;font-size:12px;color:#57786c}.import-samples{margin:10px 0;display:grid;gap:7px;font-size:10px}.import-preview details{font-size:11px}.category-manage{max-height:220px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:20px}.category-manage div{border:1px solid var(--border);padding:11px;border-radius:8px;display:flex;justify-content:space-between;align-items:center;gap:5px;font-size:11px}.category-manage .badge{font-size:9px;padding:4px 6px}.trash-list{max-height:340px;overflow:auto}.trash-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid var(--border);font-size:12px}.trash-row>span{display:flex;flex-direction:column;gap:5px}.trash-row small{color:#91a0b0;font-size:10px}
.auth-mode{background:#f4f7fa}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;gap:50px;max-width:1150px;margin:auto;padding:65px 35px;align-items:center}.auth-intro{padding:30px}.auth-brand{margin-bottom:75px}.auth-brand .brand-name,.unlock-card .brand-name{color:var(--navy)}.auth-intro h1{font-size:50px;line-height:1.15;letter-spacing:-2px;margin-bottom:25px}.auth-intro h1 span{color:var(--teal)}.auth-intro>p{font-size:16px;max-width:420px;line-height:1.8}.auth-benefits{display:flex;flex-direction:column;gap:17px;margin-top:38px;color:#587082;font-size:12px;font-weight:700}.auth-benefits span{display:flex;align-items:center;gap:10px}.auth-benefits svg{color:var(--teal)}.auth-card,.unlock-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:40px;box-shadow:0 14px 50px #2132470b}.auth-card .auth-icon,.unlock-card .auth-icon{width:56px;height:56px;background:#e4f5ef;border-radius:15px;display:grid;place-items:center;color:var(--teal);margin-bottom:23px}.auth-card h2,.unlock-card h2{font-size:26px;letter-spacing:-.6px;margin-bottom:8px}.auth-card>p,.unlock-card>p{font-size:13px;line-height:1.6;margin-bottom:24px}.auth-warning{font-size:11px;background:#fff9ee;border-radius:9px;color:#927957;padding:13px;line-height:1.5;margin-top:17px;display:flex;gap:9px}.unlock-screen{min-height:100vh;display:grid;place-items:center;padding:25px}.unlock-card{width:min(420px,100%);display:flex;flex-direction:column;align-items:center;text-align:center}.unlock-card .auth-icon{margin-bottom:15px}.unlock-card .brand-name{margin-bottom:30px}.unlock-card form{display:grid;gap:14px;width:100%;margin:5px 0 23px}.unlock-card input{text-align:center;letter-spacing:3px;font-size:17px;height:55px}.unlock-card small{font-size:11px;color:#9aa7b7}.centered{text-align:center}.working button[type=submit]{pointer-events:none;opacity:.6}.toast{position:fixed;bottom:26px;right:24px;background:#173c3d;color:#fff;padding:13px 18px;border-radius:10px;z-index:100;font-size:12px;box-shadow:0 10px 32px #11243e35;max-width:min(420px,calc(100vw - 32px))}.toast.toast-error{background:#9d3e49}.bottom-nav,.fab{display:none}.backup-ribbon{position:fixed;bottom:15px;right:25px;display:flex;align-items:center;gap:9px;background:#fff4d8;color:#835f23;border:1px solid #f4dfad;padding:11px 14px;border-radius:9px;font-size:11px;font-weight:700;box-shadow:var(--shadow);z-index:15;cursor:pointer}
@media(max-width:1210px){.sidebar{width:225px}.app-content{margin-left:225px}.main-content{padding:32px 27px}.topbar{padding:0 27px}.category-figure{gap:11px}.donut{width:140px;height:140px}.donut-center{width:96px;height:96px}.donut-center strong{font-size:13px}.account-large-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:950px){.sidebar{width:72px;padding:22px 10px}.sidebar .brand{padding:5px 4px 35px;justify-content:center}.sidebar .brand>div:nth-child(2),.side-caption,.sidebar-bottom,.sidebar .nav-item span{display:none}.sidebar .nav-item{justify-content:center;padding:14px}.sidebar .nav-item.active:before{left:9px}.sidebar-nav{gap:6px}.tools-caption{margin-top:20px}.app-content{margin-left:72px}.dashboard-grid,.dashboard-grid.lower{grid-template-columns:1fr}.category-figure{justify-content:flex-start;gap:40px}.data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body{font-size:13px}.sidebar{display:none}.app-content{margin-left:0;width:100%;padding-bottom:83px}.topbar{height:64px;padding:0 18px}.crumb{font-size:10px;max-width:190px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.top-actions{gap:4px}.top-actions .offline-label{display:none}.top-actions .avatar{width:30px;height:30px}.main-content{padding:23px 17px 50px}.page-heading{margin-bottom:21px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.head-action{padding:10px;width:41px;overflow:hidden;font-size:0;gap:0;flex-shrink:0}.head-action svg{width:20px;height:20px}.home-toolbar{margin-bottom:16px}.live-indicator{font-size:10px}.balance-hero{height:198px;padding:25px 24px;margin-bottom:13px}.hero-value{font-size:32px}.hero-watermark{right:15px}.hero-bottom{font-size:9px}.stat-grid{gap:8px;margin-bottom:15px}.stat-card{padding:15px 11px;min-height:91px;gap:8px;flex-direction:column;align-items:flex-start}.stat-icon{width:31px;height:31px;border-radius:8px}.stat-icon svg{width:16px;height:16px}.stat-card span{font-size:10px}.stat-card strong{font-size:14px}.stat-card>div{gap:7px}.dashboard-grid{gap:15px;margin-bottom:15px}.panel{padding:19px 16px}.account-grid{gap:10px}.account-card{padding:13px;min-height:137px}.account-amount{font-size:15px}.category-figure{gap:17px;min-height:195px}.donut{width:138px;height:138px}.donut-center{width:97px;height:97px}.category-legend>div{font-size:10px;gap:6px}.category-legend{gap:10px}.tx-row{gap:9px}.tx-symbol{width:34px;height:34px;border-radius:10px}.tx-title strong,.tx-right strong{font-size:11px}.tx-title span,.tx-right span{font-size:9px}.tx-row .subtle{margin-right:-5px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#fff;border-top:1px solid var(--border);padding:9px 5px calc(8px + env(safe-area-inset-bottom));z-index:20;box-shadow:0 -6px 22px #14244008}.bottom-nav .nav-item{font-size:9px;flex:1;text-align:center;justify-content:center;flex-direction:column;gap:4px;color:#9aabba;padding:5px 0}.bottom-nav .nav-item.active{color:var(--teal);background:transparent}.bottom-nav .nav-item.active svg{stroke-width:2.5}.fab{display:grid;place-items:center;position:fixed;right:20px;bottom:calc(85px + env(safe-area-inset-bottom));width:55px;height:55px;background:var(--teal);color:white;border:0;border-radius:17px;z-index:18;box-shadow:0 9px 26px #1c90834d}.backup-ribbon{right:14px;left:14px;bottom:calc(145px + env(safe-area-inset-bottom));justify-content:center;text-align:center;font-size:10px;z-index:16}.toast{bottom:calc(95px + env(safe-area-inset-bottom));left:15px;right:15px}.account-large-grid,.data-grid{grid-template-columns:1fr}.account-wide{min-height:183px}.accounts-summary{padding:22px}.filters{flex-wrap:wrap}.filters .search-field{width:100%;flex:1 0 100%}.filters select{flex:1;width:auto}.auth-layout{display:flex;flex-direction:column;gap:20px;padding:27px 18px}.auth-intro{padding:3px}.auth-brand{margin-bottom:29px}.auth-intro h1{font-size:34px;letter-spacing:-1.1px}.auth-intro>p{font-size:12px}.auth-benefits{display:none}.auth-card{width:100%;padding:26px 23px}.unlock-card{padding:35px 25px}.modal-backdrop{padding:8px;align-items:end}.modal-dialog{max-height:93dvh;border-radius:19px 19px 8px 8px;padding:22px 20px calc(24px + env(safe-area-inset-bottom));width:100%}.modal-head h2{font-size:19px}.field-grid{grid-template-columns:1fr}.type-switch button{font-size:11px}.category-manage{grid-template-columns:1fr 1fr}.setting-row{gap:7px}.setting-row>div{gap:4px}.setting-row .btn.small{font-size:10px}.budget-nums{font-size:10px}.budget-stats .stat-card{gap:8px}.table-scroll{margin:0 -7px}}
@media(max-width:380px){.category-figure{flex-direction:column}.category-legend{width:100%}.category-legend>div{justify-content:space-between}.hero-value{font-size:27px}.stat-card strong{font-size:12px}.month-picker>div{min-width:117px}}
.transaction-detail{display:flex;flex-direction:column;align-items:center;gap:12px;padding:14px 0 23px;border-bottom:1px solid var(--border);margin-bottom:15px}.transaction-detail .tx-symbol{width:54px;height:54px;border-radius:15px}.transaction-detail>strong{font-size:15px}.transaction-detail .detail-amount{font-size:29px;font-weight:800;letter-spacing:-.6px}.transaction-detail p{font-size:12px;text-align:center;margin:0}
