:root{color-scheme:dark;--bg:#090d13;--panel:#111822;--panel2:#151e2a;--line:#24303e;--muted:#98a6b9;--text:#f3f6fc;--blue:#3c84ff;--blue-soft:#182e51;--green:#4bdaa2;--red:#ff8085;--amber:#f4c371;--radius:22px;--space-accent:var(--blue);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5;letter-spacing:-.012em}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:none;border:0}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #89baff;outline-offset:4px}a{color:var(--blue)}button svg{pointer-events:none}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:31px;line-height:1.2;letter-spacing:-.05em}h2{font-size:18px;letter-spacing:-.03em;font-weight:650}h3{font-size:15px;font-weight:600}.muted{color:var(--muted)}.small{font-size:12px}.positive{color:var(--green)}.negative{color:var(--red)}.amber{color:var(--amber)}.tabular{font-variant-numeric:tabular-nums}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.flex{display:flex;align-items:center}.between{display:flex;align-items:center;justify-content:space-between;gap:12px}.stack{display:grid;gap:18px}.empty{text-align:center;padding:35px 20px;color:var(--muted)}.empty .icon{width:30px;height:30px;margin-bottom:12px}.empty strong{display:block;color:var(--text);font-size:15px;margin-bottom:6px}.empty p{max-width:360px;margin:auto}.empty .button{margin-top:18px}.pill{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;font-size:11px;border-radius:8px;background:#1b2939;color:#bbc9da;font-weight:550;white-space:nowrap}.pill.green{background:#133027;color:var(--green)}.pill.gold{background:#302718;color:var(--amber)}.pill.blue{background:#152f54;color:#83b4ff}.pill svg.icon{width:13px;height:13px}.icon-button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:13px;background:#121b26;position:relative;flex-shrink:0}.icon-button:hover{background:#1b2736}.icon-button.plain{background:transparent;border:0}.icon-button .dot{position:absolute;width:6px;height:6px;background:var(--blue);border-radius:50%;top:9px;right:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:12px;font-weight:600;font-size:13px;background:#1d2a3c;border:1px solid #2b3b50;color:var(--text);text-decoration:none;min-height:44px}.button:hover{filter:brightness(1.12)}.button.primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 5px 20px #1b5cc329}.button.danger{background:#362127;color:#ffacac;border-color:#65323b}.button.ghost{background:transparent}.button.wide{width:100%}.button svg{width:17px;height:17px}.text-button{font-size:12px;color:#adbcd1;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;padding:6px 0}.text-button svg{width:14px;height:14px}.text-button:hover{color:var(--text)}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;border-right:1px solid #1b2634;padding:30px 18px;background:#0d121b;z-index:30;display:flex;flex-direction:column}.logo{display:flex;align-items:center;gap:11px;font-size:27px;font-weight:650;letter-spacing:-.065em;padding:0 14px}.logo-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#7badff;background:linear-gradient(135deg,#184fb4,#183052);box-shadow:inset 0 0 0 1px #4982db42}.logo-mark .icon{width:22px;height:22px}.logo .small{font-size:9px;font-weight:600;letter-spacing:.08em;margin-left:2px;color:#7f94b0}.sidebar-label{font-size:10px;letter-spacing:.15em;color:#718299;margin:37px 16px 12px}.side-nav{display:grid;gap:5px}.side-nav button{display:flex;align-items:center;gap:12px;padding:12px 15px;border-radius:12px;text-align:left;color:#9baabd;font-size:13px;font-weight:550}.side-nav button.active{background:#162945;color:#8dbaff}.side-nav button:hover{background:#141f2e;color:#dce8fa}.side-nav button.active svg{color:#619eff}.sidebar-bottom{margin-top:auto;padding:18px 12px 0;border-top:1px solid var(--line)}.avatar{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#233044;font-size:12px;font-weight:700;color:#cedcf0;flex-shrink:0}.sidebar-user{gap:11px;margin-bottom:20px}.storage-status{font-size:10px;color:#8a9ab0;display:flex;align-items:center;gap:6px}.storage-status::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--green)}.shell{margin-left:224px;max-width:1640px;padding:0 44px 55px}.topbar{display:flex;justify-content:space-between;align-items:center;padding:28px 0 22px;border-bottom:1px solid #1c2734;margin-bottom:30px}.breadcrumb{color:#7e8ba0;font-size:12px;display:flex;align-items:center;gap:10px}.breadcrumb strong{color:#b9c5d5;font-weight:500}.topbar-actions{gap:10px}.prototype-badge{color:#94a6be;font-size:11px;background:#131e2a;border:1px solid #243248;padding:5px 9px;border-radius:7px}.desktop-search{height:35px;width:225px;border:1px solid #293343;border-radius:10px;color:#8393ab;display:flex;align-items:center;gap:10px;padding:0 11px;font-size:12px}.desktop-search .icon{width:15px;height:15px}.desktop-search kbd{margin-left:auto;font-size:10px;border:1px solid #2e3b4d;border-radius:4px;padding:0 4px;color:#718198}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 26px}.greeting{display:flex;align-items:center;gap:12px}.greeting .sun{width:35px;height:35px;color:#efbe70}.subtitle{color:#8b9bb2;font-size:13px;margin-top:6px}.header-right{display:flex;align-items:center;gap:12px}.space-selector{display:flex;padding:4px;border-radius:13px;border:1px solid #263242;background:#0d141f;gap:4px}.space-selector button{display:flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;font-size:12px;color:#9eacc0;font-weight:550;padding:10px 13px;min-width:99px}.space-selector button .icon{width:16px;height:16px}.space-selector button.active{background:#194386;color:#f0f6ff;box-shadow:inset 0 0 0 1px #417be245}.demo-notice{margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#a5b4c9;font-size:11px;padding:10px 14px;background:#111d2b;border:1px solid #24364d;border-radius:11px}.demo-notice strong{color:#88b3f2;font-size:10px;letter-spacing:.05em}.demo-notice .text-button{font-size:11px;color:#bed7ff}.demo-notice .icon{width:15px;height:15px;color:#6fa3ef}.dashboard{display:grid;grid-template-columns:minmax(0,1.54fr) minmax(280px,1fr);gap:22px;align-items:start}.left-column,.right-column{display:grid;gap:20px}.card{background:linear-gradient(130deg,#141d28,#101720);border:1px solid #25313f;border-radius:var(--radius);padding:22px;min-width:0;box-shadow:0 5px 20px #00000009}.card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.card-title .title-with-icon{display:flex;align-items:center;gap:9px}.card-title .title-with-icon>.icon{color:#6ea5ff;width:18px;height:18px}.hero-card{position:relative;overflow:hidden;padding:25px 24px 20px;background:radial-gradient(ellipse at 83% 7%,#19355859,transparent 55%),linear-gradient(140deg,#182330,#111921)}.hero-card .balance-label{color:#b8c6d7;font-size:13px;font-weight:500;display:flex;align-items:center;gap:9px}.hero-card .eye{height:29px;width:29px;border:1px solid #324256;border-radius:50%;display:grid;place-items:center;color:#9eb0c8}.hero-card .eye .icon{width:15px;height:15px}.big-balance{font-size:clamp(33px,3.2vw,46px);font-weight:650;letter-spacing:-.055em;line-height:1.25;margin:10px 0 4px;white-space:nowrap}.balance-caption{font-size:11px;color:#8297b1}.balance-upper{display:flex;justify-content:space-between;align-items:center;gap:14px}.mini-chart{width:135px;height:67px;opacity:.85;flex-shrink:0}.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:22px}.account-tile{background:#1a263345;border:1px solid #2b3a485f;border-radius:12px;padding:12px 10px;text-align:left;min-width:0}.account-tile:hover{background:#23334a66}.account-title{display:flex;align-items:center;gap:7px;color:#aabacd;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-title .icon{width:15px;height:15px;color:#72a9ff}.account-tile.card-type .icon{color:#d3e0f4}.account-tile.cash-type .icon{color:#6bddad}.account-value{font-size:16px;font-weight:600;margin:7px 0 0;letter-spacing:-.03em}.hero-note{font-size:10px;color:#7d90a7;display:flex;align-items:center;gap:5px;margin-top:14px}.hero-note .icon{width:12px;height:12px}.month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:5px}.month-stat{padding-left:11px;border-left:2px solid #485f87}.month-stat:first-child{border-color:#397967}.month-stat:nth-child(2){border-color:#775051}.month-stat .label{font-size:11px;color:#92a4bb;display:flex;align-items:center;gap:5px;margin-bottom:6px}.month-stat .label .icon{width:13px;height:13px}.month-stat .value{font-size:22px;font-weight:600;letter-spacing:-.035em;white-space:nowrap}.month-foot{margin-top:20px;padding-top:15px;border-top:1px solid #29313c;color:#8d9eb3;font-size:11px;display:flex;gap:8px;align-items:center}.month-foot .icon{width:14px;height:14px;color:#73aeff}.debt-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.debt-card{padding:18px;cursor:pointer;text-align:left}.debt-card:hover{border-color:#3d5069}.debt-icon{height:32px;width:32px;border-radius:11px;display:grid;place-items:center;background:#15392e;color:#71e6b4}.debt-icon.payable{background:#3f272d;color:#f49c9f}.debt-icon .icon{width:18px;height:18px}.debt-label{font-size:11px;color:#a4b1c4;margin:12px 0 3px}.debt-total{font-size:25px;font-weight:600;letter-spacing:-.035em}.debt-person{border-top:1px solid #2a3542;margin-top:15px;padding-top:13px;display:flex;align-items:center;gap:9px}.person-avatar{height:28px;width:28px;border-radius:9px;background:#253345;color:#bbcee7;display:grid;place-items:center;font-size:10px;font-weight:700;flex-shrink:0}.debt-person .name{font-size:11px;color:#c2cede}.debt-person .small{font-size:10px;color:#8596ad}.debt-person .icon{margin-left:auto;width:12px;height:12px;color:#7f91a8}.list-card{padding-bottom:9px}.list-row{display:flex;align-items:center;gap:12px;padding:13px 0;width:100%;text-align:left;min-width:0}.list-row+.list-row{border-top:1px solid #26313e70}.list-row:hover .row-title{color:#8ebaff}.row-icon{width:37px;height:37px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;background:#223247;color:#9abde8}.row-icon .icon{width:18px;height:18px}.row-icon.green{color:#65d5a4;background:#18392f}.row-icon.red{color:#eba3ac;background:#392732}.row-icon.purple{color:#c8b2f6;background:#302741}.row-icon.orange{color:#e5b478;background:#382d24}.row-content{min-width:0;flex:1}.row-title{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-meta{font-size:10px;color:#8596ac;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-right{text-align:right;flex-shrink:0}.row-amount{font-size:13px;font-weight:550;letter-spacing:-.025em;white-space:nowrap}.row-right .row-meta{font-size:10px}.insight{padding:16px 18px;border:1px solid #274268;border-radius:17px;background:linear-gradient(130deg,#142c4d,#142034);display:flex;align-items:flex-start;gap:11px}.insight>.icon{color:#6eaaff;width:18px;height:18px;margin-top:3px}.insight h3{font-size:12px;color:#bfdaff}.insight p{font-size:11px;line-height:1.65;color:#92a9c7;margin-top:4px}.donut-layout{display:flex;align-items:center;gap:23px}.donut-wrap{position:relative;width:137px;height:137px;flex-shrink:0}.donut{width:100%;height:100%;transform:rotate(-90deg)}.donut-caption{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:10px;color:#8498b2}.donut-caption strong{font-size:17px;letter-spacing:-.035em;color:#e1eaf6}.legend{display:grid;gap:11px;flex:1;min-width:0}.legend-row{display:flex;align-items:center;gap:7px;font-size:10px;color:#a1b2c9}.legend-dot{width:6px;height:6px;border-radius:2px;flex-shrink:0}.legend-row span:nth-child(2){flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.legend-row strong{font-weight:500;color:#dee7f4}.bottom-nav{display:none}.mobile-tools{display:none}.filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}.search-field{position:relative;flex:1;min-width:210px}.search-field>.icon{position:absolute;left:13px;top:13px;width:17px;height:17px;color:#7f93b0}.search-field input{padding-left:40px}.input,input,select,textarea{background:#101822;border:1px solid #304056;border-radius:11px;min-height:44px;padding:11px 12px;color:#e4edf9;width:100%;outline:none;font-size:13px}input::placeholder,textarea::placeholder{color:#697b96}select{appearance:auto;color-scheme:dark;min-width:0}textarea{resize:vertical;min-height:85px}.filters select{width:auto;max-width:180px}.filter-summary{font-size:12px;color:#8fa3bf;margin-bottom:15px}.movement-group{font-size:10px;letter-spacing:.065em;text-transform:uppercase;color:#879ab5;margin:19px 0 4px;display:flex;justify-content:space-between;align-items:center}.tx-list .list-row{padding:15px 0}.tx-list .row-title{font-size:14px}.tx-list .row-meta{font-size:11px}.tx-list .row-amount{font-size:15px}.section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px}.metric-grid .value{font-size:29px;font-weight:600;letter-spacing:-.05em;margin-top:8px}.metric-grid .label{font-size:12px;color:#a2b3ca}.chart-svg{width:100%;height:200px;overflow:visible}.chart-labels{display:flex;justify-content:space-between;color:#7f93ae;font-size:10px;margin-top:3px}.wide-card{grid-column:1/-1}.bar-stack{display:grid;gap:19px;margin-top:22px}.bar-top{display:flex;justify-content:space-between;font-size:12px;margin-bottom:7px;color:#b7c6db}.bar-track{height:6px;border-radius:4px;background:#273140;overflow:hidden}.bar-fill{height:100%;border-radius:4px;background:var(--blue)}.debt-summary{display:flex;align-items:center;gap:18px;padding-bottom:22px}.debt-summary strong{font-size:34px;font-weight:600;letter-spacing:-.04em}.tabs{display:flex;gap:6px;background:#0d151f;padding:4px;border-radius:12px;border:1px solid #28374b;width:max-content;margin-bottom:22px}.tabs button{font-size:12px;color:#93a7c2;padding:10px 17px;border-radius:8px}.tabs button.active{background:#234476;color:#e5efff}.debt-entry{display:flex;align-items:center;gap:14px;padding:20px 0;border-bottom:1px solid #293444}.debt-entry:last-child{border-bottom:0}.debt-entry .person-avatar{width:42px;height:42px;border-radius:14px;font-size:13px}.debt-entry .grow{flex:1;min-width:0}.debt-entry h3{font-size:14px}.debt-entry .meta{font-size:11px;color:#91a5bf;margin-top:3px}.debt-entry .amount{font-size:19px;font-weight:600;letter-spacing:-.025em}.debt-entry .button{padding:9px 13px;min-height:39px;font-size:12px}.progress{height:4px;background:#263747;overflow:hidden;border-radius:4px;margin-top:10px;max-width:240px}.progress span{display:block;height:100%;background:var(--green)}.menu-list{display:grid;gap:12px}.menu-item{display:flex;align-items:center;text-align:left;gap:14px;padding:20px;border:1px solid #2a3647;border-radius:17px;background:#131d29;width:100%}.menu-item>.icon{color:#78a8f2}.menu-item .grow{flex:1}.menu-item h3{font-size:14px;margin-bottom:3px}.menu-item p{font-size:11px;color:#8da2bf}.menu-item:hover{background:#192637}.account-card .account-amount{font-size:31px;letter-spacing:-.045em;margin:20px 0 3px;font-weight:600}.account-card .button{margin-top:20px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 0;border-bottom:1px solid #283447}.setting-row:last-child{border-bottom:0}.setting-row p{font-size:11px;color:#8ca2bd;margin-top:5px;max-width:420px}.switch{appearance:none!important;width:43px!important;min-height:24px!important;height:24px!important;background:#354157!important;padding:0!important;border:0!important;border-radius:15px!important;position:relative;flex-shrink:0;cursor:pointer}.switch:checked{background:#366fed!important}.switch:before{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#eee;transition:transform .15s}.switch:checked:before{transform:translateX(19px)}.note{padding:13px 15px;border-radius:12px;background:#172539;border:1px solid #304465;color:#b5c9e6;font-size:12px;line-height:1.65}.note.warning{background:#30291d;border-color:#5b482f;color:#decba7}.note.error{background:#35232a;border-color:#6d3745;color:#f4b7c2}.note.success{background:#17352b;border-color:#285c49;color:#abe3ca}.notice-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}dialog{color:var(--text);background:#101822;border:1px solid #304258;border-radius:25px;padding:0;width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 50px);box-shadow:0 24px 100px #000a}dialog::backdrop{background:#0009;backdrop-filter:blur(7px)}.modal-head{position:sticky;top:0;z-index:3;background:#101822f5;border-bottom:1px solid #2a3748;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;backdrop-filter:blur(14px)}.modal-head h2{font-size:19px}.modal-body{padding:22px}.modal-head .icon-button{width:32px;height:32px;border-radius:10px}.modal-head .icon-button svg{width:17px;height:17px}.modal-foot{display:flex;gap:10px;margin-top:24px}.modal-foot .primary{flex:1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#a8bbd5}.field.wide{grid-column:1/-1}.field>span:first-child{font-weight:500}.field .help{font-size:10px;font-weight:400;color:#879bb7}.amount-field{position:relative}.amount-field input{font-size:39px;line-height:1.3;letter-spacing:-.05em;font-weight:600;padding:10px 44px 10px 0;background:none;border:0;border-bottom:1px solid #324359;border-radius:0;min-height:70px}.amount-field::after{content:'€';position:absolute;right:5px;top:14px;font-size:29px;color:#536984}.form-divider{grid-column:1/-1;border-top:1px solid #27374b;margin:2px 0}.check-row{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:#c5d5eb;cursor:pointer}.check-row input{width:16px;min-height:16px;accent-color:var(--blue);margin:2px 0 0;flex-shrink:0}.check-row .help{color:#8197b6;font-size:11px;margin-top:3px;display:block}.optional-toggle{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px;color:#93b6e8;padding:3px 0;list-style:none}.optional-toggle .icon{width:15px;height:15px}.details-content{padding-top:16px;display:grid;gap:14px}.add-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px}.add-choice button{background:#192535;border:1px solid #2b3c53;border-radius:16px;min-height:110px;padding:18px;text-align:left;display:flex;flex-direction:column;gap:10px}.add-choice button:first-child{grid-column:1/-1;flex-direction:row;align-items:center;min-height:80px;background:#173567;border-color:#3c67ac}.add-choice .row-icon{width:40px;height:40px}.add-choice strong{display:block;font-size:14px;font-weight:600}.add-choice p{font-size:11px;color:#9bafcb;margin-top:3px}.add-choice button:hover{border-color:#739ee0}.detail-hero{padding-bottom:24px;text-align:center}.detail-hero .row-icon{margin:0 auto 12px;width:48px;height:48px}.detail-hero .value{font-size:35px;font-weight:650;letter-spacing:-.05em}.detail-table{display:grid;gap:13px;margin:10px 0 20px}.detail-table>div{display:flex;justify-content:space-between;gap:16px;font-size:12px}.detail-table dt{color:#8da1bd}.detail-table dd{margin:0;text-align:right;color:#d9e6fa;word-break:break-word}.attachment-preview{max-width:100%;max-height:260px;object-fit:contain;border-radius:10px;margin-top:12px}.global-search-results .list-row{border-bottom:1px solid #2a3a4d;padding:13px 0}.result-label{font-size:10px;color:#7f9ac0;text-transform:uppercase;letter-spacing:.11em;margin-top:22px;margin-bottom:5px}.search-hints{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.search-hints button{border:1px solid #2b4260;border-radius:7px;padding:6px 8px;font-size:10px;color:#97b8e5;background:#14243b}.toast{position:fixed;bottom:28px;left:calc(50% + 112px);transform:translateX(-50%) translateY(18px);z-index:110;max-width:calc(100% - 36px);width:max-content;background:#213145;border:1px solid #466086;border-radius:13px;color:#e1edff;padding:13px 18px;box-shadow:0 9px 40px #0007;font-size:12px;opacity:0;pointer-events:none;transition:all .2s}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.form-error{display:none;color:#f3a7b4;background:#36232c;border:1px solid #66394c;padding:11px 13px;border-radius:10px;font-size:12px;margin-top:16px}.form-error.visible{display:block}.danger-zone{margin-top:23px;padding-top:20px;border-top:1px solid #3f2c39}.foot-note{text-align:center;font-size:10px;color:#5e728f;margin-top:28px}.external-proof{font-size:11px;color:#7588a4;margin:20px 0 0}.form-grid [hidden]{display:none}.page-enter{animation:enter .18s ease-out}@keyframes enter{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:1500px){.shell{padding-left:60px;padding-right:60px}.dashboard{gap:26px}.card{padding:26px}.month-stat .value{font-size:25px}}
@media(max-width:1190px){.sidebar{width:190px;padding:28px 12px}.shell{margin-left:190px;padding:0 25px 45px}.dashboard{grid-template-columns:minmax(0,1.25fr) minmax(260px,1fr);gap:17px}.card{padding:18px}.hero-card{padding:22px 18px 18px}.big-balance{font-size:37px}.mini-chart{width:100px}.month-stat .value{font-size:19px}.account-title{font-size:10px}.account-value{font-size:14px}.account-tile{padding:11px 8px}.donut-layout{gap:12px}.donut-wrap{width:110px;height:110px}.space-selector button{padding:9px 10px;min-width:85px}.toast{left:calc(50% + 95px)}}
@media(max-width:980px){.sidebar{width:78px;padding:24px 12px}.logo{padding:0;justify-content:center}.logo-text,.sidebar-label,.side-nav span,.sidebar-bottom,.logo .small{display:none}.side-nav{margin-top:35px}.side-nav button{justify-content:center;padding:15px}.shell{margin-left:78px}.page-header{align-items:flex-start}.header-right>.button{display:none}.greeting .sun{display:none}.page-header h1{font-size:27px}.subtitle{font-size:12px}.space-selector button{min-width:78px;font-size:11px;gap:5px;padding:9px}.space-selector .icon{display:none}.mini-chart{display:none}.big-balance{font-size:39px}.account-title{gap:5px}.month-grid{gap:7px}.month-stat{padding-left:8px}.month-stat .value{font-size:18px}.debt-total{font-size:23px}.debt-card{padding:15px}.debt-person{gap:7px}.debt-person .person-avatar{display:none}.donut-layout{flex-direction:column;gap:15px}.legend{width:100%}.donut-wrap{width:130px;height:130px}.toast{left:calc(50% + 39px)}}
@media(max-width:760px){.sidebar{display:none}.shell{margin-left:0;max-width:620px;margin-inline:auto;padding:0 18px 116px}.topbar{padding:14px 0 0;border-bottom:0;margin-bottom:23px}.breadcrumb{display:none}.topbar-actions{width:100%;justify-content:space-between}.desktop-search{display:none}.prototype-badge{font-size:9px;background:transparent;border-color:#29384c;letter-spacing:.025em;padding:4px 7px}.topbar .storage-status{font-size:10px}.page-header{display:block;margin-bottom:18px}.greeting{gap:10px}.greeting .sun{display:block;width:29px;height:29px}.page-header h1{font-size:24px;letter-spacing:-.045em}.subtitle{font-size:11px;margin-top:4px}.header-right{margin-top:20px}.space-selector{width:100%;border-radius:13px;gap:3px;padding:3px;background:#0c131d}.space-selector button{flex:1;min-width:0;padding:10px 5px;font-size:11px;gap:6px;min-height:40px}.space-selector .icon{display:block!important;width:15px!important;height:15px!important}.mobile-greeting-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.mobile-tools{display:flex;align-items:center;gap:5px}.mobile-tools .icon-button{width:36px;height:36px;background:transparent;border:0}.mobile-tools .icon{width:20px;height:20px}.demo-notice{padding:8px 10px;font-size:10px;gap:8px;margin-bottom:15px;border-radius:9px}.demo-notice strong{font-size:9px;letter-spacing:0}.demo-notice .notice-description{display:none}.demo-notice .text-button{font-size:10px;padding:2px 0}.demo-notice .flex{gap:7px!important}.dashboard{display:flex;flex-direction:column;gap:16px}.left-column,.right-column{display:contents}.hero-card{order:1}.monthly-card{order:2}.debt-grid{order:3;width:100%;gap:12px}.upcoming-card{order:4}.latest-card{order:5}.categories-card{order:6}.home-insight{order:7}.card{padding:18px;border-radius:19px;width:100%}.card-title{margin-bottom:13px}.card-title h2{font-size:16px}.card-title .small{font-size:10px}.hero-card{padding:21px 17px 16px}.hero-card .balance-label{font-size:12px}.big-balance{font-size:40px;margin-top:9px;letter-spacing:-.055em}.balance-caption{font-size:10px}.account-grid{gap:7px;margin-top:19px}.account-tile{padding:10px 8px;border-radius:11px}.account-title{font-size:10px;gap:5px}.account-title .icon{width:14px;height:14px}.account-value{font-size:14px;margin-top:7px}.hero-note{font-size:9px;margin-top:12px;gap:4px}.hero-note .icon{width:10px;height:10px}.balance-upper>.pill{align-self:center;font-size:10px}.mini-chart{display:none}.month-grid{gap:10px}.month-stat{padding-left:9px}.month-stat .label{font-size:10px;gap:4px}.month-stat .value{font-size:19px;letter-spacing:-.045em}.month-foot{font-size:10px;line-height:1.5;margin-top:16px;padding-top:11px;align-items:flex-start}.debt-card{padding:16px}.debt-label{margin-top:9px;font-size:11px}.debt-total{font-size:25px}.debt-person{padding-top:11px;margin-top:12px;gap:7px}.debt-person .person-avatar{display:grid;width:26px;height:26px;font-size:9px}.debt-person .name{font-size:10px}.debt-person .small{font-size:9px}.debt-person .icon{width:11px}.list-card{padding-bottom:8px}.list-row{gap:11px;padding:12px 0}.row-title{font-size:12px}.row-meta{font-size:10px}.row-amount{font-size:13px}.row-icon{width:35px;height:35px;border-radius:11px}.row-icon .icon{width:18px;height:18px}.donut-layout{flex-direction:row;gap:23px}.donut-wrap{width:123px;height:123px}.legend-row{font-size:10px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:calc(77px + env(safe-area-inset-bottom));padding:7px max(12px,calc((100vw - 600px)/2)) calc(7px + env(safe-area-inset-bottom));justify-content:space-around;align-items:center;background:#0b121cf5;border-top:1px solid #2a3545;backdrop-filter:blur(22px);z-index:40}.bottom-nav>button{display:flex;align-items:center;justify-content:center;gap:5px;flex-direction:column;color:#8293ad;font-size:9px;min-width:56px;height:54px}.bottom-nav>button>.icon{width:23px;height:23px}.bottom-nav>button.active{color:#74aaff}.bottom-nav>button.add-main{width:61px;min-width:61px;height:61px;transform:translateY(-11px);border-radius:50%;color:#fff;background:linear-gradient(140deg,#4b96ff,#1d64f0);border:1px solid #78aaff;box-shadow:0 4px 20px #1b65ff32,0 0 0 7px #0b121c}.bottom-nav>button.add-main>.icon{width:29px;height:29px;stroke-width:1.8}.toast{left:50%;bottom:calc(92px + env(safe-area-inset-bottom));font-size:12px;width:calc(100% - 36px);text-align:center}.filters{gap:8px}.search-field{flex-basis:100%}.filters select{flex:1;max-width:none;width:100px;font-size:11px;min-height:42px;padding:9px}.section-grid{grid-template-columns:1fr;gap:16px}.metric-grid{gap:9px;margin-bottom:16px}.metric-grid .card{padding:13px 10px;border-radius:13px}.metric-grid .label{font-size:10px}.metric-grid .value{font-size:20px;margin-top:6px}.metric-grid .small{font-size:9px}.chart-svg{height:150px}.tx-list .row-title{font-size:12px}.tx-list .row-meta{font-size:10px}.tx-list .row-amount{font-size:13px}.tx-list .list-row{padding:13px 0}.debt-summary{padding-bottom:17px}.debt-summary strong{font-size:30px}.debt-entry{gap:10px;padding:18px 0;align-items:flex-start;flex-wrap:wrap}.debt-entry .person-avatar{width:34px;height:34px;border-radius:11px;font-size:11px}.debt-entry h3{font-size:13px}.debt-entry .meta{font-size:10px}.debt-entry .amount{font-size:17px}.debt-entry .button{font-size:10px;padding:6px 9px;min-height:34px}.debt-entry .action-stack{display:grid;justify-items:end;gap:7px}.debt-entry .grow{flex-basis:calc(100% - 162px)}.menu-item{padding:17px}.setting-row{gap:12px}.setting-row p{font-size:10px}.setting-row h3{font-size:13px}.setting-row .button{font-size:11px;padding:9px 11px;flex-shrink:0}.tabs{width:100%}.tabs button{flex:1;font-size:11px;padding:9px 6px}.account-card .account-amount{font-size:30px}dialog{max-height:calc(100dvh - 22px);width:calc(100% - 16px);border-radius:23px;overscroll-behavior:contain}.modal-head{padding:18px}.modal-head h2{font-size:18px}.modal-body{padding:20px 18px}.form-grid{gap:14px}.field{font-size:11px}input,select,textarea{font-size:16px}.field .help{font-size:10px}.form-grid select{font-size:13px;min-height:46px}.modal-foot .button{min-height:47px}.add-choice{gap:10px}.add-choice button{padding:16px;min-height:104px}.detail-table{font-size:12px}.foot-note{font-size:9px;margin-top:20px}.search-hints button{font-size:10px}.note{font-size:11px}.filters input{font-size:14px}}
@media(max-width:360px){.shell{padding-inline:12px}.big-balance{font-size:36px}.account-title{font-size:9px}.account-value{font-size:13px}.debt-person .person-avatar{display:none}.month-stat .value{font-size:17px}.space-selector button{font-size:10px}.metric-grid .value{font-size:17px}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.donut-layout{gap:13px}.donut-wrap{width:105px;height:105px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.bottom-nav,.header-right,.mobile-tools,.demo-notice,.filters,.button,dialog,.toast{display:none!important}.shell{margin:0;padding:20px;max-width:none}.card{break-inside:avoid}.dashboard{display:block}.card,.debt-grid{margin-bottom:16px}body{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.desktop-search{white-space:nowrap}.desktop-search kbd{white-space:nowrap;flex-shrink:0}
/* Authenticated app shell; locked pages never reveal financial content. */
[hidden]{display:none!important}
body.app-locked>.sidebar,body.app-locked>.shell,body.app-locked>.bottom-nav,body.app-locked>dialog,body.app-locked>.toast{display:none!important}
body.privacy-hidden>.sidebar,body.privacy-hidden>.shell,body.privacy-hidden>.bottom-nav,body.privacy-hidden>dialog{visibility:hidden!important}
#auth-screen{position:relative;z-index:80;min-height:100dvh;display:grid;place-items:center;padding:32px 18px;background:radial-gradient(ellipse at 50% 0,#16396975,transparent 65%),#090d13}
.auth-card{width:min(100%,445px);padding:32px;border:1px solid #2a394e;border-radius:28px;background:linear-gradient(140deg,#15202e,#0d141e);box-shadow:0 24px 100px #0006}
.auth-logo{font-size:33px;font-weight:700;letter-spacing:-.06em;margin-bottom:27px}.auth-logo span{display:block;font-size:9px;letter-spacing:.16em;color:#8ea5c4;margin-top:5px;font-weight:500}
.auth-symbol{border:1px solid #477dcc;background:#18375d;border-radius:17px;width:55px;height:55px;display:grid;place-items:center;color:#85b9ff;font-size:34px;margin-bottom:22px}
.auth-card h1{white-space:pre-line;font-size:34px;line-height:1.18}.auth-card>p{color:#9baec6;margin:17px 0 25px;font-size:13px;line-height:1.7}.auth-card .field{margin:15px 0;display:grid;gap:7px}.auth-card input{width:100%;font-size:16px;min-height:49px}.auth-card .button{margin-top:12px;min-height:49px}.auth-error{color:#ffabb4;font-size:12px;min-height:18px;margin-top:13px;overflow-wrap:anywhere}.auth-card .text-button{display:flex;margin:20px auto 0}.auth-foot{padding-top:25px;color:#768ca8;font-size:10px;text-align:center}.recovery-codes{font-size:11px;letter-spacing:.015em;padding:13px;border-radius:12px;background:#08121d;border:1px solid #294366;overflow-x:auto;line-height:2;color:#bcd5fb;user-select:all}
.notice-actions{display:flex;gap:9px;flex-wrap:wrap}.notice-actions .button{flex:1;white-space:normal}.compact-select{max-width:120px}.break-text{overflow-wrap:anywhere;word-break:break-word}.setting-row>div{min-width:0}.setting-row p{overflow-wrap:anywhere}.wide-card{grid-column:1/-1}.financial-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-top:18px}.calendar-weekday{text-align:center;font-size:11px;color:var(--muted);padding-bottom:8px}.calendar-day{aspect-ratio:1.25;border-radius:11px;background:#152131;border:1px solid #243650;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:14px;min-height:38px}.calendar-day:hover{background:#1e3553}.calendar-day.is-today{border-color:#68a0ff;background:#203c63;color:#c8dfff}.calendar-day i{width:5px;height:5px;border-radius:50%;background:#66a4ff}.calendar-card input[type=month]{width:160px;max-width:48%;padding:8px;font-size:12px}.calendar-card{margin-bottom:20px}.field+.field{margin-top:12px}.archived-account{opacity:.7}.auth-card .help{font-size:11px}
@media(max-width:760px){.auth-card{padding:26px 22px;border-radius:23px}.auth-card h1{font-size:31px}.auth-logo{font-size:31px}.wide-card{grid-column:auto}.calendar-day{aspect-ratio:1;min-height:34px}.financial-calendar{gap:5px}.setting-row .compact-select{font-size:13px;max-width:92px}.setting-row{flex-wrap:wrap}.setting-row>div{flex:1;min-width:140px}.setting-row input.switch{flex-shrink:0}.auth-card .recovery-codes{font-size:10px}.calendar-card .card-title{gap:8px}.calendar-card .card-title h2{font-size:15px}}
@media print{#auth-screen{display:none!important}}
