:root{--bg:#f5f5ef;--surface:#fff;--ink:#1e302a;--muted:#7a827d;--line:#e7eae3;--green:#226c4c;--green-light:#e8f1e8;--dark:#182b25;--orange:#b87b44;--red:#b6554b;--radius:18px;--shadow:0 4px 18px #18302505;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #94b59b;outline-offset:3px}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.1px;font-weight:650;line-height:1.23}h2{font-size:19px;letter-spacing:-.4px;font-weight:600}h3{font-size:15px;font-weight:600}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--green);display:block;margin-bottom:10px}svg{vertical-align:middle;flex-shrink:0}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}
.initial-loading{height:100vh;display:flex;justify-content:center;align-items:center;gap:16px;color:var(--muted)}.brand{display:flex;align-items:center;gap:11px;color:inherit;font-size:22px;font-weight:650;letter-spacing:-.6px;line-height:1.1}.brand-symbol{display:grid;place-items:center;width:41px;height:41px;border-radius:13px;background:#cbe6a1;color:var(--dark);font-family:Georgia,serif;font-size:34px;font-weight:500;letter-spacing:-3px;padding-right:3px}.brand-label{display:block;font-size:8px;letter-spacing:2px;font-weight:500;margin-top:7px;color:#9baea4}
.login-view{min-height:100vh;display:grid;grid-template-columns:1.03fr 1fr}.login-story{background:var(--dark);color:#f3f5e9;padding:44px 8%;display:flex;flex-direction:column;min-height:100vh;position:relative;overflow:hidden}.login-story .brand{color:#f3f5e9}.login-story-content{margin:auto 0;max-width:520px;padding-top:70px}.login-story-content .eyebrow{color:#b7cd9b}.login-story h1{font-size:54px;letter-spacing:-2px;line-height:1.12;margin-bottom:24px}.login-story p{color:#afc0b5;line-height:1.8;font-size:15px}.login-art{height:205px;position:relative;margin-top:35px}.art-circle{position:absolute;right:30px;top:20px;width:145px;height:145px;display:grid;place-items:center;border:1px solid #bdd8a52b;border-radius:50%;background:radial-gradient(circle at 25% 25%,#41554188,#203c2b00)}.art-circle span{font-family:Georgia,serif;font-size:76px;font-weight:normal;color:#c0dc9e;transform:rotate(-15deg)}.art-line{position:absolute;left:-10%;width:90%;height:80px;transform:rotate(-9deg);border-top:1px solid #9ab88d26;border-radius:50%}.line-one{top:90px}.line-two{top:115px}.line-three{top:140px}.login-footnote{display:flex;gap:8px;align-items:center;color:#afc0b5;font-size:11px;margin-top:24px}.status-dot{height:6px;width:6px;display:inline-block;background:#7cad70;border-radius:50%;flex-shrink:0}.login-panel{display:grid;place-items:center;padding:60px 30px}.login-card{width:100%;max-width:350px}.login-card h2{font-size:30px;margin-bottom:8px}.login-card>p.muted{margin-bottom:34px}.login-card label{margin:18px 0 7px;display:block;font-size:12px;font-weight:600}.login-card input{width:100%;height:48px;border:1px solid #dfe3d9;border-radius:9px;background:white;padding:12px 14px}.password-input{position:relative}.password-input input{padding-right:50px}.password-input button{position:absolute;right:6px;top:5px;color:var(--muted)}.login-submit{width:100%;margin-top:18px;justify-content:space-between;height:48px}.login-help{font-size:11px;line-height:1.7;text-align:center;color:var(--muted);margin-top:24px}.form-error{font-size:12px;color:var(--red);margin-top:12px;min-height:18px}
.app-shell{display:flex;min-height:100vh}.sidebar{background:var(--dark);color:#c7d0ca;width:218px;position:fixed;inset:0 auto 0 0;padding:31px 18px 20px;display:flex;flex-direction:column;z-index:20}.sidebar .brand{padding:0 7px;color:#f5f6ee;margin-bottom:51px}.nav-label{font-size:9px;font-weight:600;letter-spacing:1.7px;color:#7f9688;margin:0 16px 14px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;text-align:left;color:#adbbb2;background:transparent;padding:13px 16px;margin:4px 0;border-radius:9px;font-size:13px;transition:background .15s,color .15s}.nav-item:hover{background:#ffffff08;color:#fff}.nav-item.active{background:#cbe6a1;color:#1c3624;font-weight:600}.nav-count{font-size:10px;border-radius:6px;min-width:20px;text-align:center;padding:1px 4px;background:#385141;color:white;margin-left:auto}.nav-item.active .nav-count{background:#2d5333}.sidebar-bottom{margin-top:auto}.privacy-note{padding:19px 12px 20px;display:flex;align-items:center;gap:12px;border-top:1px solid #afc0b51c;font-size:11px;color:#becdc2}.privacy-note svg{color:#8daa95}.privacy-note small{display:block;color:#799081;font-size:10px;margin-top:2px}.logout-button{display:flex;align-items:center;gap:12px;color:#96aa9d;background:transparent;padding:11px 12px;font-size:12px;width:100%;border-radius:8px}.logout-button:hover{color:#fff;background:#ffffff08}
.workspace{margin-left:218px;width:calc(100% - 218px);display:flex;flex-direction:column}.topbar{height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--line);background:#f9faf6}.breadcrumb{font-size:11px;color:#8a918a;display:flex;align-items:center;gap:12px}.breadcrumb strong{font-weight:500;color:#405448}.breadcrumb>span{color:#c0c6bd}.user-chip{display:flex;align-items:center;gap:10px;font-size:11px;color:#617266}.user-avatar{width:28px;height:28px;background:#e5ecd9;border-radius:50%;display:grid;place-items:center;color:#40623a;font-weight:600;font-size:11px}.user-chip .status-dot{margin-left:8px}main{width:100%;max-width:1530px;margin:0 auto;padding:34px 40px 40px;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading .muted{margin-top:9px;font-size:12px}.page-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.button{border-radius:9px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:550;line-height:1.5;white-space:nowrap;background:#fff;color:var(--ink);border:1px solid #dfe5db;transition:background .15s,transform .15s}.button:hover{background:#f0f4ea}.button.primary{color:white;background:var(--green);border-color:var(--green)}.button.primary:hover{background:#1a593d}.button.danger{color:var(--red);border-color:#ecd5cf;background:#fff}.button.ghost{border:0;background:transparent;color:var(--green);padding-left:0}.button.small{padding:7px 10px;font-size:11px}.button svg{width:16px;height:16px}.icon-button{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:8px;background:transparent;color:#829084}.icon-button:hover{background:#eaf0e3;color:var(--green)}.mobile-menu{display:none}.period-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.period-presets{display:flex;gap:4px;align-items:center}.period-presets button{background:transparent;color:#899188;font-size:11px;border-radius:7px;padding:8px 11px}.period-presets button:hover{background:#e8eddf}.period-presets button.active{background:#e5ecdc;color:#47673a;font-weight:600}.date-range{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #e3e8dc;padding:7px 10px;border-radius:8px;color:#718264}.date-range svg{width:15px;height:15px}.date-range input{max-width:114px;width:112px;background:transparent;border:0;color:#526348;font-size:10px;padding:0}.date-separator{font-size:10px;color:#a1ada0}
.metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:21px}.metric-card{padding:20px 23px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);position:relative;overflow:hidden}.metric-card.highlight{background:#e9f0df;border-color:#e0e8d4}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#778474;font-size:11px;margin-bottom:12px}.metric-icon{width:29px;height:29px;border-radius:9px;background:#f4f5ef;display:grid;place-items:center;color:#97a181}.highlight .metric-icon{background:#dae6cc;color:#72955d}.metric-value{font-size:30px;letter-spacing:-1px;font-weight:650;line-height:1.3;white-space:nowrap}.metric-value .currency{font-size:22px;font-weight:450;color:#909986}.metric-bottom{margin-top:13px;color:#929a8d;font-size:10px;display:flex;gap:6px;align-items:center}.trend-badge{font-weight:600;font-size:10px;color:#447756}.trend-badge.negative{color:var(--red)}.metric-caption{margin-top:10px;color:#87947a;font-size:11px}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:21px;margin-bottom:21px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);min-width:0}.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:23px}.card-header p{font-size:11px;margin-top:5px;color:var(--muted)}.card-header .small-note{font-size:10px;white-space:nowrap;color:#95a08f;margin-top:5px}.legend{display:flex;gap:14px;font-size:10px;color:#8c958a}.legend span{display:flex;align-items:center;gap:5px}.legend i{height:6px;width:6px;border-radius:2px;display:inline-block}.chart{width:100%;height:215px;display:block;overflow:visible}.chart text{font:10px "Segoe UI",Arial,sans-serif;fill:#9ba394}.chart-line{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.chart-grid{stroke:#edf0e7;stroke-width:1}.chart-axis{font-size:9px}.empty-chart{height:215px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:repeating-linear-gradient(to bottom,transparent 0px,transparent 52px,#edf0e7 53px,transparent 54px);color:#98a18e;text-align:center;padding:10px}.empty-chart .empty-symbol{color:#c0cbbc;background:#f6f8f1}.empty-chart p{font-size:11px;max-width:250px;margin-top:8px;line-height:1.8}.category-row{margin-bottom:17px}.category-row:last-child{margin-bottom:0}.category-meta{display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:12px;margin-bottom:7px}.category-name{display:flex;align-items:center;gap:7px;color:#60715f}.category-dot{width:6px;height:6px;display:inline-block;border-radius:2px;background:var(--green);flex-shrink:0}.category-value{font-size:11px;font-weight:550;color:#53644a;white-space:nowrap}.category-track{height:5px;background:#f1f4ec;border-radius:10px;overflow:hidden}.category-fill{height:100%;border-radius:10px;min-width:2px}.category-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0e6;padding-top:13px;margin-top:22px;font-size:11px;color:#849279}.category-footer strong{font-weight:550;color:#53674a}.insight-strip{border:1px solid #e1e8d6;background:#eef2e5;border-radius:12px;padding:15px 19px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:21px}.insight-copy{display:flex;align-items:center;gap:12px}.insight-icon{width:31px;height:31px;border-radius:10px;background:#e1e8d5;display:grid;place-items:center;color:#65864e;flex-shrink:0}.insight-copy strong{font-size:12px;display:block;font-weight:550;color:#47643c}.insight-copy p{font-size:11px;margin-top:3px;color:#859477}.insight-strip .button{background:#fff;border-color:#e2e7d8;font-size:11px}.table-card{padding:0;overflow:hidden}.table-card .card-header{padding:23px 24px 0}.table-wrap{overflow-x:auto;width:100%}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}thead{background:#fafbf7;border-top:1px solid #eef0e7;border-bottom:1px solid #edf0e5}th{color:#96a08d;font-size:9px;letter-spacing:.7px;font-weight:600;text-transform:uppercase;padding:12px 16px;white-space:nowrap}td{padding:14px 16px;border-bottom:1px solid #eef0e7;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdf9}.table-card th:first-child,.table-card td:first-child{padding-left:24px}.table-card th:last-child,.table-card td:last-child{padding-right:24px}.tx-title{font-weight:550;color:#51644b;line-height:1.5;max-width:260px;white-space:normal;overflow-wrap:anywhere}.tx-meta{font-size:10px;color:#a0a897;margin-top:3px}.tx-date{white-space:nowrap;color:#85917b}.tx-amount{font-weight:600;color:#536748;white-space:nowrap;text-align:right}.tx-amount.income{color:var(--green)}.tx-amount.transfer{color:#929889}.tx-amount small{font-size:9px;font-weight:450;display:block;color:#99a38f}.excluded-row{opacity:.55}.excluded-row .tx-title{text-decoration:line-through}.category-pill{display:inline-flex;gap:5px;align-items:center;padding:4px 8px;background:#edf3e4;color:#6b8753;border-radius:6px;font-size:10px}.category-select{max-width:180px;background:#f4f7ee;border:1px solid #e5ebda;color:#6b815a;font-size:10px;border-radius:6px;padding:5px 23px 5px 7px;cursor:pointer}.status-pill{border-radius:5px;padding:3px 7px;font-size:10px;display:inline-flex;gap:5px;align-items:center;white-space:nowrap;background:#eaf2e7;color:#597b4d}.status-pill.warn{background:#fbf0dc;color:#9d793e}.status-pill.error{background:#f8e9e5;color:#af6657}.status-pill.neutral{background:#f0f2eb;color:#8c9682}.row-actions{display:flex;gap:2px;align-items:center;justify-content:flex-end}.row-actions .icon-button{height:28px;width:28px}.row-actions .icon{width:15px;height:15px}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:13px 24px;border-top:1px solid #eef0e7;color:#a0a895;font-size:10px}.table-footer a{font-size:11px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:42px 22px;min-height:235px}.empty-symbol{width:49px;height:49px;border-radius:16px;display:grid;place-items:center;color:#8ba370;background:#edf2e3;margin-bottom:15px}.empty-symbol svg{height:23px;width:23px}.empty-state h3{font-size:14px;font-weight:550;color:#59704d;margin-bottom:6px}.empty-state p{color:#949f89;font-size:11px;max-width:350px;line-height:1.8}.empty-state .button{margin-top:18px}.loading-state{padding:75px;text-align:center;color:#88967d;font-size:12px}.loading-state:before{content:"";display:block;margin:0 auto 15px;width:20px;height:20px;border:2px solid #e5ebdb;border-top-color:#71945e;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.filter-panel{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 16px;margin-bottom:16px}.search-input{display:flex;align-items:center;gap:9px;flex:1;min-width:180px}.search-input svg{color:#9ca791;width:17px;height:17px}.search-input input{border:0;background:transparent;padding:5px 0;font-size:11px;color:#607353;width:100%;min-width:120px;outline:none}.filter-panel select{border:1px solid #e7ecdF;border-radius:7px;padding:7px 25px 7px 9px;font-size:10px;color:#80916e;background:#fafbf7;max-width:190px}.filter-check{display:flex;align-items:center;gap:6px;color:#91a080;font-size:10px;white-space:nowrap;cursor:pointer}.filter-check input{accent-color:var(--green);width:13px;height:13px;margin:0}.table-hint{display:flex;gap:9px;justify-content:space-between;align-items:center;margin-bottom:15px;color:#9aa58e;font-size:10px}.pagination{display:flex;align-items:center;gap:7px}.pagination button{width:26px;height:26px;display:grid;place-items:center;border:1px solid #e4e9dc;border-radius:6px;background:#fff;color:#8c9c7c}.pagination span{padding:0 5px;font-size:10px;color:#90a080}
.capital-metrics{grid-template-columns:1.45fr 1fr 1fr}.capital-layout{display:grid;grid-template-columns:1.8fr 1fr;gap:21px;margin-bottom:21px}.allocation-list{display:flex;flex-direction:column;gap:18px}.allocation-header{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin-bottom:8px}.allocation-header strong{font-weight:550}.donut-wrap{display:flex;align-items:center;justify-content:center;position:relative;min-height:175px;margin-bottom:14px}.donut{width:165px;height:165px;transform:rotate(-90deg)}.donut-label{position:absolute;text-align:center}.donut-label span{display:block;font-size:10px;color:#99a28f}.donut-label strong{font-size:23px;font-weight:600;letter-spacing:-.5px}.donut-label small{color:#94a287;font-size:11px}.rates-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.rate-chip{padding:13px;border:1px solid #e6ecdc;border-radius:10px;background:#fafcf6}.rate-chip>span{display:block;font-size:10px;color:#94a584}.rate-chip strong{font-size:16px;font-weight:550;display:block;margin:4px 0;color:#58744b}.rate-chip small{font-size:9px;color:#a6af9a}.integration-card{padding:16px;border:1px solid #e8eddf;background:#fcfdf9;border-radius:11px;display:flex;justify-content:space-between;gap:12px;margin-top:11px}.integration-card strong{font-size:11px;font-weight:550;display:block;color:#657953}.integration-card p{font-size:10px;line-height:1.7;color:#9aa68d;margin-top:3px}.integration-card .status-pill{align-self:flex-start;flex-shrink:0}.snapshot-note{font-size:10px;color:#99a58e;max-width:230px;overflow-wrap:anywhere}.source-label{font-size:9px;color:#a5ae97}
.import-layout{display:grid;grid-template-columns:1.55fr 1fr;gap:21px;margin-bottom:21px}.dropzone{position:relative;border:1.5px dashed #c7d5b4;border-radius:12px;min-height:220px;background:#fafcf7;display:flex;align-items:center;justify-content:center;text-align:center;padding:25px;transition:background .15s,border-color .15s}.dropzone.dragging{border-color:var(--green);background:#e8f1df}.dropzone input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-icon{width:46px;height:46px;border-radius:13px;background:#e8f0de;color:#729951;display:grid;place-items:center;margin:0 auto 13px}.upload-icon svg{height:22px;width:22px}.dropzone h3{font-size:13px;color:#64814d}.dropzone p{font-size:11px;color:#9dab8c;margin-top:7px}.dropzone small{display:block;font-size:10px;color:#a7b299;margin-top:13px}.upload-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}.upload-bottom input{max-width:230px;flex:1}.file-info{font-size:11px;line-height:1.7;color:#839674;margin-top:12px}.help-step{display:flex;gap:12px;margin-bottom:21px}.step-number{width:24px;height:24px;border-radius:7px;background:#f0f3e9;color:#8c9e79;font-size:10px;display:grid;place-items:center;flex-shrink:0}.help-step strong{font-size:11px;font-weight:550;color:#6a805a}.help-step p{font-size:10px;line-height:1.8;color:#a0ab93;margin-top:4px}.warning-box{background:#fcf7e9;border:1px solid #ece1bd;padding:13px 16px;border-radius:9px;color:#9e864c;font-size:11px;margin-bottom:16px}.warning-box p+p{margin-top:5px}.preview-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:17px}.preview-heading strong{font-size:13px}.preview-stats{display:flex;gap:15px;font-size:11px;color:#9cab88;margin-top:5px}.preview-stats span:first-child{color:#698c4f}.preview-check{padding:16px 23px;background:#f5f8ef;border-top:1px solid #e8eedb;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:11px;color:#8b9c78}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px;margin-bottom:21px}.inline-form{display:flex;gap:9px;margin-bottom:20px}.inline-form input{flex:1;min-width:0}.input-field{border:1px solid #e1e8d8;border-radius:8px;background:#fcfdf9;padding:9px 11px;font-size:11px;color:#70895a}.input-field::placeholder{color:#a5b194}.category-list{display:flex;flex-wrap:wrap;gap:8px}.category-tag{border:1px solid #e5ebdB;background:#fafcf6;color:#81966b;border-radius:7px;padding:7px 10px;display:flex;gap:7px;align-items:center;font-size:11px}.category-tag .category-dot{height:5px;width:5px}.rule-form{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:18px}.rule-form .button{grid-column:1/-1;justify-self:start}.rule-list{display:flex;flex-direction:column;gap:9px;max-height:310px;overflow:auto}.rule-item{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fafcf6;border:1px solid #e8eedf;border-radius:9px;padding:10px 12px}.rule-item strong{font-size:11px;font-weight:550;color:#718b5c}.rule-item p{font-size:10px;color:#a1b08d;margin-top:3px}.setting-info{font-size:11px;color:#9cae87;line-height:1.8}.setting-info p+p{margin-top:12px}.settings-export{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.app-footer{padding:0 40px 24px;display:flex;justify-content:space-between;gap:20px;color:#afb8a3;font-size:9px;letter-spacing:.2px}
.editor-dialog{border:1px solid #e1e7d7;border-radius:16px;padding:0;width:min(510px,calc(100% - 32px));max-height:90vh;box-shadow:0 15px 70px #13281926;color:var(--ink);background:#fff}.editor-dialog::backdrop{background:#152b2266;backdrop-filter:blur(3px)}.editor-dialog.wide{width:min(920px,calc(100% - 32px))}.dialog-header{padding:24px 25px 19px;border-bottom:1px solid #ebefe2;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dialog-header h2{font-size:21px}.dialog-header p{font-size:11px;color:#96a487;margin-top:6px}.dialog-body{padding:22px 25px;max-height:62vh;overflow:auto}.dialog-footer{padding:16px 25px;border-top:1px solid #e8eedf;display:flex;align-items:center;justify-content:flex-end;gap:9px;background:#fcfdf9}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-field{display:flex;flex-direction:column;gap:6px;min-width:0}.form-field.full{grid-column:1/-1}.form-field label{font-size:11px;color:#738b60;font-weight:550}.form-field input,.form-field select,.form-field textarea{border:1px solid #dde6d3;border-radius:8px;padding:9px 11px;background:#fff;font-size:12px;color:#5e7a4b;width:100%;min-width:0}.form-field textarea{resize:vertical;min-height:66px}.form-help{font-size:10px;color:#a0ae8e}.form-check{display:flex;gap:8px;align-items:flex-start;color:#96a786;font-size:11px;margin-top:18px}.form-check input{accent-color:var(--green);margin:3px 0}.holding-row{display:grid;grid-template-columns:1.4fr 1fr .65fr .8fr .9fr 30px;gap:7px;align-items:center;padding:11px 0;border-bottom:1px solid #edf1e5}.holding-row:first-of-type{padding-top:6px}.holding-row input,.holding-row select{width:100%;min-width:0;font-size:10px;padding:8px 6px;border:1px solid #e4ebda;border-radius:6px;color:#7e9566;background:#fff}.holding-labels{display:grid;grid-template-columns:1.4fr 1fr .65fr .8fr .9fr 30px;gap:7px;font-size:9px;color:#a1b18c;margin-top:22px}.holding-row .icon-button{width:28px;height:28px}.holding-row .icon-button svg{width:15px;height:15px}.capital-form-add{margin-top:13px}.confirm-copy{font-size:12px;color:#899e75;line-height:1.8}.toast-region{position:fixed;right:25px;bottom:24px;z-index:100;display:flex;flex-direction:column;gap:8px;width:min(360px,calc(100vw - 36px))}.toast{padding:14px 17px;border-radius:10px;background:#254333;color:#edf5e3;box-shadow:0 5px 24px #152b2220;font-size:12px;animation:toast-in .2s ease-out}.toast.error{background:#8b4c40;color:#fff4ec}@keyframes toast-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.error-state{padding:36px;text-align:center;color:#a67858}.error-state p{font-size:12px;margin-bottom:16px}.subsection-heading{margin:28px 0 15px;display:flex;justify-content:space-between;align-items:center}.subsection-heading h2{font-size:16px}.export-link{font-size:11px;color:#829d6b}.text-right{text-align:right}.text-nowrap{white-space:nowrap}.mobile-overlay{display:none}
@media(min-width:1450px){main{padding-top:42px}.metric-card{padding:24px}.metric-value{font-size:34px}.chart{height:245px}.empty-chart{height:245px}.card{padding:27px}.table-card{padding:0}}
@media(max-width:1150px){.sidebar{width:192px;padding-inline:13px}.workspace{margin-left:192px;width:calc(100% - 192px)}main{padding:30px 26px}.topbar{padding-inline:26px}.metric-card{padding:18px}.metric-value{font-size:26px}.dashboard-grid,.capital-layout{grid-template-columns:1.4fr 1fr}.card{padding:20px}.table-card{padding:0}.page-actions .button{padding:9px 11px}.app-footer{padding-inline:26px}.period-presets button{padding-inline:8px}.date-range{gap:5px}.date-range input{max-width:108px}.import-layout{grid-template-columns:1.4fr 1fr}.holding-row,.holding-labels{grid-template-columns:1.2fr 1fr .6fr .7fr .8fr 25px}}
@media(max-width:900px){.sidebar{width:177px}.sidebar .brand{font-size:20px;gap:9px;padding:0 4px}.brand-symbol{width:36px;height:36px;font-size:31px}.brand-label{font-size:7px}.workspace{margin-left:177px;width:calc(100% - 177px)}.nav-item{padding:12px 10px}.nav-label{margin-left:10px}.privacy-note{padding-inline:4px;font-size:10px;gap:7px}.privacy-note small{font-size:9px}main{padding:26px 21px}h1{font-size:28px}.topbar{padding-inline:21px;height:67px}.page-heading{align-items:flex-start}.page-actions{flex-wrap:wrap;justify-content:flex-end;max-width:220px}.period-bar{align-items:flex-start;flex-wrap:wrap;gap:10px}.metrics-grid{gap:12px}.metric-card{padding:16px}.metric-value{font-size:23px}.metric-value .currency{font-size:16px}.metric-bottom{font-size:9px;flex-wrap:wrap;gap:2px}.dashboard-grid,.capital-layout{grid-template-columns:1fr}.dashboard-grid .card:nth-child(2){min-height:240px}.import-layout,.settings-grid{grid-template-columns:1fr}.capital-metrics{grid-template-columns:1.3fr 1fr 1fr}.capital-layout .card:last-child{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.capital-layout .card:last-child .card-header{grid-column:1/-1}.capital-layout .card:last-child .donut-wrap{grid-row:2}.capital-layout .card:last-child .allocation-list{grid-column:2;grid-row:2}.login-story{padding:35px 9%}.login-story h1{font-size:43px}.login-story p{font-size:12px}.app-footer{padding-inline:21px}}
@media(max-width:650px){.sidebar{transform:translateX(-100%);width:225px;transition:transform .2s}.app-shell.menu-open .sidebar{transform:translateX(0);box-shadow:0 0 0 100vw #172d2355}.sidebar .brand{font-size:22px}.sidebar .brand-symbol{width:41px;height:41px;font-size:34px}.sidebar .brand-label{font-size:8px}.nav-item{padding:13px 16px}.workspace{margin:0;width:100%}.topbar{height:61px;padding:0 18px;gap:10px}.mobile-menu{display:inline-grid;margin-left:-5px}.breadcrumb{flex:1;font-size:10px;gap:7px}.breadcrumb strong{display:none}.breadcrumb>span{display:none}.user-chip>span#user-name{display:none}.user-chip .status-dot{margin-left:1px}.user-chip{gap:7px}main{padding:26px 18px 25px}.page-heading{margin-bottom:20px;gap:10px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:8px}.page-heading h1{font-size:27px}.page-heading p.muted{font-size:10px;line-height:1.7;max-width:220px}.page-actions{max-width:130px;gap:6px}.page-actions .button{font-size:10px;padding:8px 10px}.page-actions .button:not(.primary){display:none}.period-bar{gap:12px;margin-bottom:18px}.period-presets{width:100%;justify-content:space-between;gap:2px}.period-presets button{font-size:10px;padding:7px 9px}.date-range{padding:7px 10px;width:100%;justify-content:center}.date-range input{width:auto;max-width:140px;font-size:10px}.date-range svg{margin-right:8px}.metrics-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.metric-card{border-radius:13px;padding:15px}.metric-card.highlight{grid-column:1/-1}.metric-top{margin-bottom:8px}.metric-value{font-size:25px}.metric-card.highlight .metric-value{font-size:31px}.metric-card.highlight .metric-top{margin-bottom:2px}.metric-card.highlight .metric-bottom{margin-top:7px}.metric-top{font-size:10px}.metric-icon{height:25px;width:25px;border-radius:8px}.metric-icon svg{height:15px;width:15px}.metric-bottom{font-size:8px;line-height:1.5;margin-top:9px}.trend-badge{font-size:9px}.card{padding:19px;border-radius:14px}.table-card{padding:0}.card-header{margin-bottom:19px}.card-header h2{font-size:17px}.card-header p{font-size:10px}.dashboard-grid{gap:16px;margin-bottom:16px}.chart,.empty-chart{height:195px}.legend{font-size:9px;gap:10px}.insight-strip{padding:13px;gap:10px;align-items:flex-start;margin-bottom:16px}.insight-copy{gap:9px}.insight-copy strong{font-size:10px}.insight-copy p{font-size:9px;line-height:1.7}.insight-icon{height:27px;width:27px;border-radius:8px}.insight-icon svg{width:15px;height:15px}.insight-strip .button{font-size:9px;padding:7px 9px;margin-top:2px}.table-card .card-header{padding:20px 19px 0}.table-card th:first-child,.table-card td:first-child{padding-left:19px}.table-card th:last-child,.table-card td:last-child{padding-right:19px}.table-footer{padding:13px 19px;gap:10px}.filter-panel{padding:12px;gap:9px}.search-input{flex-basis:100%;padding-bottom:7px;border-bottom:1px solid var(--line)}.filter-panel select{font-size:9px;max-width:none;flex:1;min-width:110px}.filter-panel .filter-check{font-size:9px}.table-hint{align-items:flex-start;gap:8px;font-size:9px}.table-hint .filter-check{font-size:9px;max-width:155px;white-space:normal;align-items:flex-start}.table-hint .filter-check input{flex-shrink:0;margin-top:2px}.tx-table th,.tx-table td{padding:12px 10px}.tx-table .account-col{display:none}.tx-title{font-size:10px;min-width:135px;max-width:210px}.tx-date{font-size:10px}.category-select{max-width:150px;font-size:9px}.tx-amount{font-size:10px}.capital-metrics{grid-template-columns:1fr 1fr}.capital-layout{gap:16px;margin-bottom:16px}.capital-layout .card:last-child{display:block}.capital-layout .allocation-list{gap:15px}.import-layout,.settings-grid{gap:16px;margin-bottom:16px}.dropzone{min-height:190px}.upload-bottom{align-items:stretch;flex-wrap:wrap}.upload-bottom input{max-width:none;width:100%}.upload-bottom .button{flex:1}.preview-heading{align-items:flex-start;gap:10px}.preview-heading .button{font-size:9px;padding:7px 9px}.preview-stats{flex-wrap:wrap;gap:3px 12px;font-size:9px}.preview-check{font-size:10px;padding:13px;align-items:flex-start;flex-direction:column}.preview-check .button{width:100%}.holding-labels{display:none}.holding-row{display:grid;grid-template-columns:1fr 1fr 25px;gap:7px;padding:14px 0}.holding-row input:first-child{grid-column:1/-2}.holding-row select[data-field=asset_type]{grid-column:1}.holding-row select[data-field=currency]{grid-column:2}.holding-row input[data-field=quantity]{grid-column:1}.holding-row input[data-field=unit_price]{grid-column:2}.holding-row button{grid-column:3;grid-row:1/4}.holding-row input,.holding-row select{font-size:11px;padding:9px}.dialog-body,.dialog-header{padding:20px}.dialog-footer{padding:14px 20px}.dialog-header h2{font-size:19px}.form-grid{gap:13px}.form-field input,.form-field select{font-size:11px}.form-field label{font-size:10px}.rule-form{grid-template-columns:1fr}.rule-form .button{width:100%}.app-footer{padding:0 18px 19px;font-size:8px;gap:10px}.login-view{grid-template-columns:1fr}.login-story{min-height:280px;padding:29px 30px}.login-story .brand{font-size:20px}.login-story-content{padding-top:34px;margin:0}.login-story h1{font-size:34px;margin-bottom:14px}.login-story-content>p{display:none}.login-story .eyebrow{font-size:8px;margin-bottom:8px}.login-art{position:absolute;right:-15px;bottom:35px;width:180px;height:170px;margin:0}.art-circle{height:110px;width:110px;right:15px;top:30px}.art-circle span{font-size:55px}.art-line{display:none}.login-footnote{margin-top:24px;font-size:9px;max-width:230px}.login-panel{padding:37px 30px 45px}.login-card h2{font-size:25px}.login-card>p.muted{font-size:12px;margin-bottom:26px}.login-card label{margin-top:15px}.login-card .eyebrow{font-size:8px}.toast-region{right:18px;bottom:18px}.empty-state{padding:35px 19px;min-height:225px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.holding-row,.holding-labels{grid-template-columns:1.35fr .95fr .7fr .8fr .9fr .85fr 28px}.preview-table{max-height:450px;overflow:auto}.preview-table thead{position:sticky;top:0;z-index:1;background:#fafbf7}
@media(max-width:650px){.holding-row{grid-template-columns:1fr 1fr 25px}.holding-row input[data-field=fx_rate]{grid-column:1/-2;grid-row:4}.holding-row button{grid-row:1/5}}

.capital-range{display:flex;align-items:center;gap:9px;margin:-7px 0 20px;flex-wrap:wrap}
.capital-range label{display:flex;align-items:center;gap:7px;font-size:10px;color:#91a280;border:1px solid #e1e8d8;border-radius:7px;background:#fafcf6;padding:6px 9px}
.capital-range input{border:0;background:transparent;color:#698455;font-size:10px;max-width:120px;padding:1px 0}
.capital-range .button{font-size:10px;padding:6px 9px;color:#80986a;background:#fff}
.capital-period-stats{border-top:1px solid #ebefdf;margin-top:17px;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:10px}
.capital-stat-label{color:#758e62;font-size:11px;font-weight:550}
.capital-period-stats p{font-size:10px;color:#9cab8d;margin:3px 0}
.capital-period-stats .form-help{font-size:9px;line-height:1.6;display:block}
.capital-stat-value{display:flex;flex-direction:column;gap:3px;text-align:right;white-space:nowrap;color:#64894d}
.capital-stat-value strong{font-size:20px;letter-spacing:-.4px;font-weight:600}
.capital-stat-value>span{font-size:11px;font-weight:550}
.capital-stat-value.negative{color:var(--red)}
@media(max-width:650px){.capital-range{gap:6px;margin-bottom:15px}.capital-range label{padding:6px 8px;gap:5px;font-size:9px;flex:1}.capital-range input{width:100%;max-width:105px;font-size:9px;min-width:0}.capital-range .button{font-size:9px;padding:6px 7px}.capital-period-stats{align-items:flex-start;gap:10px}.capital-stat-label{font-size:10px}.capital-stat-value strong{font-size:17px}.capital-stat-value>span{font-size:10px}.capital-period-stats .form-help{max-width:175px;font-size:8px}.capital-period-stats p{font-size:9px}}
