:root{color-scheme:only light;font-family:Avenir Next,Segoe UI,Arial,sans-serif;color:#1b2d43;background:#f4f5f8;font-synthesis:none;font-weight:400;--blue:#4568FE;--navy:#1B2D43;--muted:#8190A5;--line:#E3E8F0;--green:#39816D;--red:#BD715C}*{box-sizing:border-box}html,body,#root{min-height:100%;background:#f4f5f8;color:#1b2d43;color-scheme:only light}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #A9B8FF;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #A9B8FF;outline-offset:1px}a{color:var(--blue);text-decoration:none}h1,h2,h3,p{margin:0}button svg{flex-shrink:0}input,select,textarea{border:1px solid #D9E0EB;border-radius:9px;padding:11px 12px;background:#fff;color:var(--navy);min-width:0}input[type=month]{height:43px;font-size:16px}input[type=checkbox]{accent-color:var(--blue);width:16px;height:16px}input[type=file]{max-width:100%}textarea{resize:vertical;line-height:1.6}input::placeholder,textarea::placeholder{color:#a6b0be}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{display:flex;min-height:100vh;background:#f4f5f8}.sidebar{width:222px;background:#fff;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:32px 20px 0;display:flex;flex-direction:column;z-index:30}.brand{padding:0 10px}.brand-plaque{background:#172b3e;border:1px solid #BD965D;border-radius:9px;padding:8px 16px;width:139px;height:59px;display:flex;align-items:center;justify-content:center}.brand-plaque img{max-width:100%;max-height:100%;object-fit:contain}.brand-plaque.vapers{width:160px;border-color:#ceae81;padding:13px}.brand>span{display:block;font-size:12px;font-weight:600;letter-spacing:1.4px;margin-top:14px;color:#8a97a7}.nav-caption{font-size:13px;letter-spacing:2px;color:#95a0af;font-weight:600;margin:58px 14px 17px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.sidebar nav button,.settings-link{display:flex;align-items:center;gap:13px;text-align:left;border:0;background:transparent;border-radius:10px;padding:15px 13px;font-size:16px;font-weight:500;color:#7c899b}.sidebar nav button.active,.settings-link.active{background:#edf0ff;color:var(--blue);font-weight:600}.sidebar nav button:hover,.settings-link:hover{background:#f4f6fb}.sidebar nav button.active:hover{background:#e8ecff}.sidebar-bottom{margin-top:auto}.settings-link{width:100%;font-size:15px;border-radius:0;border-bottom:1px solid var(--line);padding:18px 8px}.user-profile{display:flex;gap:10px;align-items:center;padding:23px 3px}.avatar{width:36px;height:36px;border-radius:50%;background:#eaf0f5;color:#637991;font-size:17px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #E0E6EE}.avatar.small{width:30px;height:30px;font-size:15px}.user-profile strong{font-size:15px}.user-profile small{display:block;font-size:13px;color:#93a0b2;margin-top:3px}.user-profile .icon-button{margin-left:auto}.workspace{background:#f4f5f8;margin-left:222px;width:calc(100% - 222px);min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}.topbar>span{display:flex;gap:14px;align-items:center;font-size:14px;color:#8c98aa}.topbar strong{color:var(--navy);font-size:18px;letter-spacing:.5px}.topbar i{height:12px;border-left:1px solid #D7DDE6}.topbar>div{display:flex;gap:15px;align-items:center}.main-content{padding:38px 42px 28px;max-width:1700px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:27px}.eyebrow{color:#8b98aa;letter-spacing:1.8px;font-size:12px;font-weight:600;margin-bottom:11px}h1{font-size:34px;letter-spacing:-1.2px;line-height:1.25;font-weight:600}h1 span{font-weight:400}.page-heading>div>p:not(.eyebrow){color:#8995a7;font-size:16px;margin-top:10px}.report-filter{display:flex;flex-direction:column;gap:7px;color:#7f8ea2;font-size:14px;width:191px}.report-filter input{font-weight:500}.button{border:0;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 17px;font-size:15px;font-weight:600;white-space:nowrap;transition:background .15s,box-shadow .15s;min-height:40px}.button.primary{background:var(--blue);color:#fff;box-shadow:0 3px 8px #4568fe13}.button.primary:hover{background:#3657e9}.button.secondary{background:#fff;border:1px solid #DCE3ED;color:#4e6180}.button.secondary:hover{background:#f6f8ff}.button-group{display:flex;gap:9px;flex-wrap:wrap}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#fff;border:1px solid #DEE4F0;width:31px;height:31px;border-radius:7px;padding:0;color:#65748a}.icon-button:hover{background:#f1f4fc}.icon-button.subtle{background:transparent;border-color:transparent}.date-strip{display:flex;align-items:center;gap:15px;background:linear-gradient(110deg,#f0f2fe,#f7f8ff);border:1px solid #DCE1FF;border-radius:12px;padding:17px 18px;margin-bottom:17px;min-height:88px}.date-label{display:flex;align-items:center;gap:10px;color:#6372a0;font-size:12px;letter-spacing:.8px;font-weight:600;border-right:1px solid #D6DDF7;padding-right:15px;flex-shrink:0}.date-main{flex:1;min-width:200px}.date-main>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.date-main strong{font-size:16px;font-weight:600;letter-spacing:-.2px}.date-main small{display:block;color:#8b97ae;font-size:14px;margin-top:5px}.badge{display:inline-flex;align-items:center;white-space:nowrap;border-radius:5px;padding:4px 7px;font-size:12px;font-weight:600;letter-spacing:0}.badge.amber{color:#986b20;background:#fff0d0}.badge.blue{color:var(--blue);background:#e4eaff}.date-controls{display:flex;align-items:center;gap:5px}.date-controls .icon-button{width:28px;height:30px;border-color:#d6dcf7;color:#7485b8}.date-picker{position:relative;overflow:hidden}.date-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;padding:0;cursor:pointer}.date-picker input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.today-button{padding:5px 10px;min-height:30px;height:30px;font-size:14px;margin-left:5px}.date-action{font-size:14px;padding:10px 13px;min-height:35px}.missing-notice{border:0;background:transparent;color:#8d98ac;display:flex;align-items:center;gap:8px;width:100%;font-size:14px;padding:0 4px;margin:0 0 18px;text-align:left}.missing-notice>span{margin-left:auto;display:flex;align-items:center;gap:5px;color:#697fa8}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.kpi{background:#fff;border:1px solid var(--line);box-shadow:0 2px 3px #1b2d4302;border-radius:13px;padding:19px 18px 15px;position:relative;overflow:hidden;min-height:150px}.kpi.featured{background:linear-gradient(120deg,#4568fe,#4d6df8);color:#fff;border-color:#4568fe;box-shadow:0 6px 15px #4568fe16}.kpi-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;white-space:nowrap;color:#758397}.featured .kpi-label{color:#f4f6ff}.kpi-number{font-size:34px;font-weight:600;letter-spacing:-1.1px;font-variant-numeric:tabular-nums;margin:14px 0 7px;position:relative;white-space:nowrap}.sparkline{position:absolute;right:-3px;bottom:5px;width:54px;height:26px;color:#82a698;opacity:.7}.sparkline.expense{color:#c78f7c}.featured .sparkline{color:#fff;opacity:.8}.trend{display:flex;align-items:center;gap:3px;font-size:13px;font-weight:500;white-space:nowrap}.positive{color:var(--green)}.negative,.expense-text{color:var(--red)}.neutral{color:#99a4b3}.featured .trend{color:#e6eeff}.kpi-foot{display:block;color:#a1abba;font-size:12px;margin-top:9px}.featured .kpi-foot{color:#c8d3ff}.analytics-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:20px;margin-bottom:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 4px #253c5903;padding:22px 23px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.panel h2,.dialog h2{font-size:18px;font-weight:600;letter-spacing:-.25px}.panel-heading h2{display:flex;align-items:center;gap:10px}.panel-heading h2 svg{color:#6b7a91}.panel-subtitle{font-size:14px;color:#99a4b3;line-height:1.7}.segmented{display:inline-flex;background:#f6f7fa;border:1px solid #E5E9F0;border-radius:8px;padding:3px;gap:2px;flex-shrink:0}.segmented button{font-size:14px;border:0;background:transparent;border-radius:5px;padding:6px 10px;color:#8491a4}.segmented button.active{background:#fff;color:var(--blue);box-shadow:0 1px 4px #20365812;font-weight:600}.chart-wrap{position:relative;margin-top:13px;min-height:180px;display:flex;align-items:center}.chart-wrap svg{display:block;width:100%;overflow:visible}.chart-tooltip{position:absolute;top:4px;left:40%;font-size:14px;background:#fff;border:1px solid var(--line);padding:10px 14px;border-radius:9px;box-shadow:0 4px 15px #20365812;pointer-events:none}.chart-tooltip span{display:block;color:var(--muted);margin-top:3px}.chart-legend{display:flex;gap:23px;align-items:center;justify-content:center;font-size:13px;color:#92a0b3;margin-top:3px}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:18px;border-top:2px solid var(--blue)}.chart-legend i.previous{border-color:#a6b1c3;border-top-style:dashed}.donut-content{display:flex;align-items:center;gap:20px;min-height:212px}.donut{width:146px;height:146px;flex-shrink:0;border-radius:50%;padding:20px;transform:rotate(-.01deg)}.donut>div{width:100%;height:100%;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px}.donut small{font-size:12px;color:#9aa5b3}.donut strong{font-size:24px;letter-spacing:-.8px;font-weight:600}.expense-legend{flex:1;min-width:0}.expense-legend>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #F0F2F6;font-size:14px}.expense-legend>div:last-child{border:0}.expense-legend span{display:flex;align-items:center;gap:7px;color:#7b899b}.expense-legend i{width:7px;height:7px;border-radius:2px}.expense-legend strong{white-space:nowrap;font-size:14px;font-weight:500}.text-button{background:none;border:0;padding:0;display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:14px;font-weight:500}.text-button:hover{text-decoration:underline}.table-scroll{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums;text-align:left}th{font-weight:500;color:#8c98a9;font-size:13px;white-space:nowrap}th,td{padding:13px 10px;border-bottom:1px solid #EDF0F5}thead{background:#f8f9fc}thead th:first-child{border-radius:6px 0 0 6px}thead th:last-child{border-radius:0 6px 6px 0}td{white-space:nowrap}td .icon-button{width:24px;height:24px}.recent-panel td{padding-top:10px;padding-bottom:10px}.recent-panel tr:last-child td{border:0}.table-date{border:0;background:none;font:inherit;color:inherit;padding:0}.table-date:hover{color:var(--blue)}.status{display:inline-flex;align-items:center;gap:4px;font-size:12px;background:#eff7f3;border-radius:5px;color:#5a927d;padding:4px 7px}.status.closed{color:#939eaf;background:#f0f2f6}.app-footer{padding:0 42px 22px;display:flex;justify-content:space-between;color:#abb4c2;font-size:12px}.demo-badge{font-size:13px;color:#a3793b;background:#fff6e7;border:1px solid #F3E5CA;padding:5px 8px;border-radius:5px}.bottom-nav,.mobile-menu{display:none}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);padding:13px 20px;border-radius:11px;background:#203c38;color:#fff;box-shadow:0 5px 20px #142f3526;display:flex;align-items:center;gap:10px;font-size:15px;z-index:110;max-width:92vw}.error-banner{position:fixed;top:18px;left:50%;transform:translate(-50%);width:max-content;max-width:90vw;padding:12px 15px;background:#fff4ef;border:1px solid #EBC7BA;color:#9b503f;border-radius:10px;display:flex;align-items:center;gap:12px;z-index:120;font-size:15px;box-shadow:0 5px 20px #142f3515}.error-banner svg{flex-shrink:0}.error-banner .icon-button{background:transparent;border:0}.empty{padding:35px 15px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:13px;color:#9da9b9;font-size:15px;min-height:160px;justify-content:center}.welcome-note{display:flex;align-items:center;gap:14px;margin-top:20px;color:#8495ad;font-size:15px;padding:15px}.welcome-note strong{color:#586c87}.welcome-note p{margin-top:5px;font-size:14px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.compare-filters{display:flex;align-items:center;gap:13px;font-size:14px;color:#8b97a9}.compare-filters label{display:flex;align-items:center;gap:9px}.compare-filters select{padding:8px 12px;font-size:14px}.check-label{font-size:14px}.comparison-table th,.comparison-table td{padding-top:17px;padding-bottom:17px}.comparison-table tfoot{background:#f6f8fd}.comparison-table tfoot th{font-size:14px;color:var(--navy);font-weight:600}.tiny-badge{display:inline-block;margin-left:8px;font-size:12px;color:#8d9ab0;background:#f0f3f8;padding:3px 6px;border-radius:4px}.footnote{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:1.8;color:#94a0b2;margin-top:17px}.footnote svg{flex-shrink:0;margin-top:2px}.import-panel{display:flex;align-items:center;gap:22px;margin-top:22px;padding:27px}.import-icon{background:#f0f3ff;color:#7188dc;width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:13px;flex-shrink:0}.import-panel>div:nth-child(2){flex:1}.import-panel h2{font-size:17px}.import-panel p{font-size:14px;line-height:1.8;color:#91a0b3;margin:7px 0 11px}.day-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.day-total{display:flex;flex-direction:column;gap:14px}.day-total svg{color:#91a2d7}.day-total span{font-size:15px;color:#8a96a8}.day-total strong{font-size:32px;font-weight:500;font-variant-numeric:tabular-nums}.day-empty{display:flex;flex-direction:column;align-items:center;padding:55px 20px;gap:20px;text-align:center}.day-empty>svg{color:#b3bfe2}.day-empty p{font-size:15px;color:#8c99ae}.split-summary{display:flex;gap:40px;color:#8b97a9;font-size:15px;padding:17px 0}.split-summary strong{display:block;color:var(--navy);font-size:22px;margin-top:6px}.expense-detail{display:flex;justify-content:space-between;padding:16px 0;font-size:15px;border-bottom:1px solid var(--line)}.expense-detail small{display:block;color:#95a1b2;margin-top:5px}.notes-display{padding:18px 0;color:#7e8ea3;font-size:15px;white-space:pre-wrap}.settings-panel{max-width:650px;padding:32px}.settings-panel h2{font-size:28px;margin:23px 0}.settings-panel dl{margin:20px 0 25px}.settings-panel dl>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:14px 0;font-size:15px}.settings-panel dt{color:#93a0b2}.settings-panel dd{text-align:right;margin:0}.settings-panel p{font-size:15px;color:#8b98ab;line-height:1.8;margin-bottom:23px}.modal-backdrop{position:fixed;inset:0;background:#16263d66;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:60;display:flex;align-items:center;justify-content:center;padding:25px}.entry-modal{width:760px;max-width:100%;max-height:calc(100dvh - 50px);background:#fff;border-radius:18px;box-shadow:0 25px 80px #0f1b3a35;overflow:hidden;display:flex;flex-direction:column}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:25px 30px 22px;background:#f5f7ff;border-bottom:1px solid #E2E7FB;flex-shrink:0}.modal-header .eyebrow{color:#8291ba;font-size:13px;margin-bottom:7px}.modal-header h2{font-size:21px;letter-spacing:-.4px;font-weight:600;display:inline;margin-right:10px}.entry-modal form{display:flex;flex-direction:column;min-height:0}.entry-body{padding:25px 30px;overflow-y:auto}.closed-check{display:flex;align-items:center;gap:9px;font-size:14px;margin-bottom:22px;flex-wrap:wrap}.closed-check small{color:#a0aabb;font-size:14px;margin-left:auto}.form-section{border-bottom:1px solid var(--line);padding:0 0 22px;margin-bottom:22px}.form-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.form-section-heading h3{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:500}.form-section-heading h3 svg{color:#8698bd}.large-money{background:#f6f8ff;border:1px solid #E5E9F8;border-radius:12px;display:block;padding:19px 22px}.large-money>span{font-size:14px;color:#8999b5}.large-money>div{display:flex;align-items:center;gap:15px}.large-money input{background:transparent;border:0;padding:6px 0;font-size:42px;letter-spacing:-1px;color:var(--blue);width:100%;font-weight:500}.large-money b{font-weight:400;color:#a4b3db;font-size:34px}.large-money input:focus{outline:0}.split-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.split-fields>label{font-size:14px;color:#8795ab}.money-input{position:relative}.money-input input{width:100%;padding-right:30px;font-variant-numeric:tabular-nums}.money-input>span{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#99a8be;font-size:15px}.split-fields .money-input{margin-top:9px}.split-fields input{font-size:22px;padding-top:14px;padding-bottom:14px}.computed-total{display:flex;justify-content:space-between;color:#8a98ac;font-size:14px;margin-top:15px}.computed-total strong{color:var(--blue);font-size:20px}.expense-row{display:grid;grid-template-columns:135px minmax(100px,1fr) 108px 28px;align-items:center;gap:9px;margin-bottom:10px}.expense-row select,.expense-row input{font-size:14px;padding:10px;width:100%}.expense-row .money-input input{padding-right:25px}.expense-row .money-input>span{right:9px}.danger{color:#ba7665}.add-expense{background:#f9fafd;border:1px dashed #D9E1EF;width:100%;padding:12px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:7px;color:#7c8fb7;font-size:14px}.add-expense:hover{background:#f1f4ff}.notes-label{display:block;font-size:14px;color:#78899f}.notes-label>span{color:#a7b0bf;margin-left:7px;font-size:14px}.notes-label textarea{width:100%;margin-top:9px;font-size:15px}.entry-body>.text-button{margin-top:22px}.entry-footer{padding:18px 30px;background:#fafbfe;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0}.entry-footer small{font-size:13px;color:#8f9db0;display:block}.entry-footer strong{font-size:28px;font-weight:500;display:block;margin-top:4px;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.inline-info{padding:13px;border-radius:8px;background:#f4f6fc;display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.7;color:#8191ab;margin-top:17px}.inline-info svg{flex-shrink:0}.dialog{width:440px;max-width:100%;background:#fff;border-radius:16px;padding:28px;box-shadow:0 20px 60px #15233f33}.dialog>p{color:#8997aa;font-size:15px;line-height:1.8;margin-top:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.confirmation{z-index:90}.import-dialog{width:650px}.import-preview{max-height:42vh;margin-top:20px}.login-screen{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 25%,#eaf0ff,#f4f5f8 60%);padding:30px}.login-brand{display:flex;flex-direction:column;align-items:center;gap:16px;margin-bottom:30px}.login-brand p{font-size:12px;letter-spacing:2px;color:#98a4b7}.login-card{max-width:430px;width:100%;background:#fff;border:1px solid var(--line);border-radius:18px;padding:35px;box-shadow:0 12px 45px #23376906}.login-icon{background:#f0f3ff;color:var(--blue);border-radius:12px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;margin-bottom:23px}.login-card h1{font-size:29px;letter-spacing:-.7px}.login-card>p{font-size:15px;color:#93a0b2;line-height:1.8;margin:14px 0 26px}.login-card label{font-size:14px;color:#7f8ea3}.login-card input{display:block;width:100%;margin:9px 0 18px}.login-card>.button{width:100%;justify-content:space-between}.login-footer{font-size:13px;color:#a5afbe;margin-top:30px}.login-card>.error-inline{color:var(--red);margin-bottom:0}.loading-screen{display:flex;min-height:100vh;align-items:center;justify-content:center;flex-direction:column;gap:20px;font-size:15px;color:#8190a5}.loader{width:28px;height:28px;border-radius:50%;border:2px solid #DEE5FF;border-top-color:var(--blue);animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1600px){.main-content{padding-top:48px}.kpi{min-height:167px;padding:24px}.kpi-number{font-size:38px}.kpi-label{font-size:15px}.trend{font-size:14px}.kpi-foot{font-size:13px}.donut{width:170px;height:170px;padding:24px}.donut-content{gap:28px}.panel{padding:26px}.chart-wrap{min-height:220px}.date-main strong{font-size:18px}.date-label{font-size:13px}.date-action{font-size:14px}.date-strip{padding:20px}.main-content{padding-left:55px;padding-right:55px}}@media(max-width:1250px){.sidebar{width:190px;padding-left:15px;padding-right:15px}.workspace{margin-left:190px;width:calc(100% - 190px)}.main-content{padding:30px 26px}.topbar{padding:0 26px}.date-label{display:none}.date-strip{gap:10px}.date-main{min-width:160px}.date-main strong{font-size:14px}.date-main small{font-size:13px}.kpi{padding:17px 14px}.kpi-number{font-size:28px}.kpi-label{font-size:13px;gap:6px}.kpi-label svg{width:15px}.sparkline{width:38px;opacity:.5}.analytics-grid{gap:16px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.panel{padding:20px 17px}.panel h2{font-size:16px}.panel-heading h2{gap:7px}.panel-heading h2 svg{width:17px}.donut-content{flex-direction:column;gap:12px;margin-top:17px}.donut{width:126px;height:126px;padding:18px}.donut strong{font-size:20px}.expense-legend{width:100%}.expense-legend>div{padding:6px 0}.revenue-panel{display:flex;flex-direction:column}.revenue-panel .panel-heading{flex-wrap:wrap}.revenue-panel .chart-wrap{flex:1}.app-footer{padding-left:26px;padding-right:26px}.trend,.kpi-foot{font-size:12px}.kpi-grid{gap:12px}.topbar{height:65px}}@media(max-width:1000px){.date-strip{flex-wrap:wrap}.date-main{flex-basis:calc(100% - 220px)}.date-action{margin-left:auto}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-label{font-size:14px}.kpi-number{font-size:34px}.trend{font-size:14px}.kpi-foot{font-size:13px}.sparkline{width:65px}.kpi{min-height:153px}.analytics-grid{grid-template-columns:minmax(0,1fr)}.donut-content{flex-direction:row;gap:30px;min-height:165px;margin-top:0;justify-content:center}.donut{width:145px;height:145px;padding:21px}.expense-legend{max-width:260px}.expense-legend>div{padding:10px 0}.chart-wrap{min-height:180px}.compare-filters{gap:8px;flex-wrap:wrap}.compare-filters label{font-size:14px}.toolbar{align-items:flex-start}.import-panel{flex-wrap:wrap}.import-panel>.button{margin-left:78px}.day-summary{gap:12px}.day-total{padding:17px 12px}.day-total span{font-size:14px}.day-total strong{font-size:26px}.report-filter{width:160px}.page-heading h1{font-size:31px}.date-controls{margin-left:auto}.date-action{margin-left:0}}@media(max-width:760px){.sidebar{display:none}.sidebar.mobile-open{display:flex;width:222px;box-shadow:20px 0 80px #15233f55;padding-top:25px;padding-bottom:65px}.workspace{margin:0;width:100%}.topbar{height:62px;padding:0 20px;gap:12px}.topbar>span{margin-right:auto;gap:10px;font-size:13px}.topbar strong{font-size:17px}.topbar>div{gap:8px}.mobile-menu{display:inline-flex;border:0;background:transparent;width:22px}.topbar .demo-badge{font-size:12px;padding:4px}.topbar .avatar{width:27px;height:27px;font-size:14px}.main-content{padding:25px 20px 27px}.page-heading{margin-bottom:22px;gap:14px;align-items:flex-start}.page-heading h1{font-size:30px}.page-heading>div>p:not(.eyebrow){font-size:14px;line-height:1.7;margin-top:7px}.eyebrow{font-size:12px;letter-spacing:1.5px;margin-bottom:8px}.report-filter{width:143px;flex-shrink:0}.report-filter>span{font-size:12px}.report-filter input{font-size:14px;padding:8px;height:35px}.date-strip{padding:16px;gap:12px;margin-bottom:15px}.date-main{flex-basis:100%;min-width:0}.date-main strong{font-size:17px;line-height:1.5}.date-main small{font-size:14px;margin-top:6px}.date-controls{margin:0;flex:1}.date-controls .icon-button{width:31px;height:31px}.date-action{font-size:14px;min-height:33px}.today-button{font-size:14px}.badge{font-size:12px}.missing-notice{font-size:13px;line-height:1.7;align-items:flex-start;padding:0 2px}.missing-notice svg{flex-shrink:0;margin-top:2px}.missing-notice>span{font-size:0;flex-shrink:0}.missing-notice>span svg{width:16px}.kpi-grid{gap:12px;margin-bottom:18px}.kpi{min-height:140px;padding:17px 16px}.kpi-label{font-size:14px;white-space:normal;align-items:flex-start;line-height:1.4}.kpi-label svg{width:15px;height:15px;flex-shrink:0}.kpi-number{font-size:30px;line-height:1.1;margin:12px 0 10px;letter-spacing:-.8px}.sparkline{display:none}.trend{font-size:12px}.trend svg{width:12px}.kpi-foot{font-size:12px;line-height:1.6}.analytics-grid{gap:17px;margin-bottom:18px}.panel{padding:19px 16px;border-radius:12px}.panel h2{font-size:16px}.panel-heading{gap:8px}.panel-heading h2{gap:7px}.panel-subtitle{font-size:13px}.segmented button{font-size:13px;padding:5px 8px}.chart-wrap{min-height:140px;margin-top:10px}.chart-legend{font-size:12px;margin-top:8px}.revenue-panel .panel-heading{flex-wrap:nowrap}.donut-content{gap:24px;min-height:170px}.donut{width:138px;height:138px;padding:20px}.expense-legend>div{font-size:14px;padding:9px 0}.expense-legend strong{font-size:14px}.recent-panel .text-button{font-size:12px}.recent-panel td,.recent-panel th{font-size:14px;padding:11px 9px}.recent-panel th{font-size:12px}.recent-panel td:nth-child(5),.recent-panel th:nth-child(5){display:none}.table-scroll table{min-width:450px}.recent-panel table{min-width:370px}.status{font-size:12px}.app-footer{padding:0 20px 90px;font-size:12px}.bottom-nav{position:fixed;bottom:0;inset-inline:0;background:#fffffff5;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-around;padding:11px 10px calc(10px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);z-index:40}.bottom-nav button{background:transparent;border:0;display:flex;flex-direction:column;align-items:center;gap:6px;color:#9aa6b8;font-size:12px;min-width:60px;padding:0}.bottom-nav button.active{color:var(--blue);font-weight:600}.toast{bottom:95px;font-size:14px;padding:12px 15px}.error-banner{font-size:14px;top:12px}.page-heading>.button-group{flex-direction:column}.button{padding:11px 13px;font-size:14px}.toolbar{flex-wrap:wrap;gap:15px}.compare-filters{gap:10px}.compare-filters label{font-size:14px}.compare-filters select{padding:7px}.comparison-table td{font-size:14px}.comparison-table th{font-size:12px}.footnote{font-size:13px}.import-panel{gap:15px;padding:23px 18px}.import-icon{width:40px;height:40px;border-radius:9px}.import-panel h2{font-size:15px}.import-panel>div:nth-child(2){flex-basis:calc(100% - 60px)}.import-panel p{font-size:14px}.import-panel>.button{margin-left:55px;font-size:14px}.day-summary{grid-template-columns:1fr;gap:10px;margin:18px 0}.day-total{flex-direction:row;align-items:center;gap:12px;padding:20px}.day-total strong{margin-left:auto;font-size:28px}.day-total span{font-size:14px}.day-total svg{width:20px}.day-empty{padding:40px 20px}.day-empty h2{font-size:18px}.day-empty p{font-size:14px;line-height:1.7}.settings-panel{padding:24px}.settings-panel dl>div{font-size:14px;gap:10px}.settings-panel p{font-size:14px}.modal-backdrop{padding:0;align-items:flex-end}.entry-modal{max-height:96dvh;width:100%;border-radius:18px 18px 0 0}.modal-header{padding:21px 20px 18px}.modal-header h2{font-size:18px;line-height:1.6;display:block}.modal-header .badge{margin-top:6px}.entry-body{padding:21px 20px}.closed-check{font-size:14px;margin-bottom:23px;gap:7px}.closed-check small{font-size:13px;margin-left:25px;flex-basis:100%}.form-section-heading{gap:10px;flex-wrap:wrap}.form-section-heading h3{font-size:15px}.form-section .segmented{margin-left:auto}.form-section .segmented button{font-size:12px;padding:6px 7px}.large-money{padding:15px 17px}.large-money input{font-size:38px}.expense-row{grid-template-columns:minmax(0,1fr) 105px 28px;gap:8px;margin:0 0 14px;padding-bottom:14px;border-bottom:1px solid #F0F2F6}.expense-description{grid-row:2;grid-column:1/3}.expense-row .money-input{grid-column:2;grid-row:1}.expense-row>.icon-button{grid-column:3;grid-row:1}.expense-row select,.expense-row input{font-size:14px}.entry-footer{padding:16px 20px calc(16px + env(safe-area-inset-bottom));gap:13px}.entry-footer small{font-size:12px}.entry-footer strong{font-size:27px}.entry-footer .button{font-size:14px;gap:6px;padding:12px}.entry-footer .button svg{width:14px}.dialog{margin:20px;width:calc(100% - 40px);padding:24px}.confirmation,.modal-backdrop:has(.import-dialog){align-items:center}.dialog h2{font-size:19px}.import-dialog{max-height:90dvh;overflow-y:auto}.login-screen{padding:25px}.login-card{padding:28px}.login-card h1{font-size:27px}.welcome-note,.welcome-note p{font-size:14px}.settings-panel .button-group{gap:7px}}@media(max-width:420px){.page-heading:has(.report-filter){flex-wrap:wrap;gap:14px}.report-filter{width:100%;flex-direction:row;align-items:center;justify-content:space-between}.report-filter input{width:165px}.date-main strong{font-size:15px}.date-controls{gap:4px}.date-controls .icon-button{width:28px}.today-button{padding:4px 7px;margin-left:2px;font-size:13px}.date-action{font-size:13px;padding:10px}.kpi{padding:15px 12px}.kpi-number{font-size:28px}.kpi-label{font-size:13px;gap:6px}.kpi-foot{font-size:12px}.topbar>span{font-size:0;gap:0}.topbar>span i{display:none}.topbar strong{font-size:17px}.donut-content{gap:17px}.donut{width:120px;height:120px;padding:17px}.donut strong{font-size:19px}.revenue-panel .panel-heading{flex-wrap:wrap}.main-content{padding-left:16px;padding-right:16px}.panel-heading h2{font-size:15px}.form-section .segmented{margin-left:0}.form-section-heading:has(.segmented){gap:12px}.entry-footer strong{font-size:24px}.entry-footer .button{font-size:13px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.discard-draft{display:flex;margin-bottom:5px;color:#8a98ad}.date-strip{border-color:#cdd6ff;padding:19px 20px;gap:17px}.date-action.button.primary{min-height:60px;min-width:225px;padding:12px 19px;gap:13px;border-radius:11px;background:#4568fe;box-shadow:0 6px 16px #4568fe33;border:1px solid #3F60ED;text-align:left}.date-action.button.primary:hover{background:#3557ef;box-shadow:0 7px 20px #4568fe44}.date-action>span{display:flex;flex-direction:column;gap:4px;flex:1}.date-action strong{font-size:17px;font-weight:700;letter-spacing:0}.date-action small{font-size:14px;font-weight:400;color:#e5ebff}.day-empty .button.primary{min-height:53px;padding:15px 25px;font-size:17px;box-shadow:0 6px 16px #4568fe2b}@media(max-width:1250px){.date-strip{flex-wrap:wrap}.date-main{flex:1;min-width:220px}.date-action.button.primary{margin-left:auto;min-width:215px}.date-action strong{font-size:16px}}@media(max-width:760px){.date-strip{padding:18px;gap:15px}.date-main{flex-basis:100%;min-width:0}.date-controls{justify-content:flex-start}.date-action.button.primary{width:100%;min-height:59px;margin:2px 0 0;padding:13px 19px;gap:14px}.date-action strong{font-size:18px}.date-action small{font-size:14px}.date-action>svg:last-child{margin-left:auto}.day-empty .button.primary{width:100%;font-size:16px}}.report-filter{width:285px}.report-period{display:flex;align-items:flex-end;gap:9px}.year-select{display:flex;align-items:center;gap:9px;font-size:14px;color:#8190a5}.report-period .year-select{flex-direction:column;align-items:flex-start;gap:5px;font-size:12px}.year-select select{min-width:91px;font-size:15px;padding:10px 12px}.report-period>select{flex:1;font-size:15px;height:39px}.archive-period{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.archive-period>select{font-size:15px;padding:10px 12px}.historical-entry-banner{background:#edf1ff;border:1px solid #D7DFFF;border-radius:12px;padding:20px 23px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.historical-entry-banner>div{display:flex;align-items:center;gap:15px}.historical-entry-banner>div>svg{color:var(--blue);flex-shrink:0}.historical-entry-banner strong{display:block;font-size:17px;font-weight:600}.historical-entry-banner small{display:block;font-size:14px;line-height:1.8;color:#8898b6;margin-top:5px}.historical-entry-banner>.button{min-height:50px;box-shadow:0 5px 15px #4568fe2b;font-size:16px;padding:13px 21px}.monthly-table .button{font-size:14px;min-height:31px;padding:7px 11px}.monthly-table td{padding-top:13px;padding-bottom:13px}.monthly-table tfoot{background:#f7f9fd}.monthly-table tfoot th{font-size:14px;color:var(--navy);font-weight:600;padding-top:17px;padding-bottom:17px}.monthly-row-actions{display:flex;align-items:center;gap:8px}.monthly-row-actions>.icon-button{width:25px;height:25px}.monthly-description{color:#8a99af;font-size:15px;line-height:1.8;margin-bottom:22px}.monthly-expenses{margin-top:25px}.monthly-expenses>.panel-subtitle{margin-top:12px}.monthly-category-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.monthly-category-grid label{font-size:14px;color:#8b99ad}.monthly-category-grid .money-input{margin-top:8px}.monthly-total-expense{background:#fcf8f6;border-color:#eee3dc}.monthly-total-expense input{color:#b7755f}.monthly-total-expense b{color:#cbaa9e}.monthly-modal{max-width:640px}@media(max-width:1000px){.report-filter{width:230px}.report-period{gap:7px}.report-period>select{font-size:14px}.report-period .year-select select{min-width:80px;font-size:14px}.historical-entry-banner{padding:18px;flex-wrap:wrap}.historical-entry-banner>.button{margin-left:auto}}@media(max-width:760px){.page-heading:has(.report-filter){flex-wrap:wrap}.report-filter{width:100%;flex-direction:column;align-items:stretch;gap:8px}.report-period{align-items:center;width:100%;gap:10px}.report-period .year-select{flex-direction:row;align-items:center;font-size:14px;gap:8px}.report-period .year-select select{width:95px;min-width:95px;height:39px;font-size:15px}.report-period>select{font-size:15px;height:39px}.historical-entry-banner{padding:18px;gap:19px}.historical-entry-banner>div{gap:12px}.historical-entry-banner strong{font-size:16px}.historical-entry-banner small{font-size:14px}.historical-entry-banner>.button{width:100%;font-size:17px;min-height:53px}.archive-period{width:100%;gap:10px;justify-content:space-between}.archive-period .year-select,.archive-period .button{font-size:14px}.archive-period>select{max-width:150px}.monthly-table{min-width:590px!important}.monthly-table .button{font-size:13px}.monthly-table td,.monthly-description{font-size:14px}.monthly-category-grid{gap:14px}.monthly-category-grid label{font-size:14px}.monthly-modal{max-width:100%}.monthly-modal .entry-footer .button{font-size:14px}.monthly-expenses .check-label{font-size:14px;display:flex;align-items:center;gap:7px}}.kpi-label{white-space:normal;line-height:1.5;min-height:44px;align-items:flex-start}.kpi-label svg{width:20px;height:20px;flex-shrink:0;margin-top:2px}.kpi{padding:23px 20px;min-height:205px}.kpi-number{line-height:1.2;margin-top:15px;margin-bottom:12px}.trend{white-space:normal;line-height:1.6}.kpi-foot{line-height:1.6}.panel{padding:25px}.panel-heading{gap:16px;flex-wrap:wrap}.panel h2{line-height:1.5}.panel-subtitle,.footnote,.import-panel p,.monthly-description{line-height:1.8}th,td{padding:16px 13px}.recent-panel td,.recent-panel th{padding:15px 12px}.table-scroll table{min-width:650px}.comparison-table{min-width:1000px}.monthly-table{min-width:850px}.status,.tiny-badge{line-height:1.5;padding:5px 9px}.status svg{width:15px;height:15px}.date-main strong,.date-main small{line-height:1.6}.date-main{min-width:250px}.date-label{line-height:1.5;max-width:160px}.date-controls .icon-button{height:36px;width:34px}.today-button{height:36px}.date-action.button.primary{min-width:255px;min-height:69px;padding:14px 20px}.year-select select,.report-period>select,.archive-period>select{min-height:45px}.report-filter{width:310px}.report-period{gap:12px}.report-period .year-select select{min-width:105px}.expense-legend>div{padding:13px 0;gap:14px}.expense-legend strong{flex-shrink:0}.expense-legend span{line-height:1.5}.donut{width:165px;height:165px;padding:23px}.donut-content{gap:24px;min-height:240px}.expense-row{grid-template-columns:155px minmax(120px,1fr) 125px 34px;gap:11px}.expense-row input,.expense-row select{padding:12px}.expense-row .icon-button{width:34px;height:39px}.large-money>div{gap:20px}.closed-check,.closed-check small{line-height:1.7}.notes-label{line-height:1.6}.entry-footer small{line-height:1.5}.entry-footer{gap:24px;padding:21px 30px}.entry-footer .button{min-height:48px}.entry-modal{width:820px}.monthly-modal{max-width:680px}.monthly-category-grid label{line-height:1.7}.monthly-row-actions{gap:10px}.monthly-table .button{min-height:39px;padding:9px 13px}.monthly-row-actions>.icon-button{width:30px;height:33px}.sidebar nav button,.settings-link{padding-top:17px;padding-bottom:17px}.brand>span{line-height:1.7;letter-spacing:1px}.topbar>span{line-height:1.5}.bottom-nav button{line-height:1.4}@media(max-width:1600px){.kpi .sparkline{display:none}.donut-content{flex-wrap:wrap;justify-content:center}.expense-legend{min-width:170px;max-width:none}}@media(max-width:1350px)and (min-width:761px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.date-strip{flex-wrap:wrap}.date-action.button.primary{margin-left:auto}.date-label{display:none}}@media(max-width:1000px){.report-filter{width:270px}.analytics-grid{grid-template-columns:1fr}.donut-content{flex-wrap:nowrap}.expense-legend{max-width:320px}.date-main{min-width:220px}}@media(max-width:760px){.page-heading h1{font-size:30px}.page-heading>div>p:not(.eyebrow){font-size:15px}.report-filter{width:100%}.report-period .year-select,.archive-period .year-select{font-size:14px}.report-period .year-select select{font-size:16px;width:105px;min-width:105px}.report-period>select{font-size:16px}.kpi-grid{gap:13px}.kpi{padding:19px 16px;min-height:205px}.kpi-label{font-size:14px;min-height:44px;gap:7px}.kpi-label svg{width:17px;height:17px}.kpi-number{font-size:29px;letter-spacing:-1px}.trend,.kpi-foot{font-size:12px}.panel{padding:22px 18px}.panel h2,.panel-heading h2{font-size:18px}.panel-subtitle{font-size:13px}.revenue-panel .panel-heading{flex-wrap:wrap}.segmented button{font-size:14px;padding:8px 10px}.chart-legend{font-size:13px;gap:18px;margin-top:12px}.chart-wrap{min-height:190px}.chart-tooltip{font-size:13px;left:15%}.donut-content{flex-wrap:wrap;gap:20px;padding:12px 0}.donut{width:155px;height:155px;padding:22px}.donut strong{font-size:23px}.donut small{font-size:12px}.expense-legend{min-width:100%;max-width:none}.expense-legend>div,.expense-legend strong{font-size:15px}.date-main{min-width:0}.date-main strong{font-size:17px}.date-main small{font-size:13px}.date-action.button.primary{min-width:0;min-height:69px}.date-action strong{font-size:18px}.date-action small{font-size:13px}.badge{font-size:12px}.today-button{font-size:14px;padding:8px 13px}.date-controls .icon-button{width:37px;height:37px}.table-scroll table{min-width:650px}.recent-panel table{min-width:580px}.monthly-table{min-width:820px!important}.recent-panel td,.recent-panel th,.monthly-table td{font-size:14px}.comparison-table th,.recent-panel th,.recent-panel .text-button,.monthly-table .button{font-size:13px}.button{font-size:15px;padding:12px 16px;min-height:44px}.text-button{font-size:14px}.footnote{font-size:13px}.status,.tiny-badge{font-size:12px}.entry-modal{width:100%}.monthly-modal{max-width:100%}.modal-header h2{font-size:21px}.entry-body{padding:24px 20px}.form-section-heading h3{font-size:17px}.large-money>span{font-size:14px}.large-money input{font-size:40px}.large-money b{font-size:30px}.expense-row{grid-template-columns:minmax(0,1fr) 110px 34px;gap:9px}.expense-row select,.expense-row input,.notes-label textarea,.monthly-category-grid input{font-size:16px}.expense-row select{padding:12px 8px}.notes-label,.closed-check,.monthly-category-grid label{font-size:15px}.closed-check small{font-size:13px}.monthly-expenses .check-label{font-size:14px;line-height:1.5}.entry-footer{flex-wrap:wrap;padding:19px 20px calc(19px + env(safe-area-inset-bottom));gap:15px}.entry-footer small{font-size:13px}.entry-footer strong{font-size:29px}.entry-footer .button,.monthly-modal .entry-footer .button{font-size:15px;min-height:50px;width:100%}.historical-entry-banner strong{font-size:17px}.historical-entry-banner small{font-size:14px}.historical-entry-banner>.button{font-size:17px}.archive-period .button{font-size:14px}.monthly-description{font-size:15px}.settings-panel dl>div,.settings-panel p{font-size:15px}.import-panel h2{font-size:17px}.import-panel p{font-size:14px}.import-panel>.button{font-size:14px;margin-left:0}.day-empty h2{font-size:21px}.day-empty p{font-size:15px}.day-empty .button.primary{font-size:16px}.day-total span{font-size:15px}.day-total strong{font-size:28px}.bottom-nav button{font-size:12px;gap:7px}.bottom-nav{padding-top:13px;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.app-footer{padding-bottom:110px}.missing-notice{font-size:13px}.toast,.error-banner{font-size:14px}.toast{bottom:105px}.welcome-note,.welcome-note p{font-size:14px}.topbar .demo-badge{font-size:10px}.topbar>span{font-size:0}.topbar>span i{display:none}.topbar strong{font-size:18px}}@media(max-width:380px){.kpi-grid{grid-template-columns:1fr}.kpi{min-height:180px}.kpi-number{font-size:34px}.kpi-label{min-height:0}.date-main strong{font-size:16px}.day-total{flex-wrap:wrap}.day-total strong{font-size:26px}}@media(min-width:1100px)and (min-height:680px){.workspace:has(.dashboard-page){height:100dvh;min-height:0}.workspace:has(.dashboard-page)>.topbar{height:52px;min-height:52px;padding:0 30px;flex-shrink:0}.workspace:has(.dashboard-page)>.app-footer{display:none}.dashboard-page{max-width:none;flex:1;min-height:0;padding:14px 30px;display:grid;grid-template-areas:"heading" "entry" "notice" "kpis" "analytics" "recent";grid-template-rows:56px 76px auto 136px minmax(170px,1fr) 165px;gap:10px}.dashboard-page>.page-heading{grid-area:heading;margin:0;gap:20px;align-items:center}.dashboard-page>.page-heading .eyebrow,.dashboard-page>.page-heading>div>p:not(.eyebrow){display:none}.dashboard-page>.page-heading h1{font-size:30px;line-height:1.2}.dashboard-page .report-filter{width:auto;flex-direction:row;align-items:center;gap:13px;font-size:13px}.dashboard-page .report-period{align-items:center;gap:9px}.dashboard-page .report-period .year-select{flex-direction:row;align-items:center;font-size:13px;gap:7px}.dashboard-page .report-period select{min-height:38px;height:38px;padding:7px 10px;font-size:15px}.dashboard-page .report-period>select{min-width:145px}.dashboard-page>.date-strip,.dashboard-page>.historical-entry-banner{grid-area:entry;min-height:0;margin:0;padding:10px 16px;flex-wrap:nowrap;gap:13px}.dashboard-page .date-label{display:none}.dashboard-page .date-main{min-width:0;flex:1}.dashboard-page .date-main strong{font-size:17px;line-height:1.4}.dashboard-page .date-main small{font-size:13px;line-height:1.4;margin-top:3px}.dashboard-page .date-main .badge{font-size:12px;padding:3px 6px}.dashboard-page .date-action.button.primary{min-height:54px;min-width:225px;padding:9px 16px;margin:0;gap:11px}.dashboard-page .date-action strong{font-size:16px}.dashboard-page .date-action small{font-size:12px}.dashboard-page .today-button{font-size:14px}.dashboard-page>.missing-notice{grid-area:notice;margin:0;font-size:12px;line-height:1.4;min-height:18px}.dashboard-page>.kpi-grid{grid-area:kpis;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0;min-height:0}.dashboard-page .kpi{min-height:0;padding:13px 16px;border-radius:12px}.dashboard-page .kpi-label{min-height:21px;font-size:14px;line-height:1.4;gap:7px}.dashboard-page .kpi-label svg{width:17px;height:17px;margin-top:1px}.dashboard-page .kpi-number{font-size:32px;line-height:1.2;letter-spacing:-.7px;margin:7px 0 5px}.dashboard-page .kpi .sparkline{display:none}.dashboard-page .trend{font-size:12px;line-height:1.4;white-space:nowrap}.dashboard-page .kpi-foot{font-size:12px;line-height:1.4;margin-top:4px}.dashboard-page>.analytics-grid{grid-area:analytics;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:14px;margin:0;min-height:0}.dashboard-page .analytics-grid>.panel{padding:13px 17px;min-height:0;display:flex;flex-direction:column}.dashboard-page .panel-heading{margin-bottom:5px;flex-wrap:nowrap;gap:12px}.dashboard-page .panel h2{font-size:17px;line-height:1.3}.dashboard-page .panel-subtitle{font-size:12px;line-height:1.4}.dashboard-page .segmented button{font-size:13px;padding:5px 9px}.dashboard-page .chart-wrap{min-height:0;flex:1;align-items:stretch;margin-top:5px}.dashboard-page .chart-wrap>svg{width:100%;height:100%;min-height:0}.dashboard-page .chart-legend{font-size:12px;line-height:1.2;margin-top:1px;flex-shrink:0}.dashboard-page .donut-content{flex:1;min-height:0;gap:18px;flex-wrap:nowrap;justify-content:center}.dashboard-page .donut{width:clamp(100px,13vh,150px);height:clamp(100px,13vh,150px);padding:17px}.dashboard-page .donut strong{font-size:23px}.dashboard-page .donut small{font-size:11px}.dashboard-page .expense-legend{min-width:0;max-width:none;flex:1}.dashboard-page .expense-legend>div{padding:8px 0;gap:10px;font-size:13px}.dashboard-page .expense-legend strong{font-size:14px}.dashboard-page>.recent-panel{grid-area:recent;min-height:0;padding:11px 17px;display:flex;flex-direction:column}.dashboard-page .recent-panel>.table-scroll{flex:1;min-height:0}.dashboard-page .recent-panel table{min-width:600px;font-size:13px}.dashboard-page .recent-panel td,.dashboard-page .recent-panel th{padding:5px 10px;height:27px;font-size:13px}.dashboard-page .recent-panel th{font-size:12px}.dashboard-page .recent-panel .status,.dashboard-page .recent-panel .tiny-badge{font-size:11px;padding:2px 6px}.dashboard-page .recent-panel .text-button{font-size:13px}.dashboard-page .recent-panel .button{min-height:25px;padding:3px 8px;font-size:12px}.dashboard-page .recent-panel .icon-button{width:22px;height:22px}.dashboard-page .recent-panel tfoot{display:none}.dashboard-page>.welcome-note{display:none}.dashboard-page .empty{min-height:0;flex:1;padding:12px;font-size:14px;gap:8px}.dashboard-page .historical-entry-banner strong{font-size:17px}.dashboard-page .historical-entry-banner small{font-size:13px;line-height:1.4}.dashboard-page .historical-entry-banner>.button{min-height:52px;margin:0;font-size:16px}}@media(min-width:1100px)and (min-height:680px)and (max-height:800px){.workspace:has(.dashboard-page)>.topbar{height:46px;min-height:46px}.dashboard-page{padding:10px 24px;gap:8px;grid-template-rows:46px 68px auto 124px minmax(145px,1fr) 132px}.dashboard-page>.page-heading h1{font-size:27px}.dashboard-page .report-filter>span{display:none}.dashboard-page .date-main strong{font-size:16px}.dashboard-page .date-action.button.primary{min-height:50px}.dashboard-page .kpi{padding:10px 14px}.dashboard-page .kpi-label{font-size:13px;min-height:19px}.dashboard-page .kpi-number{font-size:29px;margin:5px 0 3px}.dashboard-page .kpi-foot,.dashboard-page .trend{font-size:12px}.dashboard-page .analytics-grid>.panel{padding:10px 15px}.dashboard-page .analytics-grid .panel-subtitle{display:none}.dashboard-page .panel h2{font-size:16px}.dashboard-page .donut{width:105px;height:105px;padding:15px}.dashboard-page .donut strong{font-size:20px}.dashboard-page .donut small{font-size:10px}.dashboard-page .expense-legend>div{padding:5px 0}.dashboard-page .recent-panel tbody tr:nth-child(n+3){display:none}.dashboard-page .recent-panel td,.dashboard-page .recent-panel th{height:26px;padding-top:4px;padding-bottom:4px}.dashboard-page .recent-panel{padding-top:9px;padding-bottom:9px}}@media(min-width:1100px)and (max-width:1300px)and (min-height:680px){.dashboard-page{padding-left:20px;padding-right:20px}.dashboard-page .date-main strong{font-size:15px}.dashboard-page .date-action.button.primary{min-width:210px}.dashboard-page .date-action strong{font-size:15px}.dashboard-page .kpi-label{min-height:37px;font-size:13px}.dashboard-page .kpi-number{font-size:28px;margin-top:3px}.dashboard-page .kpi-foot,.dashboard-page .trend{font-size:11px}.dashboard-page>.analytics-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}.dashboard-page .donut-content{gap:12px}.dashboard-page .donut{width:100px;height:100px;padding:14px}.dashboard-page .donut strong{font-size:19px}.dashboard-page .donut small{display:none}.dashboard-page .expense-legend>div{font-size:12px}.dashboard-page .expense-legend strong{font-size:13px}}.workspace,.main-content,.panel,.kpi,.analytics-grid,.recent-panel,.table-scroll{min-width:0}.table-scroll{display:block;width:100%;max-width:100%;contain:inline-size;overscroll-behavior-x:contain}@media(max-width:1099px){html,body,#root{width:100%;max-width:100%;overflow-x:hidden;overflow-x:clip;overscroll-behavior-x:none}.app-shell{width:100%;max-width:100%;min-width:0}.workspace{min-width:0;max-width:100%}.main-content{min-width:0;max-width:100%;box-sizing:border-box}.main-content>*,.analytics-grid>*,.kpi-grid>*,.day-summary>*{min-width:0;max-width:100%}.panel-heading,.form-section-heading,.page-heading,.toolbar,.button-group,.archive-period,.report-period{min-width:0;max-width:100%}.table-scroll{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.chart-wrap{min-width:0;max-width:100%}.chart-wrap>svg{min-width:0;max-width:100%;width:100%}.modal-header>div,.entry-footer>div{min-width:0}.entry-modal,.dialog{min-width:0}}@media(max-width:760px){.workspace{width:100%;max-width:100%;margin-left:0;flex:0 1 100%}.topbar{width:100%;max-width:100%;min-width:0;padding-left:16px;padding-right:16px;gap:10px}.topbar>span{min-width:0;flex:1;overflow:hidden}.topbar>div{min-width:0;flex-shrink:0;gap:6px}.topbar .demo-badge{max-width:125px;white-space:normal;line-height:1.3}.report-filter{width:100%;min-width:0;max-width:100%;flex-shrink:1}.report-period{display:grid;grid-template-columns:minmax(0,125px) minmax(0,1fr);gap:10px;width:100%}.report-period .year-select{display:flex;flex-direction:column;align-items:stretch;gap:5px;width:100%;min-width:0}.report-period .year-select select{width:100%;min-width:0;max-width:100%}.report-period>select{align-self:end;width:100%;min-width:0;max-width:100%;height:45px}.date-strip,.historical-entry-banner{width:100%;min-width:0;max-width:100%}.date-main{min-width:0;max-width:100%;flex-basis:100%}.date-main>div{min-width:0;max-width:100%;flex-wrap:wrap}.date-main strong{overflow-wrap:anywhere}.date-controls{min-width:0;max-width:100%;flex-wrap:wrap}.date-action.button.primary{width:100%;max-width:100%;min-width:0;white-space:normal}.date-action>span{min-width:0}.date-action strong{overflow-wrap:anywhere}.historical-entry-banner>div{min-width:0}.historical-entry-banner>div>span{min-width:0;overflow-wrap:anywhere}.historical-entry-banner>.button{width:100%;min-width:0;white-space:normal}.expense-legend{min-width:0;width:100%;max-width:100%;flex-basis:100%}.donut-content{max-width:100%;min-width:0}.missing-notice{min-width:0;max-width:100%;overflow-wrap:anywhere}.compare-filters{width:100%;min-width:0;max-width:100%;flex-wrap:wrap}.compare-filters label{min-width:0;max-width:100%;flex-wrap:wrap}.monthly-row-actions{width:max-content}.import-panel>div:nth-child(2){min-width:0;max-width:100%}.import-panel>.button{max-width:100%;white-space:normal;margin-left:0}.settings-panel dl>div{min-width:0}.settings-panel dd{min-width:0;overflow-wrap:anywhere}.day-total{min-width:0}.day-total>span{min-width:0}.modal-header h2,.dialog h2{overflow-wrap:anywhere}.large-money input,.money-input input,.notes-label textarea{min-width:0;max-width:100%}.expense-row>*,.monthly-category-grid>*,.split-fields>*{min-width:0}.expense-row select{max-width:100%;width:100%}.entry-footer .button{min-width:0;max-width:100%;white-space:normal}.dialog-actions{min-width:0;flex-wrap:wrap}.dialog-actions>.button{min-width:0;max-width:100%;white-space:normal}.bottom-nav{width:100%;max-width:100%;box-sizing:border-box}.bottom-nav button{min-width:0;flex:1;font-size:12px}}@media(max-width:360px){.topbar .demo-badge{max-width:95px;font-size:9px}.report-period{grid-template-columns:minmax(0,100px) minmax(0,1fr)}.expense-row{grid-template-columns:minmax(0,1fr) 92px 32px}}.table-scroll{position:relative;isolation:isolate}.sr-only{top:0;left:0;clip-path:inset(50%)}.period-trigger{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;min-height:48px;width:100%;padding:11px 15px;border:1px solid #D9E1EF;border-radius:12px;background:#fff;color:#233950;font:inherit;font-size:16px;text-align:left;box-shadow:0 2px 3px #22395703;transition:border-color .15s,box-shadow .15s}.period-trigger:hover{border-color:#9daced;background:#fbfcff}.period-trigger[aria-expanded=true]{border-color:#6d86ff;box-shadow:0 0 0 3px #4568fe16}.period-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.period-trigger>svg{transform:rotate(90deg);color:#8291ad;flex-shrink:0}.report-period .year-select{min-width:0}.report-period .period-trigger-year{min-width:96px}.report-period>.period-trigger-month{flex:1;align-self:end;width:auto;min-width:0}.archive-period>.period-trigger{width:auto;min-width:170px}.archive-period .year-select{min-width:0}.archive-period .year-select .period-trigger{min-width:100px}.compare-period-field{display:flex;align-items:center;gap:9px;min-width:0;font-size:14px}.compare-period-field>.period-trigger{min-width:105px;width:105px}.period-overlay{position:fixed;inset:0;z-index:140;background:#17283c55;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:24px;overscroll-behavior:contain}.period-dialog{width:440px;max-width:100%;max-height:min(85dvh,680px);display:flex;flex-direction:column;background:#fff;border:1px solid #E1E7F2;border-radius:22px;box-shadow:0 24px 80px #10254530;overflow:hidden}.period-dialog-header{display:flex;align-items:center;gap:13px;padding:23px 24px 19px;border-bottom:1px solid #EDF0F7;flex-shrink:0}.period-dialog-icon{width:43px;height:43px;background:#eef2ff;color:#4568fe;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.period-dialog-header>div:nth-child(2){min-width:0;flex:1}.period-dialog-header h2{font-size:19px;line-height:1.4;font-weight:600;letter-spacing:-.3px}.period-dialog-header p{margin-top:5px;font-size:13px;color:#8998ae;line-height:1.5}.period-close{width:38px;height:38px;border:0;border-radius:50%;background:#f3f5fa;display:flex;align-items:center;justify-content:center;color:#8391a5;flex-shrink:0}.period-close:hover{background:#e9eef8}.period-options{display:grid;gap:10px;padding:20px 24px 24px;overflow-y:auto;min-height:0;overscroll-behavior:contain}.period-options-year{grid-template-columns:repeat(3,minmax(0,1fr))}.period-options-month{grid-template-columns:repeat(2,minmax(0,1fr))}.period-option{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:56px;padding:14px 10px;border:1px solid #E3E8F1;border-radius:12px;background:#fafbfd;color:#40546e;font-size:18px;font-weight:500;line-height:1.4;text-align:center;transition:border-color .15s,background .15s}.period-option:hover:not(:disabled){background:#eff3ff;border-color:#a7b7fd}.period-option.is-selected{background:#4568fe;border-color:#4568fe;color:#fff;box-shadow:0 4px 11px #4568fe26;font-weight:600}.period-options-month .period-option{justify-content:space-between;font-size:16px;padding:15px 13px}.period-option:disabled{opacity:.38;background:#f7f8fb;color:#9ca7b7}.period-option>svg{flex-shrink:0}.period-options-year .period-option>svg{position:absolute;right:9px;width:14px}@media(min-width:1100px)and (min-height:680px){.dashboard-page .report-period,.dashboard-page .report-period .year-select{align-items:center}.dashboard-page .period-trigger{min-height:40px;padding:7px 12px;font-size:15px}.dashboard-page .report-period>.period-trigger-month{align-self:center;min-width:155px}}@media(max-width:760px){.report-period .year-select .period-trigger,.report-period>.period-trigger-month{width:100%;min-width:0;min-height:50px;max-width:100%;font-size:17px}.report-period>.period-trigger-month{align-self:end}.archive-period>.period-trigger-month{flex:1;min-width:0;max-width:190px}.archive-period .year-select .period-trigger{min-width:100px}.compare-period-field{flex-direction:column;align-items:stretch;gap:6px;flex:1}.compare-period-field>.period-trigger{min-width:0;width:100%;font-size:17px}.period-overlay{align-items:flex-end;padding:0;background:#17283c66}.period-dialog{width:100%;max-width:100%;max-height:85dvh;border-radius:24px 24px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.period-dialog-header{padding:21px 20px 18px}.period-dialog-header h2{font-size:20px}.period-dialog-header p{font-size:14px}.period-options{padding:18px 20px 24px;gap:12px}.period-option{min-height:58px;font-size:19px;padding:15px 9px}.period-options-month .period-option{font-size:16px;min-height:58px;padding:15px 12px}}@media(max-width:360px){.period-dialog-header{padding:19px 16px}.period-dialog-header h2{font-size:18px}.period-dialog-header p{font-size:13px}.period-options{padding-left:16px;padding-right:16px;gap:9px}.period-options-month .period-option{font-size:15px}.period-options-year .period-option>svg{right:6px;width:12px}}@media(prefers-reduced-motion:reduce){.period-trigger,.period-option{transition:none}}.password-settings{max-width:650px;margin-top:22px;padding:29px 32px}.password-settings-heading{display:flex;align-items:center;gap:14px;margin-bottom:26px}.password-settings-icon{width:46px;height:46px;border-radius:12px;background:#edf1ff;color:#4568fe;display:flex;align-items:center;justify-content:center;flex-shrink:0}.password-settings-heading h2{font-size:20px;line-height:1.4}.password-settings-heading p{font-size:14px;color:#8a99ae;line-height:1.7;margin-top:5px}.password-settings fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:20px}.password-settings fieldset>label{display:flex;flex-direction:column;gap:8px;font-size:15px;color:#51657f;min-width:0}.password-settings input:not([type=checkbox]){width:100%;min-width:0;max-width:100%;min-height:47px;font-size:16px;letter-spacing:.2px}.password-settings label>small{font-size:13px;color:#98a4b5}.password-settings fieldset>.password-show{flex-direction:row;align-items:center;gap:9px;font-size:14px}.password-settings .button{margin-top:24px;min-height:47px;font-size:15px}.password-message{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.7;padding:13px 15px;border-radius:9px;margin-top:20px}.password-message svg{flex-shrink:0;margin-top:3px}.password-message.error{background:#fff3ef;color:#ad6250}.password-message.success{background:#eef7f2;color:#39816d}@media(max-width:760px){.password-settings{padding:24px 20px;max-width:100%}.password-settings-heading{align-items:flex-start;gap:12px}.password-settings-heading h2{font-size:20px}.password-settings-heading p{font-size:14px}.password-settings .button{width:100%;font-size:15px}.password-settings fieldset>label{font-size:15px}.password-settings input:not([type=checkbox]){font-size:16px}.password-message{font-size:14px}}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}.settings-grid>.panel{width:100%;max-width:none;min-width:0;margin:0}@media(min-width:1100px){.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.monthly-history-link{margin:12px 0 16px;flex-wrap:wrap;text-align:left;line-height:1.6}
