:root{--ink:#263e38;--green:#214e43;--mint:#e3ece3;--paper:#f7f8f3;--line:#e4e8df;--muted:#7b857c;--peach:#ead2b4}*{box-sizing:border-box}body{margin:0;font:14px/1.5 'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--paper)}button,input,select,textarea{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button,a,input,select,textarea{outline-offset:4px}button{border:0;background:transparent;color:inherit}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-weight:550;letter-spacing:-1.6px;font-size:36px}h2{font-size:19px;font-weight:600;letter-spacing:-.5px}h3{font-size:16px;font-weight:600}p{color:var(--muted)}[hidden]{display:none!important}.primary,.secondary,.danger{display:inline-flex;justify-content:center;align-items:center;gap:16px;border-radius:7px;padding:12px 19px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:white;box-shadow:0 3px 4px #17382a12}.primary:hover{background:#173a31}.secondary{border:1px solid #cdd6c9;background:white}.danger{background:#a64035;color:#fff}.text-button{color:var(--green);font-weight:600;padding:7px 0}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:#7a887b;margin-bottom:9px}.brand{display:flex;align-items:center;gap:10px;font-size:28px}.brand span{font-size:11px;letter-spacing:2px;font-weight:700}.badge{display:inline-block;font-size:10px;font-weight:650;letter-spacing:1.6px;background:var(--mint);padding:7px 10px;border-radius:4px}.muted{font-size:12px;color:var(--muted)}.error{color:#ae493b;min-height:20px;font-size:13px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-art{background:#234c41;color:#fff;padding:50px 10%;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;overflow:hidden;position:relative}.login-art h1{font:54px/1.15 Georgia,serif;letter-spacing:-1.5px;margin:36px 0 18px}.login-art p{color:#b4c9b6}.login-art .eyebrow{color:#b4c9b6}.art-foot{font-size:10px;letter-spacing:2px}.login-form{display:grid;place-items:center;padding:40px}.login-box{width:100%;max-width:350px}.login-box h2{font-size:34px;letter-spacing:-1px;margin:24px 0 6px}.login-box form{margin:30px 0}.login-box .address{line-height:1.8;border-top:1px solid var(--line);padding-top:23px}.wide{width:100%;justify-content:space-between}.house-art{height:230px;width:300px;position:relative;align-self:center;margin:25px 0}.house-art>span{font:70px Georgia;color:#88a69133;position:absolute;right:0;top:-20px}.roof{position:absolute;top:25px;left:40px;width:180px;height:100px;background:#789982;clip-path:polygon(50% 0,100% 100%,0 100%)}.house{position:absolute;width:180px;height:110px;background:#d2d8b8;left:40px;top:125px;display:flex;gap:55px;padding:20px}.house i{background:#3e6a55;display:block;width:32px;height:40px;border:4px solid #acb89c}.house b{position:absolute;background:#587761;width:30px;height:60px;bottom:0;left:75px}.ground{position:absolute;height:1px;width:280px;background:#789982;bottom:-5px}aside{position:fixed;inset:0 auto 0 0;width:238px;background:#eef1e8;border-right:1px solid #dfe5d9;padding:30px 24px;display:flex;flex-direction:column}.home-name{font:27px Georgia,serif;margin-top:35px;letter-spacing:-.8px}.sidebar-address{font-size:11px;margin-top:4px}nav{margin:35px -8px}nav button{display:flex;align-items:center;width:100%;padding:12px 16px;border-radius:7px;gap:14px;font-size:19px;text-align:left;margin-bottom:8px}nav button span{font-size:13px}nav button.active{background:#dbe4d5;color:#254e3d;font-weight:650}nav button:hover{background:#e2e8dc}.sidebar-note{margin-top:auto;border-top:1px solid #d6dece;padding-top:23px}.sidebar-note>span{font-size:9px;letter-spacing:1.5px;color:#83917b}.sidebar-note p{font:24px/1.4 Georgia,serif;color:#71816e;margin-top:15px}.mini-house{font:60px Georgia;color:#91a58a;margin:10px}.account{border-top:1px solid #d6dece;display:flex;align-items:center;gap:10px;padding-top:20px;margin-top:20px}.avatar{width:33px;height:33px;background:#d8e2d1;border-radius:50%;display:grid;place-items:center}.account strong{font-size:12px}.account small{display:block;font-size:9px;color:#82907a}.account button{margin-left:auto;font-size:21px}main{margin-left:238px;padding:36px 38px 20px;max-width:1800px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:20px}.dot{color:#8fa17c}.subtitle{font-size:11px;margin-top:7px}.toolbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce2d7;margin-bottom:25px;gap:15px}.toolbar #pageTabs{display:flex;gap:24px}.toolbar #pageTabs button{padding:13px 0;font-size:12px;color:#869080;border-bottom:2px solid transparent}.toolbar #pageTabs .selected{color:#294b3b;border-color:#294b3b;font-weight:650}.filters{display:flex;align-items:center;gap:6px;padding-bottom:10px}.filters input,.filters select{padding:8px;border:1px solid #dfe5d9;background:white;border-radius:5px;max-width:160px;font-size:11px}.square{width:25px;font-size:24px;line-height:30px}.ghost{font-size:11px;padding:8px;border-radius:4px}.ghost.active{background:#dce7d7}.stats{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:16px;margin-bottom:23px}.stat{border:1px solid var(--line);background:#fff;border-radius:10px;padding:23px;position:relative;overflow:hidden;min-width:0}.stat-label{font-size:9px;letter-spacing:1.4px;color:#7a867b;display:flex;justify-content:space-between;align-items:center;height:22px}.stat-label>span{font-size:18px}.stat strong{font-size:30px;font-weight:550;letter-spacing:-1px;display:block;margin:16px 0 7px}.stat p{font-size:10px}.stat .category-total{font-size:22px;margin-top:23px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero-stat{background:#264e42;color:white;border:0}.hero-stat .stat-label,.hero-stat p{color:#b7cbb9}.hero-stat strong{font-size:34px;position:relative;z-index:1}.stat-wave{border:1px solid #65816a66;position:absolute;width:170px;height:170px;border-radius:50%;right:-90px;bottom:-100px;box-shadow:0 0 0 15px #65816a22,0 0 0 30px #65816a15,0 0 0 45px #65816a11}.person-mark{background:#e7eee2;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:10px!important;color:#496348}.person-mark.peach{background:#f1e6d6;color:#977852}.chart-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:22px;margin-bottom:22px}.panel{border:1px solid var(--line);background:white;border-radius:10px;padding:24px;margin-bottom:22px;min-width:0}.chart-grid .panel{margin:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:26px}.panel-heading p{font-size:11px;margin-top:3px}.panel-heading .text-button{font-size:11px}.pill{font-size:8px;letter-spacing:1px;background:#f1f4ec;padding:6px 9px;border-radius:4px;white-space:nowrap;color:#7f8e74}.category-chart{min-height:225px;display:flex;align-items:center;gap:25px}.donut{width:165px;height:165px;border-radius:50%;position:relative;flex-shrink:0;display:grid;place-items:center}.donut-center{width:125px;height:125px;background:white;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut-center strong{font-size:23px;font-weight:600;letter-spacing:-.8px}.donut-center small{font-size:10px;color:var(--muted)}.legend{width:100%;max-height:225px;overflow:auto}.legend-row{display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:8px;font-size:11px;margin:12px 0}.legend-dot{width:7px;height:7px;border-radius:2px}.legend-row strong{font-size:11px;font-weight:550}.chart-icon{font-size:23px;color:#99a990}.person-chart{padding-top:10px;min-height:150px}.person-bar{margin-bottom:23px}.bar-title{display:flex;justify-content:space-between;margin-bottom:10px;font-size:12px}.bar-title strong{font-weight:550}.bar-track{background:#f0f3eb;height:12px;border-radius:3px;overflow:hidden}.bar-fill{height:100%;border-radius:3px;background:#6d8a67}.bar-fill.carolanne{background:#d1ac7e}.tip{padding:16px 0 0;border-top:1px solid var(--line);display:flex;gap:12px;align-items:center}.tip>span{font-size:24px;color:#86977c}.tip p{font-size:11px}.empty{padding:45px 15px;text-align:center;width:100%;color:#8a9485}.empty-symbol{font:40px Georgia;color:#9cac91;margin-bottom:12px}.empty h3{color:#5d725b;margin-bottom:6px}.empty p{font-size:12px}.empty button{margin-top:15px;font-size:12px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{color:#8b9487;font-size:9px;letter-spacing:1px;font-weight:600;padding:12px 10px;background:#f8faf5;border-top:1px solid #edf0e8;border-bottom:1px solid #edf0e8}td{padding:14px 10px;border-bottom:1px solid #eef1e9;font-size:11px}td strong{font-size:12px;font-weight:600}td small{display:block;font-size:10px;color:#8d9688;max-width:190px;overflow:hidden;text-overflow:ellipsis}.category-chip{display:inline-block;font-size:10px;background:#eef2e8;color:#667c57;padding:4px 8px;border-radius:4px}.user-dot{width:21px;height:21px;border-radius:50%;background:#e5ecdf;display:inline-grid;place-items:center;margin-right:6px;font-size:9px;color:#5f7957}.user-dot.c{background:#f1e6d6;color:#937648}.amount{text-align:right;font-weight:650}.row-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}.row-actions button{color:#6f8265;font-size:11px}.row-actions .delete{color:#a76758}.statement-callout{display:flex;align-items:center;gap:18px;padding:24px;background:#edf1e6;border:1px solid #dce5d3;border-radius:9px}.statement-callout p{font-size:11px;margin-top:4px}.statement-callout button{margin-left:auto;font-size:11px}.callout-icon{font-size:28px;background:#e0e8d6;border-radius:8px;width:48px;height:48px;display:grid;place-items:center;flex-shrink:0}footer{font-size:8px;letter-spacing:1.3px;color:#99a08f;margin-top:32px;display:flex;justify-content:space-between}footer span{letter-spacing:0;font:italic 12px Georgia}.history-filters{display:flex;gap:12px;margin-bottom:20px}.history-filters input{flex:1}.section-intro{margin:8px 0 25px}.section-intro h2{font:28px Georgia}.section-intro p{margin-top:8px;font-size:12px}.upload-panel{max-width:720px}.upload-symbol{font-size:30px;color:#789369;margin-bottom:10px}.upload-panel>p{font-size:12px;margin:5px 0 25px}.file-zone{border:1px dashed #b8c6ac;padding:20px;background:#f8faf4;border-radius:7px}.file-zone input{border:0;padding:10px 0 0;background:transparent}.upload-panel .primary{margin:20px 20px 0 0}.category-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.category-item{border:1px solid var(--line);padding:18px;border-radius:6px;display:flex;gap:12px;align-items:center}.category-item span{color:#819574}.category-item small{display:block;font-size:10px;color:#909a87}.statement-item{display:flex;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}.statement-item strong{font-size:12px}.statement-item p{font-size:10px;margin-top:3px}.statement-item button{margin-left:auto;font-size:12px}label{display:block;font-size:11px;font-weight:600;margin-bottom:18px}input,select,textarea{display:block;width:100%;border:1px solid #dbe2d3;background:#fff;border-radius:5px;color:#344d3c;padding:11px 12px;margin-top:7px;min-width:0}input::placeholder,textarea::placeholder{color:#a0a79a;font-size:12px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:17px}.checkbox-label{display:flex;align-items:center;gap:10px;font-weight:400}.checkbox-label input{width:auto;margin:0}.optional{font-weight:400;color:#929d88}dialog{border:1px solid #dce3d2;border-radius:13px;padding:28px;width:500px;max-width:calc(100vw - 28px);color:var(--ink);max-height:90vh;box-shadow:0 24px 120px #1a342c44}dialog::backdrop{background:#153a3266;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:10px}.dialog-heading h2{font-size:25px}.close{font-size:27px;padding:0 4px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.inline-add{font-size:11px;margin-top:-12px;margin-bottom:15px}.review-dialog{width:1100px}.review-description{font-size:12px;margin-bottom:15px}.warning{background:#fbf4e7;border:1px solid #eadfc7;color:#947339;padding:13px;border-radius:5px;font-size:11px}.warning:empty{display:none}.review-toolbar{display:flex;align-items:center;gap:20px;margin:18px 0;font-size:12px}.review-toolbar button{font-size:11px}.review-toolbar span{margin-right:auto}.review-scroll{max-height:43vh;overflow:auto}.review-scroll thead{position:sticky;top:0;z-index:1}.review-scroll input,.review-scroll select{font-size:11px;padding:7px;width:auto;max-width:155px;margin:0}.review-scroll input[type=checkbox]{width:17px;height:17px}.review-scroll input[type=number]{width:90px}.review-scroll input[type=text]{min-width:130px}.review-scroll td{padding:9px 6px}.match{color:#a7803e;font-size:10px}.unmatched{color:#5f8061;font-size:10px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#234e42;color:white;box-shadow:0 5px 30px #223d3933;border-radius:8px;padding:13px 24px;z-index:10;display:none;font-size:13px;max-width:90vw}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1500px){main{padding:45px 55px}.stats{gap:22px}.stat{padding:28px}.category-chart{gap:40px}.donut{width:190px;height:190px}.donut-center{width:145px;height:145px}}@media(max-width:1150px){aside{width:195px;padding:26px 18px}.brand span{font-size:9px}.home-name{font-size:23px}main{margin-left:195px;padding:28px 24px}.stats{gap:10px}.stat{padding:17px}.stat strong{font-size:25px}.hero-stat strong{font-size:29px}.category-chart{gap:15px}.donut{width:130px;height:130px}.donut-center{width:100px;height:100px}.donut-center strong{font-size:18px}.chart-grid{gap:15px}.panel{padding:19px}.toolbar{flex-wrap:wrap}.toolbar .filters{margin-left:auto}.statement-callout{flex-wrap:wrap}.statement-callout button{margin-left:66px}}@media(max-width:800px){aside{position:relative;width:100%;height:auto;padding:15px 20px;border-right:0;border-bottom:1px solid #dce4d3;display:block}.brand{font-size:22px}.brand span{font-size:10px}.home-name,.sidebar-address,.sidebar-note{display:none}nav{display:flex;margin:12px -7px -6px;gap:5px}nav button{width:auto;flex:1;justify-content:center;padding:9px 4px;gap:5px;font-size:15px;margin:0}nav button span{font-size:11px}.account{position:absolute;right:20px;top:7px;border:0;padding:0;margin:8px 0}.account small{display:none}.account button{font-size:19px}.account strong{font-size:11px}main{margin:0;padding:24px 18px}header{gap:10px}h1{font-size:30px}.subtitle{max-width:245px;font-size:10px}header .primary{padding:11px;font-size:11px}.stats{grid-template-columns:1fr 1fr;gap:12px}.chart-grid{grid-template-columns:1fr}.category-chart{justify-content:center;gap:35px}.legend{max-width:250px}.donut{width:155px;height:155px}.donut-center{width:120px;height:120px}.toolbar{gap:6px}.filters{flex-wrap:wrap;justify-content:flex-end}.toolbar #pageTabs{gap:20px}.stat strong{font-size:29px}.stat .category-total{font-size:23px}.category-list{grid-template-columns:1fr 1fr}.login{grid-template-columns:1fr}.login-art{display:none}.login-form{min-height:100vh;padding:28px}.review-toolbar{flex-wrap:wrap;gap:8px}.review-toolbar span{width:100%}footer span{display:none}.statement-callout{padding:18px}.statement-callout h3{font-size:14px}.statement-callout>div:nth-child(2){flex:1}.statement-callout button{margin:0 0 0 auto}.history-filters{flex-wrap:wrap}.history-filters input{min-width:180px}.panel-heading{gap:9px}.panel-heading h2{font-size:17px}.panel-heading .secondary{font-size:10px;padding:10px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}.bar-fill{transition:width .35s}dialog[open]{animation:appear .15s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
@media(max-width:420px){nav{overflow-x:auto;gap:3px}nav button{flex:0 0 auto;padding:9px 7px}nav button span{font-size:10px}.category-chart{flex-direction:column;gap:15px}.legend{max-width:none}.category-list{grid-template-columns:1fr}.form-row{gap:10px}header h1{font-size:27px}header .subtitle{max-width:180px}.stats .stat{padding:16px}.stat-label{font-size:8px;letter-spacing:1px}.stats .stat strong{font-size:26px}.stats .stat .category-total{font-size:21px}.toolbar #pageTabs{gap:18px}.filters{width:100%;justify-content:flex-start}.filters select{max-width:95px}.filters input{max-width:139px}.filters{gap:3px}.square{width:20px}.ghost{padding:5px;font-size:10px}.panel-heading{flex-wrap:wrap}.review-dialog .form-row{grid-template-columns:1fr}.login-form{padding:24px}.statement-callout button{white-space:normal}}

.pin-person{font-size:20px;font-weight:600;color:var(--green);margin-bottom:18px}#changeName{font-size:12px;margin-top:-8px;margin-bottom:10px}

.header-actions{display:flex;gap:10px;align-items:center}#billUploadForm>p{font-size:12px;margin:0 0 18px}#billUploadForm .bill-help{margin:18px 0}#cameraSelection{margin-top:10px!important}#billReview{margin-bottom:24px}#billImage{display:block;max-height:230px;max-width:100%;margin:0 auto 15px;border-radius:5px;border:1px solid var(--line)}#billText{font:11px/1.5 monospace;white-space:pre-wrap;max-height:160px;overflow:auto;margin-top:10px}#billReview details{font-size:11px;color:var(--muted);margin-top:10px}#billCategoryLabel small{display:block;margin-top:6px;font-weight:400}@media(max-width:800px){.header-actions{flex-direction:column;gap:7px}.header-actions .secondary{font-size:11px;padding:9px 12px}.header-actions .primary{font-size:11px}}

.brand img{display:block;width:174px;height:auto;max-width:100%}.login-art .brand img{width:214px}.login-app-icon{display:block;border-radius:16px;margin-bottom:22px;box-shadow:0 5px 16px #214e431a}@media(max-width:1150px) and (min-width:801px){aside .brand img{width:153px}}@media(max-width:800px){aside .brand img{width:154px}}@media(max-width:420px){aside .brand img{width:140px}.login-app-icon{width:58px;height:58px}}
