.import-panel{max-width:990px;padding:clamp(14px,3vw,27px)}.import-steps{flex-wrap:wrap;gap:6px 14px;margin:0 0 23px;padding:0;list-style:none;display:flex}.import-steps li{color:var(--muted);align-items:center;gap:6px;font-size:.82rem;font-weight:600;display:flex}.import-steps li span{background:#eef1ed;border-radius:50%;place-items:center;width:22px;height:22px;font-size:.73rem;display:grid}.import-steps li.active{color:#284d3b}.import-steps li.active span{color:#294a38;background:#dae9d9}.upload-drop{text-align:center;background:#f9fbf7;border:1px dashed #bdcebd;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:233px;padding:19px;display:flex}.upload-drop.dragging{background:#e9f3e5;border-color:#547b62}.upload-drop p,.import-success p{color:var(--muted);font-size:.87rem}.upload-icon,.import-success-icon{color:#44644f;background:#e9f0e5;border-radius:12px;place-items:center;width:49px;height:49px;display:grid}.csv-example{margin-top:10px}.import-config h2,.import-review h2{margin-bottom:5px}.import-fields{grid-template-columns:repeat(auto-fit,minmax(min(215px,100%),1fr));gap:12px;display:grid}.sample-table,.preview-table{border:1px solid var(--border);border-radius:8px}.sample-table caption{text-align:left;color:var(--muted);padding:9px 13px;font-size:.82rem}.preview-table{max-height:460px;margin:14px 0}.preview-table thead{position:sticky;top:0}.preview-table th:first-child,.preview-table td:first-child{text-align:center}.preview-table td:last-child{white-space:nowrap}.import-status.ready{color:#3b5848;background:#edf4eb}.import-status.possible_duplicate{color:#765223;background:#fff2df}.import-status.invalid{color:#8f3e34;background:#fbefed}.import-panel>.message{margin-top:13px}.import-success{text-align:center;justify-items:center;gap:10px;padding:25px 10px;display:grid}.import-actions{flex-wrap:wrap;justify-content:center;gap:7px;margin-top:7px;display:flex}:root{color:#232c27;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--paper:#fff;--canvas:#f7f8f4;--ink:#232c27;--muted:#5f6d64;--border:#e4e9e2;--accent:#253e32;--accent-hover:#365747;--accent-light:#e9f0e7;--orange-bg:#f9eee7;--orange-text:#995131;--shadow:0 2px 5px #27392a06;background:#f7f8f4;font-family:Inter,Avenir Next,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:300px;margin:0}h1,h2,h3,p{margin:0}h1,h2,strong{letter-spacing:-.035em}h1{font-size:clamp(2rem,4vw,2.75rem);font-weight:720;line-height:1.06}h2{font-size:1.1rem;line-height:1.3}a{color:inherit}button,input,select{font:inherit}button,select,input[type=checkbox]{cursor:pointer}button:disabled,select:disabled{cursor:not-allowed}:focus-visible{outline-offset:3px;outline:2px solid #587b6a}::selection{color:#293a30;background:#e4eddf}.visually-hidden,.skip-link:not(:focus){clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:10;background:var(--paper);padding:.65rem;position:fixed;top:.5rem;left:.5rem}.workspace{grid-template-columns:234px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{border-right:1px solid var(--border);background:#fff;flex-direction:column;gap:43px;height:100dvh;padding:31px 18px 17px;display:flex;position:sticky;top:0}.brand-link{border-radius:8px;align-self:flex-start;margin-left:8px;text-decoration:none}.brand{letter-spacing:-.065em;align-items:center;gap:10px;font-size:1.39rem;font-weight:760;display:inline-flex}.brand-mark{color:#fff;background:#375445;border-radius:11px;place-items:center;width:37px;height:37px;display:grid}.navigation{gap:5px;display:grid}.navigation a{color:#55655a;white-space:nowrap;border-radius:9px;align-items:center;gap:12px;padding:11px 12px;font-size:.91rem;font-weight:540;text-decoration:none;display:flex}.navigation a:hover{background:var(--canvas);color:var(--ink)}.navigation a[aria-current=page]{background:var(--accent-light);color:#2f5140;font-weight:680}.sidebar-account{border-top:1px solid var(--border);align-items:center;gap:9px;margin-top:auto;padding:15px 1px 0;display:flex}.avatar{color:#764d34;background:#f3e9de;border-radius:50%;flex:none;place-items:center;width:33px;height:33px;font-size:.82rem;font-weight:700;display:grid}.user-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.85rem;font-weight:600;overflow:hidden}.sidebar-account button{flex-shrink:0;margin-left:auto}.workspace-main{width:100%;max-width:1520px;margin-inline:auto;padding:43px clamp(24px,3.3vw,52px) 48px}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 24px;margin-bottom:27px;display:flex}.page-title p,.panel-heading p{color:var(--muted);margin-top:7px;font-size:.89rem}.page-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.button,.icon-button{white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:39px;font-size:.85rem;font-weight:670;text-decoration:none;transition:background-color .18s,border-color .18s;display:inline-flex}.button{padding:8px 13px}.button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.button.primary:hover{background:var(--accent-hover)}.button.secondary{background:var(--paper);color:#334b3e;border-color:#dce4db}.button.secondary:hover,.icon-button:hover{background:#f1f5ee}.button.text{color:#315440;background:0 0;padding-inline:7px}.button.text:hover{background:var(--accent-light)}.button.danger{color:#fff;background:#a23932}.button:disabled,.icon-button:disabled{opacity:.48}.icon-button{color:#516259;background:0 0;width:36px;min-height:36px;padding:0}.month-picker{background:var(--paper);border:1px solid #dfe6dd;border-radius:8px;align-items:center;min-height:39px;display:flex}.month-picker .icon-button{border-radius:6px;width:34px;min-height:35px}.month-label{place-items:center;min-width:128px;padding-inline:7px;font-size:.8rem;font-weight:630;display:grid;position:relative}.month-label input{opacity:0;width:100%;min-height:35px;padding:0;position:absolute;inset:0}.month-label input::-webkit-calendar-picker-indicator{cursor:pointer;width:auto;height:auto;position:absolute;inset:0}.month-label:focus-within{outline:2px solid #587b6a}.panel{background:var(--paper);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:14px;min-width:0}.panel-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.panel-heading p{margin-top:5px;font-size:.79rem}.message,.toast{color:#325244;background:#edf5ed;border:1px solid #dbe8dc;border-radius:9px;padding:11px 13px;font-size:.89rem}.error-message{color:#892e28;background:#fff0ef;border-color:#f3d4cf;align-items:center;gap:8px;display:flex}.error-message svg{flex-shrink:0}.workspace-main>.message{margin-bottom:14px}.toast{z-index:2;position:fixed;bottom:24px;right:24px;box-shadow:0 4px 22px #213c2b25}.panel-loading{color:var(--muted);text-align:center;padding:28px 15px}.empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:178px;padding:25px 18px;display:flex}.empty-icon,.account-icon,.auth-lock{color:#4c6b58;background:#ecf2e9;border-radius:11px;flex-shrink:0;place-items:center;width:43px;height:43px;display:grid}.empty strong{font-weight:660}.empty p,.field-hint{color:var(--muted);font-size:.86rem;line-height:1.45}.empty>.button{margin-top:5px}.positive-money{color:#356448}.negative-money{color:#992f29}.dialog{background:var(--paper);width:min(480px,100% - 26px);max-height:calc(100dvh - 30px);color:var(--ink);border:1px solid #dbe4dc;border-radius:14px;padding:20px 22px 23px;box-shadow:0 18px 80px #152b2350}.dialog::backdrop{background:#172b2373}.dialog-header{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.dialog-header h2{font-size:1.25rem}.dialog>p{margin-bottom:16px}.form-stack{gap:14px;display:grid}.form-stack label,.list-toolbar label{gap:6px;min-width:0;font-size:.82rem;font-weight:640;display:grid}input:not([type=checkbox],[type=file]),select{min-width:0;min-height:39px;color:var(--ink);background:var(--paper);border:1px solid #dce5da;border-radius:7px;padding:7px 9px;font-size:.9rem}input[type=checkbox],progress{accent-color:var(--accent)}.form-stack :is(input,select){width:100%}.field-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.form-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:6px;display:flex}.account-grid{grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));gap:15px;display:grid}.account-card,.budget-card{align-content:start;justify-items:start;gap:10px;padding:17px;display:grid}.account-description p{color:var(--muted);margin-top:3px;font-size:.85rem}.account-balance{font-variant-numeric:tabular-nums;font-size:1.55rem}.account-card .button{margin-top:3px}.budget-card header{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:5px;width:100%;display:grid}.budget-card header h2{overflow-wrap:anywhere;margin-left:4px}.budget-card header button{width:29px}.budget-amount{flex-wrap:wrap;align-items:baseline;gap:5px;display:flex}.budget-amount strong{font-size:1.47rem}.budget-amount span{color:var(--muted);font-size:.81rem}.budget-card progress{border:none;border-radius:9px;width:100%;height:9px;overflow:hidden}.budget-card progress::-webkit-progress-bar{background:#edf1eb}.budget-card progress::-webkit-progress-value{background:#658675;border-radius:9px}.budget-card progress.over-budget{accent-color:#b34533}.budget-card progress.over-budget::-webkit-progress-value{background:#b34533}.list-toolbar{flex-wrap:wrap;align-items:end;gap:10px;padding:16px;display:flex}.list-toolbar label select{width:100%}.list-toolbar-actions{flex-wrap:wrap;align-items:center;gap:7px;margin-left:auto;display:flex}.list-panel>.message{margin:0 16px 10px}.table-wrap{overflow:auto}.data-table{border-collapse:collapse;text-align:left;width:100%;font-size:.85rem}.data-table :is(td,th){border-top:1px solid #edf0ea;padding:9px 14px}.data-table thead{color:#57685e;white-space:nowrap;background:#fafbf8}.data-table thead th{font-size:.76rem;font-weight:650}.data-table tbody th{font-weight:610}.data-table :is(td,th):first-child{padding-left:16px}.data-table :is(td,th):last-child{padding-right:16px}.table-movement{overflow-wrap:anywhere;align-items:center;gap:8px;min-width:min(200px,40vw);display:flex}.data-table select{width:100%;min-width:120px;font-size:.8rem}.align-right{text-align:right}.transaction-amount{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:650}.pill{color:#465a50;white-space:nowrap;background:#eff2ed;border-radius:30px;padding:4px 8px;font-size:.74rem;font-weight:620;display:inline-flex}.movement-icon{color:#4b6256;background:#eef1f0;border-radius:8px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.movement-icon.expense{background:var(--orange-bg);color:var(--orange-text)}.movement-icon.income{color:#42634f;background:#e9f0e7}.auth-layout,.gate-state{background:radial-gradient(at 50% 35%,#eaf0e5 0%,#f7f8f4 67%);place-content:center;justify-items:center;gap:16px;min-height:100dvh;padding:25px;display:grid}.auth-card{border:1px solid var(--border);background:#fff;border-radius:15px;width:min(405px,100vw - 40px);padding:28px;box-shadow:0 10px 45px #38473a0e}.auth-card .auth-lock{margin-bottom:14px}.auth-card h1{font-size:clamp(1.5rem,6vw,2rem)}.auth-card p{color:var(--muted);margin:8px 0 20px;font-size:.88rem}.auth-card button{margin-top:4px}@media (width<=900px){.workspace{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding-inline:12px}.workspace-main{padding-inline:23px}}@media (width<=680px){.workspace{display:block}.sidebar{border:0;border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;gap:12px;height:auto;padding:12px 14px 8px;display:grid;position:static}.brand-link{align-self:center;margin:0}.brand{font-size:1.22rem}.brand-mark{width:32px;height:32px}.navigation{grid-area:2/span 2;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;padding:4px 0 5px}.navigation a{text-align:center;white-space:normal;flex-direction:column;justify-content:flex-start;gap:4px;padding:6px 1px;font-size:clamp(.55rem,2.55vw,.74rem)}.navigation a svg{width:16px;height:16px}.sidebar-account{border:0;grid-area:1/2;margin:0;padding:0}.sidebar-account .user-name{max-width:80px}.workspace-main{padding:23px 14px 37px}.page-header{margin-bottom:18px}.page-actions{gap:7px;width:100%}.page-actions .button{white-space:normal}.list-toolbar-actions{width:100%;margin-left:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}
