@charset "UTF-8";
:root{--bg:#f5f6f2;--surface:#fff;--ink:#26332b;--muted:#747d73;--line:#e8ebe3;--green:#496544;--green-dark:#304b35;--pale:#edf2e9;--orange:#ac6547;--orange-pale:#fbf0e8;--red:#b04343;--radius:15px;--shadow:0 4px 24px #26332b06;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;line-height:1.6;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,a{transition:background .18s,color .18s,border-color .18s,box-shadow .18s}a{color:var(--green);text-decoration:none}button{border:0;background:none;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #87a77a;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-.8px;line-height:1.3;font-weight:650}h2{font-size:17px;font-weight:650}h3{font-size:15px}small{font-size:12px}strong{font-weight:650}svg{flex-shrink:0}input,select,textarea{min-width:0;color:var(--ink)}input::placeholder,textarea::placeholder{color:#92988d}.icon{display:inline-block;vertical-align:middle;flex-shrink:0}.muted{color:var(--muted)}.num{font-variant-numeric:tabular-nums;letter-spacing:-.4px}.green{color:var(--green)}.orange{color:var(--orange)}.red{color:var(--red)}.hidden{display:none!important}.flex{display:flex;align-items:center;gap:12px}.between{display:flex;justify-content:space-between;align-items:center;gap:12px}.stack{display:flex;flex-direction:column;gap:20px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface);min-height:42px;padding:10px 16px;border-radius:9px;font-size:13px;font-weight:550;white-space:nowrap}.btn:hover{background:#f5f7f1;border-color:#ccd6c7}.btn.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 3px 5px #304b3512}.btn.primary:hover{background:var(--green-dark)}.btn.danger{color:var(--red);border-color:#ecd0ce;background:#fff7f5}.btn.sm{min-height:36px;padding:7px 12px;font-size:12px}.btn.full{width:100%}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;color:var(--muted)}.icon-btn:hover{background:var(--pale);color:var(--green)}.text-btn{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--green);padding:8px 0;white-space:nowrap}.text-btn:hover{color:var(--green-dark);text-decoration:underline}.pill{display:inline-flex;gap:5px;align-items:center;padding:3px 9px;font-size:11px;background:var(--pale);color:var(--green);border-radius:5px;font-weight:550}.pill.orange{background:var(--orange-pale);color:var(--orange)}.pill.gray{background:#f0f1ee;color:#737a70}.pill.red{background:#fcebea;color:#a23c3c}.dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#77966b}.eyebrow{font-size:11px;letter-spacing:1.6px;color:var(--muted);text-transform:uppercase;font-weight:600}
.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:#fbfcf8;border-right:1px solid var(--line);padding:32px 20px 18px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:11px;align-items:center;padding:0 12px}.brand-logo{height:39px;width:39px;border-radius:12px;background:var(--green-dark);color:white;display:flex;align-items:center;justify-content:center}.brand-logo .icon{width:25px;height:25px}.brand-name{font-size:22px;font-weight:700;letter-spacing:1px}.brand-name small{display:block;font-size:8px;letter-spacing:2.3px;font-weight:550;color:var(--muted);line-height:1.1;margin-top:1px}.company-switch{margin:31px 0 26px;display:flex;gap:9px;align-items:center;border:1px solid var(--line);border-radius:9px;padding:11px 10px;width:100%;text-align:left;background:white;font-size:12px}.company-switch .company-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.company-icon{display:flex;align-items:center;justify-content:center;width:27px;height:27px;background:var(--pale);border-radius:6px;color:var(--green)}.nav-label{font-size:10px;color:#8a9286;letter-spacing:1px;padding:0 13px;margin:0 0 10px}.nav-group{margin-bottom:26px;display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;text-align:left;border-radius:8px;color:#6b7469;font-size:13px;position:relative}.nav-item:hover{background:#f0f3eb}.nav-item.active{background:#e8eee1;color:#405d39;font-weight:650}.nav-item.active:after{content:'';height:6px;width:6px;border-radius:50%;background:var(--green);position:absolute;right:14px}.sidebar-bottom{margin-top:auto}.sidebar-note{padding:15px 13px;border:1px solid #e2e8da;border-radius:10px;background:linear-gradient(120deg,#f0f4e9,#f8faf4)}.sidebar-note .flex{gap:7px;font-size:12px;font-weight:600;color:var(--green)}.sidebar-note p{font-size:11px;color:var(--muted);margin-top:7px;line-height:1.8}.sidebar-foot{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding:0 8px;font-size:10px;color:#8b9285}.main{margin-left:226px;min-height:100vh}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fafbf7;gap:20px}.breadcrumb{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--muted)}.breadcrumb span:last-child{color:var(--ink)}.top-actions{display:flex;align-items:center;gap:17px}.global-search{display:flex;align-items:center;gap:8px;color:#90978c}.global-search input{border:0;background:transparent;width:160px;outline:none!important;font-size:12px}.global-search kbd{font-size:10px;padding:0 5px;border:1px solid var(--line);border-radius:4px}.separator{width:1px;height:22px;background:var(--line)}.avatar{width:32px;height:32px;border-radius:50%;background:#e9eee2;display:flex;align-items:center;justify-content:center;color:var(--green);font-size:12px;font-weight:600}.profile-btn{display:flex;align-items:center;gap:9px;font-size:12px}.topbar-mobile-brand{display:none}.content{max-width:1660px;margin:auto;padding:31px 38px 24px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:16px}.page-heading h1{margin-bottom:7px}.page-heading p{font-size:12px;color:var(--muted)}.heading-actions{display:flex;align-items:center;gap:10px}.month-picker{display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:9px;padding:1px 5px;gap:2px;height:43px}.month-picker input{border:0;background:transparent;font-size:12px;width:112px;outline:none}.month-picker .icon-btn{width:28px;height:35px}.month-picker>.icon{margin-left:5px;width:16px;color:var(--muted)}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:23px}.stat-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:21px 22px;min-height:155px;box-shadow:var(--shadow);position:relative;overflow:hidden}.stat-card.featured{background:var(--green-dark);color:#fff;border-color:var(--green-dark)}.stat-card.featured:after{content:'';position:absolute;width:140px;height:140px;border:1px solid #ffffff0e;border-radius:50%;right:-35px;bottom:-42px;box-shadow:0 0 0 24px #ffffff03,0 0 0 48px #ffffff03;pointer-events:none}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-bottom:17px}.stat-top .icon-badge{display:flex;justify-content:center;align-items:center;width:28px;height:28px;background:var(--pale);border-radius:8px;color:var(--green)}.stat-top .icon-badge.orange{background:var(--orange-pale);color:var(--orange)}.stat-card.featured .stat-top{color:#d6e1d1}.stat-card.featured .icon-badge{background:#ffffff12;color:#e5eddf}.stat-value{font-size:27px;line-height:1.2;letter-spacing:-.8px;font-weight:600;white-space:nowrap}.stat-value .currency{font-size:17px;font-weight:400;margin-right:5px}.stat-bottom{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);margin-top:14px}.stat-card.featured .stat-bottom{color:#b8cbb2}.stat-bottom .icon{height:12px;width:12px}.dashboard-charts{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:21px;margin-bottom:23px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 23px 0}.panel-head p{font-size:11px;color:var(--muted);margin-top:3px}.panel-body{padding:22px 23px}.segmented{display:inline-flex;background:#f3f5ef;padding:3px;border-radius:7px;gap:2px}.segmented button{padding:5px 10px;font-size:11px;color:var(--muted);border-radius:5px;min-height:28px;white-space:nowrap}.segmented button.selected{background:white;box-shadow:0 1px 3px #2330240d;color:var(--ink)}.chart-legend{display:flex;gap:17px;align-items:center;font-size:11px;color:var(--muted);padding:20px 24px 8px}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:7px}.trend-chart{width:100%;height:225px;display:block;overflow:visible}.trend-chart text{font-size:11px;fill:#858e7f;font-family:inherit}.chart-grid{stroke:#ecf0e7;stroke-dasharray:3 5}.chart-foot{padding:0 23px 18px;font-size:10px;color:var(--muted)}.expense-content{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 20px 21px;min-height:254px}.donut-wrap{position:relative;width:176px;height:176px;flex-shrink:0}.donut-wrap svg{width:100%;height:100%}.donut-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none}.donut-label span{font-size:10px;color:var(--muted)}.donut-label strong{font-size:25px;letter-spacing:-.8px;margin-top:2px}.donut-label small{color:#8a9384;font-size:9px}.expense-legend{flex:1;min-width:100px;max-width:180px;display:grid;gap:13px}.expense-legend-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:8px}.expense-legend-row .label{white-space:nowrap;color:var(--muted)}.expense-legend-row strong{font-weight:500;font-size:11px}.dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:21px}.recent-table{padding:8px 23px 6px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{color:#8b9386;font-size:10px;font-weight:500;padding:14px 8px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:14px 8px;border-bottom:1px solid #eff1eb;vertical-align:middle}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0;text-align:right}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdf9}.entry-title{display:flex;align-items:center;gap:10px;min-width:0}.entry-glyph{width:34px;height:34px;border-radius:10px;background:#f2f4ec;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--green)}.entry-glyph .icon{width:17px;height:17px}.entry-title strong{font-size:12px;display:block;font-weight:550;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entry-title small{display:block;font-size:10px;color:var(--muted);margin-top:2px;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entry-amount{font-size:13px;font-weight:600;white-space:nowrap}.recent-date{font-size:11px;color:var(--muted)}.table-foot{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);padding:14px 23px;border-top:1px solid var(--line)}.account-mini{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #eff1eb;gap:12px}.account-mini:last-child{border:0;padding-bottom:0}.account-mini:first-child{padding-top:0}.account-mini .entry-glyph{background:#f2f4ec}.account-mini strong{font-size:12px}.account-mini small{font-size:10px;color:var(--muted);display:block;margin-top:2px}.account-mini .num{font-size:14px}.mini-accounts{padding-top:20px}.subtle-note{font-size:10px;color:var(--muted);padding:12px 23px;border-top:1px solid var(--line);background:#fdfefb}.budget-summary{padding:18px 22px 20px}.progress-track{height:6px;background:#edf0e7;border-radius:4px;overflow:hidden;margin:12px 0 8px}.progress-fill{height:100%;background:#7c9667;border-radius:4px;max-width:100%}.progress-fill.over{background:#c88e64}.bottom-note{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8e9687;margin:23px 1px 0}.bottom-note .flex{gap:6px}.bottom-note .icon{width:13px;height:13px}.mobile-nav{display:none}.page-loading{padding:100px;text-align:center;color:var(--muted)}.boot{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:var(--muted)}.spinner{display:inline-block;width:24px;height:24px;border:2px solid #dce4d4;border-top-color:var(--green);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.filter-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:19px 23px;border-bottom:1px solid var(--line)}.input-wrap{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:0 12px;min-height:40px;color:var(--muted)}.input-wrap input{border:0;outline:none;width:170px;max-width:100%;background:transparent;font-size:12px}.filter-bar select,.filter-bar input[type=date]{padding:9px 10px;font-size:12px;border:1px solid var(--line);border-radius:8px;background:white;max-width:165px;min-height:40px}.entry-table-container{padding:0 23px}.entry-table{min-width:850px}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:1px}.row-actions .icon-btn{width:34px;height:34px}.row-actions .icon{width:16px;height:16px}.filter-summary{display:flex;gap:18px;font-size:11px;align-items:center;padding:14px 23px;background:#fbfcf8;color:var(--muted)}.filter-summary strong{font-size:12px;margin-left:5px}.pagination{display:flex;gap:10px;align-items:center;font-size:11px}.pagination .btn{font-size:11px;min-height:32px;padding:4px 10px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.three-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.account-card{padding:23px;position:relative;min-height:204px}.account-card-top{display:flex;justify-content:space-between;gap:10px}.account-card-top .entry-glyph{height:43px;width:43px;background:var(--pale)}.account-card h3{margin-top:18px;font-size:14px}.account-card .balance{font-size:28px;margin:10px 0}.account-card .between small{color:var(--muted);font-size:11px}.account-card.archived{opacity:.7}.info-strip{display:flex;align-items:center;gap:9px;padding:12px 16px;border:1px solid #e1e8da;border-radius:9px;background:#f0f4e9;color:#65745a;font-size:12px;margin-bottom:22px}.obligation-grid{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.obligation-card{padding:22px}.obligation-card h3{font-size:15px;margin:16px 0 5px}.obligation-card p{font-size:12px;color:var(--muted)}.obligation-card .money-row{display:flex;align-items:end;justify-content:space-between;margin:18px 0}.obligation-card .money-row strong{font-size:25px;font-weight:600}.obligation-card .money-row small{color:var(--muted);font-size:11px}.obligation-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:15px;margin-top:16px}.tab-strip{display:flex;gap:24px;margin-bottom:21px;border-bottom:1px solid var(--line)}.tab-strip button{padding:0 0 13px;color:var(--muted);font-size:13px;border-bottom:2px solid transparent}.tab-strip button.selected{color:var(--green);font-weight:600;border-bottom-color:var(--green)}.budget-card{padding:22px}.budget-card h3{font-size:14px}.budget-card .budget-used{display:flex;align-items:baseline;gap:6px;margin-top:25px}.budget-card .budget-used strong{font-size:26px}.budget-card .budget-used span{font-size:11px;color:var(--muted)}.budget-card .between small{color:var(--muted)}.category-list{display:grid;gap:0}.category-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);gap:10px}.category-row:last-child{border:0}.category-row .flex{gap:11px}.category-row span{font-size:13px}.settings-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.field label{font-size:12px;font-weight:550}.field input,.field select,.field textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #dfe5d9;border-radius:8px;background:#fff;transition:border-color .15s}.field input:focus,.field select:focus,.field textarea:focus{border-color:#829b71}.field small{font-size:11px;color:var(--muted);line-height:1.6}.field textarea{resize:vertical;min-height:80px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field input[type=color]{padding:5px;height:44px}.field .readonly{background:#f5f6f2}.settings-intro{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:20px}.setting-action{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:15px 0;gap:18px}.setting-action:first-child{padding-top:0}.setting-action:last-child{border:0;padding-bottom:0}.setting-action strong{font-size:13px;display:block}.setting-action p{font-size:11px;color:var(--muted);margin-top:4px}.user-list .entry-glyph{border-radius:50%}.user-list .setting-action{gap:10px}.user-list .btn{font-size:11px}.form-error{font-size:12px;color:#a53e37;background:#fff0ed;padding:10px 12px;border-radius:7px;margin-bottom:14px;display:none}.form-error:not(:empty){display:block}.empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:45px 20px;color:var(--muted)}.empty-icon{width:54px;height:54px;background:var(--pale);border-radius:17px;display:flex;align-items:center;justify-content:center;color:#7c926e;margin-bottom:14px}.empty-icon .icon{width:27px;height:27px}.empty strong{color:#5a6b54;font-size:14px}.empty p{font-size:12px;margin:8px 0 15px;max-width:320px}.empty .btn{margin-top:4px}.report-table th,.report-table td{padding:16px 10px}.report-table td:first-child{font-weight:550}.report-category{display:flex;align-items:center;gap:11px;padding:12px 0}.report-category .progress-track{margin:7px 0 0;height:5px}.report-category .category-main{flex:1}.report-category .between{font-size:12px}.audit-table{min-width:560px}.audit-detail{max-width:600px;max-height:400px;overflow:auto;font-family:inherit;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f6f0;padding:16px;border-radius:8px}
dialog{border:1px solid #dfe6d8;border-radius:18px;box-shadow:0 20px 100px #1c332233;padding:0;width:520px;max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);color:var(--ink);overflow:auto;background:#fff}dialog::backdrop{background:#17271f70;backdrop-filter:blur(3px)}.modal-head{padding:22px 25px 17px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:#fff;z-index:2}.modal-head h2{font-size:19px}.modal-head small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.modal-body{padding:23px 25px}.modal-foot{display:flex;gap:10px;justify-content:flex-end;padding-top:19px;margin-top:8px;border-top:1px solid var(--line)}.entry-kind-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;background:#f1f4ed;border-radius:9px;padding:5px;margin-bottom:24px}.entry-kind-tabs button{padding:10px;border-radius:7px;font-size:13px}.entry-kind-tabs button.selected{background:white;box-shadow:0 2px 8px #2330240b;color:var(--green);font-weight:600}.amount-input{display:flex;align-items:center;gap:9px;border-bottom:1px solid var(--line);padding:0 0 15px;margin-bottom:22px}.amount-input span{font-size:25px;color:#718268}.amount-input input{width:100%;border:0;outline:0;background:transparent;font-size:36px;letter-spacing:-1px;padding:4px 0;font-weight:550}.amount-label{font-size:12px;display:block;margin-bottom:5px;color:var(--muted)}.amount-input input::placeholder{color:#c2cab9}.file-label{border:1px dashed #cbd7c1;border-radius:8px;background:#fafcf6;display:flex;padding:14px;font-size:12px;color:var(--muted);gap:10px;align-items:center}.file-label input{padding:0;border:0;background:none;font-size:11px;min-height:auto}.check-line{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:10px}.check-line input{accent-color:var(--green)}.modal-description{font-size:13px;color:var(--muted);line-height:1.9;margin-bottom:20px}.danger-description{padding:14px;background:#fcf0e9;border-radius:8px;color:#945e3d;font-size:12px;margin:12px 0 16px}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,12px);max-width:calc(100vw - 32px);padding:12px 22px;border-radius:10px;background:#2c4935;color:white;font-size:13px;z-index:200;box-shadow:0 5px 28px #1c332222;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#8b463e}.help-list{padding-left:18px;color:var(--muted);font-size:13px;line-height:2.1}.help-list strong{color:var(--ink)}
.auth{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh}.auth-art{background:#e9eee1;display:flex;flex-direction:column;padding:50px 60px;position:relative;overflow:hidden}.auth-art .brand{padding:0}.auth-art-copy{margin:auto 0;position:relative;z-index:1}.auth-art .eyebrow{color:#66805a;font-size:10px;margin-bottom:23px}.auth-art h1{font-size:48px;line-height:1.45;letter-spacing:-2px;max-width:560px;font-weight:600}.auth-art p{font-size:14px;color:#78856d;margin-top:22px;line-height:1.9}.auth-illustration{margin-top:38px;max-width:410px;transform:rotate(-3deg);border:1px solid #d7e0ca;border-radius:15px;background:#f9fbf5;padding:25px;box-shadow:12px 17px 0 #dce4d1}.illustration-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#7e8c70}.illustration-title{font-size:32px;letter-spacing:-1px;margin-top:12px;color:#3e5934}.illustration-bars{display:flex;align-items:end;gap:15px;height:100px;margin-top:15px}.illustration-bars i{display:block;flex:1;background:#b7c9a7;border-radius:5px 5px 0 0}.illustration-bars i:nth-child(even){background:#6f8c5b}.auth-art-footer{display:flex;gap:7px;align-items:center;color:#819174;font-size:11px;margin-top:40px}.auth-main{display:flex;align-items:center;justify-content:center;padding:45px;background:#fcfdf9}.auth-form-wrap{width:100%;max-width:360px}.auth-form-wrap h2{font-size:27px;margin-bottom:8px}.auth-form-wrap>p{font-size:12px;color:var(--muted);margin-bottom:30px}.auth-form-wrap .btn{min-height:46px}.auth-form-foot{text-align:center;font-size:11px;color:#87927d;margin-top:24px}.auth-form-wrap .field{margin-bottom:19px}.auth-local{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--green);margin-bottom:20px}.mobile-more{display:none}
@media(min-width:1600px){.stat-card{padding:25px}.stat-value{font-size:32px}.trend-chart{height:245px}.expense-content{min-height:275px}.donut-wrap{width:185px;height:185px}.expense-legend{max-width:200px}.expense-legend-row,.expense-legend-row strong{font-size:12px}}
@media(max-width:1250px){.sidebar{width:202px;padding:28px 15px 18px}.main{margin-left:202px}.topbar{padding:0 26px}.content{padding:28px 26px}.stat-grid{gap:13px}.stat-card{padding:18px 16px}.stat-value{font-size:24px}.dashboard-charts,.dashboard-bottom{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:17px}.expense-content{gap:0;padding:18px 14px}.donut-wrap{width:148px;height:148px}.expense-legend{min-width:95px}.expense-legend-row{font-size:10px}.expense-legend-row strong{font-size:10px}.expense-legend .legend-dot{margin-right:4px}.global-search input{width:140px}.three-columns{gap:15px}.panel-head{padding:20px 20px 0}.panel-body{padding:20px}.recent-table{padding:8px 20px}.recent-table .account-column{display:none}.auth-art{padding:45px}.auth-art h1{font-size:41px}}
@media(max-width:1020px){.sidebar{width:180px;padding-left:12px;padding-right:12px}.main{margin-left:180px}.sidebar .brand{padding:0 7px;gap:8px}.brand-name{font-size:20px}.brand-logo{width:35px;height:35px}.sidebar .brand-name small{font-size:7px}.company-switch{padding:10px 8px}.nav-item{padding:11px 10px;gap:10px}.nav-label{padding-left:10px}.sidebar-note{padding:12px 10px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:20px;min-height:151px}.stat-value{font-size:29px}.dashboard-charts,.dashboard-bottom{grid-template-columns:minmax(0,1fr)}.expense-content{justify-content:flex-start;gap:35px;min-height:210px;padding:10px 25px}.donut-wrap{width:180px;height:180px}.expense-legend{max-width:none;flex:1;gap:14px}.expense-legend-row,.expense-legend-row strong{font-size:12px}.global-search{display:none}.three-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout{grid-template-columns:minmax(0,1fr)}.page-heading{align-items:flex-start}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.page-heading h1{font-size:25px}.topbar{height:69px}.auth-art{padding:32px}.auth-art h1{font-size:36px}.auth-main{padding:30px}.two-columns{gap:17px}}
@media(max-width:760px){:root{font-size:14px}.sidebar{display:none}.main{margin-left:0}.topbar{height:66px;padding:0 20px;background:#fafbf7;position:sticky;top:0;z-index:25}.breadcrumb{display:none}.topbar-mobile-brand{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:700;letter-spacing:1px}.topbar-mobile-brand .brand-logo{height:31px;width:31px;border-radius:9px}.topbar-mobile-brand .brand-logo .icon{width:21px;height:21px}.top-actions{gap:9px}.top-actions .profile-name,.top-actions .separator,.top-actions .help-btn{display:none}.profile-btn>.icon{display:none}.top-actions .avatar{height:30px;width:30px}.content{padding:23px 18px calc(92px + env(safe-area-inset-bottom))}.page-heading{align-items:flex-start;margin-bottom:21px;flex-direction:column;gap:17px}.page-heading h1{font-size:26px}.page-heading p{font-size:11px;margin-top:5px}.heading-actions{width:100%;justify-content:space-between;flex-wrap:nowrap;gap:7px}.heading-actions .btn{padding:10px 13px}.month-picker{height:42px}.stat-grid{gap:11px;margin-bottom:18px}.stat-card{padding:17px 15px;min-height:144px;border-radius:12px}.stat-top{font-size:11px;margin-bottom:15px}.stat-top .icon-badge{width:25px;height:25px}.stat-top .icon-badge .icon{width:16px;height:16px}.stat-value{font-size:24px;letter-spacing:-.8px}.stat-value .currency{font-size:15px;margin-right:3px}.stat-bottom{font-size:9px;margin-top:14px;gap:4px;line-height:1.5}.stat-bottom .pill{font-size:9px;padding:1px 5px}.dashboard-charts,.dashboard-bottom{gap:18px;margin-bottom:18px}.panel{border-radius:13px}.panel-head{padding:19px 18px 0}.panel-head h2{font-size:15px}.panel-head p{font-size:10px}.panel-body{padding:19px 18px}.segmented button{font-size:10px;padding:5px 8px;min-height:32px}.chart-legend{padding:19px 19px 2px;font-size:10px}.trend-chart{height:190px}.chart-foot{font-size:9px;padding:0 18px 17px}.expense-content{padding:12px 20px 16px;gap:20px;min-height:195px}.donut-wrap{width:160px;height:160px}.expense-legend-row,.expense-legend-row strong{font-size:11px}.donut-label strong{font-size:24px}.recent-table{padding:6px 18px}.recent-table .category-column,.recent-table .account-column{display:none}.recent-table th{font-size:10px}.recent-table .entry-title strong{font-size:11px;max-width:135px}.recent-table .entry-title small{font-size:9px;max-width:135px}.recent-table .entry-glyph{height:31px;width:31px;border-radius:9px}.recent-table .entry-title{gap:8px}.recent-table .entry-amount{font-size:12px}.recent-date{font-size:10px;white-space:nowrap}.recent-table td{padding:13px 5px}.table-foot{padding:13px 18px;font-size:10px}.bottom-note{margin:17px 0;gap:10px;font-size:9px}.bottom-note>span{display:none}.mobile-nav{position:fixed;display:flex;justify-content:space-around;align-items:center;inset:auto 0 0;z-index:40;height:calc(68px + env(safe-area-inset-bottom));padding:3px 7px calc(3px + env(safe-area-inset-bottom));background:#fcfdf9f5;border-top:1px solid #e2e8da;backdrop-filter:blur(12px)}.mobile-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#7d8874;min-width:54px;min-height:52px;font-size:10px;border-radius:10px}.mobile-nav button.active{color:var(--green);font-weight:650}.mobile-nav .mobile-add{background:var(--green);color:white;height:44px;min-height:44px;min-width:44px;width:44px;border-radius:15px;margin-top:-20px;box-shadow:0 3px 13px #48603927}.mobile-nav .mobile-add .icon{width:25px;height:25px}.three-columns,.obligation-grid{grid-template-columns:minmax(0,1fr);gap:15px}.two-columns{grid-template-columns:minmax(0,1fr)}.filter-bar{padding:16px;gap:8px}.filter-bar .input-wrap{width:100%}.filter-bar .input-wrap input{width:100%}.filter-bar select{flex:1;max-width:none;min-width:90px}.filter-bar input[type=date]{flex:1;width:120px;max-width:none}.filter-bar .btn{flex:1}.entry-table-container{padding:0 16px;overflow:visible}.entry-table{display:block;min-width:0}.entry-table thead{display:none}.entry-table tbody{display:block}.entry-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 10px;padding:15px 0;border-bottom:1px solid var(--line)}.entry-table td{padding:3px 0;border:0}.entry-table .mobile-hidden{display:none}.entry-table td:last-child{grid-column:2;grid-row:1/4;align-self:center}.entry-table .entry-amount{font-size:14px}.entry-table .entry-title strong{max-width:190px}.entry-table .entry-title small{max-width:190px}.entry-table .entry-mobile-meta{display:block;font-size:10px;color:var(--muted);padding-left:44px}.filter-summary{padding:13px 16px;gap:8px;flex-wrap:wrap;font-size:10px}.filter-summary strong{font-size:11px}.account-card{padding:21px;min-height:190px}.tab-strip{gap:23px;overflow:auto}.tab-strip button{white-space:nowrap;font-size:12px;min-height:44px}.info-strip{font-size:11px;align-items:flex-start;padding:12px}.info-strip .icon{height:16px;width:16px;margin-top:2px}.obligation-card{padding:20px}.obligation-card .money-row strong{font-size:24px}.field input,.field select,.field textarea{font-size:16px}.field label{font-size:12px}.field small{font-size:10px}.field-row{gap:12px}.settings-layout{gap:17px}.setting-action .btn{font-size:11px;padding:8px 10px;min-height:44px}.modal-head{padding:19px 20px 15px}.modal-body{padding:20px}.modal-head h2{font-size:18px}dialog{max-width:calc(100% - 24px);max-height:calc(100dvh - 28px);border-radius:16px}.modal-foot .btn{min-height:44px;flex:1}.amount-input input{font-size:34px}#toast{bottom:calc(88px + env(safe-area-inset-bottom));font-size:12px;width:max-content}.mobile-more{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:4px}.mobile-more button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;border:1px solid var(--line);border-radius:11px;padding:20px 10px;font-size:12px}.mobile-more .icon{width:25px;height:25px;color:var(--green)}.auth{display:flex;flex-direction:column;min-height:100dvh}.auth-art{padding:28px;background:#e9eee1}.auth-art .brand-logo{width:33px;height:33px}.auth-art .brand-name{font-size:20px}.auth-art-copy{margin-top:35px}.auth-art .eyebrow{display:none}.auth-art h1{font-size:29px;letter-spacing:-1px}.auth-art h1 br{display:none}.auth-art p{font-size:12px;margin-top:12px}.auth-illustration,.auth-art-footer{display:none}.auth-main{padding:32px 27px 45px;flex:1}.auth-form-wrap{max-width:450px}.auth-form-wrap h2{font-size:23px}.auth-form-wrap>p{margin-bottom:22px}.auth-local{margin-bottom:13px}.auth-form-wrap .field{margin-bottom:16px}.auth-form-wrap .field input{font-size:16px}.profile-btn{min-width:44px;min-height:44px;justify-content:center}.row-actions .icon-btn{width:44px;height:44px}.category-row .icon-btn{height:44px;width:44px}.month-picker .icon-btn{width:33px;height:40px}.text-btn{min-height:40px}.entry-mobile-meta{display:block}}
@media(min-width:761px){.entry-mobile-meta{display:none}}
@media(max-width:370px){.content{padding-left:12px;padding-right:12px}.stat-card{padding:15px 12px}.stat-value{font-size:22px}.expense-content{padding-left:12px;padding-right:12px;gap:8px}.donut-wrap{width:145px;height:145px}.field-row{grid-template-columns:minmax(0,1fr)}.stat-bottom{font-size:8px}.page-heading h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.mobile-nav,.heading-actions,.filter-bar,.row-actions,.bottom-note{display:none!important}.main{margin:0}.content{padding:0}.panel,.stat-card{break-inside:avoid;box-shadow:none}.stat-card.featured{background:white;color:var(--ink)}.stat-card.featured .stat-top,.stat-card.featured .stat-bottom{color:var(--muted)}}
.receipt-dropzone{min-height:75px;transition:background .15s,border-color .15s}.receipt-dropzone.dragover{background:#e7efde;border-color:#7d9a69;box-shadow:0 0 0 3px #8ba57522}.receipt-preview{display:flex;align-items:center;gap:12px;padding:12px;background:#f3f7ec;border:1px solid #e1e9d8;border-radius:10px;margin-bottom:16px}.receipt-preview img{width:60px;height:60px;object-fit:contain;border-radius:5px;background:#fff}.receipt-preview>div{flex:1;min-width:0}.receipt-preview strong{display:block;font-size:12px;overflow-wrap:anywhere}.receipt-preview small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.receipt-preview .icon-btn{flex-shrink:0}
.num,.stat-value,.donut-label strong{font-family:Inter,"Segoe UI",Arial,sans-serif}.brand-name small{letter-spacing:1.5px;font-size:9px}.modal-foot{position:sticky;bottom:-23px;background:#fff;padding-bottom:12px;z-index:1}.more-fields{border:1px solid var(--line);border-radius:9px;padding:11px 14px;margin-bottom:18px}.more-fields summary{cursor:pointer;font-size:12px;color:var(--muted);min-height:26px;line-height:26px}.more-fields[open] summary{margin-bottom:14px}.more-fields .field:last-child{margin-bottom:3px}
@media(max-width:760px){.heading-actions{flex-wrap:wrap;justify-content:flex-start;gap:8px}.heading-actions .month-picker{margin-right:auto}.heading-actions>.primary[data-action=add-entry]{display:none}.entry-table tr{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:17px 0 7px}.entry-table td:first-child{grid-column:1;grid-row:1;min-width:0}.entry-table td:nth-last-child(2){grid-column:2;grid-row:1;align-self:start;text-align:right}.entry-table td:last-child{grid-column:1/-1;grid-row:2;align-self:auto;border-top:1px dashed #f0f2eb;padding-top:2px}.entry-table .row-actions{gap:8px}.entry-table .entry-title>div{min-width:0}.entry-table .entry-title strong{max-width:100%;font-size:12px}.entry-table .entry-title small{max-width:100%}.entry-mobile-meta{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;padding-left:0!important;margin-top:7px}.entry-table .entry-amount{font-size:13px}.entry-table .entry-title strong .icon{width:13px;height:13px}.entry-table .row-actions .icon{width:17px;height:17px}.modal-foot{bottom:-20px;padding-bottom:16px}.heading-actions .btn[data-action=print]{margin-left:0}}
@media(max-width:760px){.filter-bar input[type=date]{flex:1 1 calc(50% - 18px);min-width:120px}.filter-bar>.muted{flex:none}.filter-bar>.btn{flex:1 1 calc(50% - 8px)}.month-picker .icon-btn{width:36px}.field label{font-size:13px}}
.field-row:has(>.field:only-child){grid-template-columns:1fr}.file-label input::file-selector-button{border:0;border-radius:6px;background:#e7eddf;color:#46623b;padding:9px 13px;margin-right:10px;font:inherit;cursor:pointer}.file-label input{cursor:pointer}.entry-title strong>.icon{width:14px;height:14px}
.donut-label strong{font-size:19px!important;letter-spacing:-.4px}
:root{--muted:#66705f}th,.bottom-note,.sidebar-foot,.nav-label,.donut-label small{color:#6a7561}button,a{touch-action:manipulation}.skip-link{position:fixed;top:-70px;left:20px;z-index:100;background:var(--green);color:white;padding:12px 18px;border-radius:8px}.skip-link:focus{top:12px}
@media(max-width:760px){.month-picker{height:46px}.month-picker .icon-btn{width:44px;height:44px}.segmented button{min-height:44px}.filter-bar .btn{min-height:44px}.text-btn{min-height:44px}.more-fields summary{min-height:36px;line-height:36px}.receipt-preview .icon-btn{width:44px;height:44px}}
