:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1C1A18;background:#F4EFE6;font-size:16px;--navy:#1C1A18;--blue:#8A6A2E;--muted:#706B62;--line:#F4EFE6;--green:#17826c;--orange:#c47939;--surface:#fff;--radius:16px;font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{touch-action:manipulation}button:disabled{opacity:.5;cursor:wait}button{border:0;background:none;color:inherit}a{color:var(--blue)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #C8BDA9;outline-offset:3px}svg{vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:1.85rem;letter-spacing:-.04em;font-weight:650;line-height:1.2}h2{font-size:1.075rem;font-weight:650;letter-spacing:-.015em}h3{font-size:1rem;font-weight:650}input,textarea,select{border:1px solid #E2DACE;border-radius:9px;padding:12px 13px;background:#fff;color:#1C1A18;min-height:45px;max-width:100%}input,textarea{width:100%}textarea{resize:vertical}input[type=checkbox]{width:19px;min-height:19px;height:19px;accent-color:var(--blue)}.muted{color:var(--muted);font-size:.875rem}.positive{color:var(--green)}.negative{color:#b56830}.nowrap{white-space:nowrap}.skip-link{position:absolute;left:20px;top:-100px;background:#fff;padding:15px;z-index:100}.skip-link:focus{top:15px}.startup{padding:48px;line-height:2}.layout{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100dvh}.sidebar{background:var(--navy);color:#E2DACE;padding:33px 20px 23px;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;padding:0 5px;color:#fff}.brand img{width:39px;height:39px;border:1px solid #706B62;border-radius:12px}.brand-name{font-size:.96rem;font-weight:600;line-height:1.35;letter-spacing:-.02em}.brand-name small{display:block;font-size:.83rem;color:#E2DACE;font-weight:400}.workspace-label{font-size:.75rem;letter-spacing:.11em;color:#C8BDA9;margin:46px 15px 14px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{color:#E2DACE;display:flex;align-items:center;gap:13px;padding:13px 15px;width:100%;border-radius:9px;font-size:.91rem;text-align:left}.nav button:hover{background:#8A6A2E}.nav button.active{background:#8A6A2E;color:#fff;font-weight:550}.nav button .count{margin-left:auto;background:#706B62;border-radius:5px;font-size:.75rem;padding:2px 6px}.sidebar-bottom{margin-top:auto}.sidebar-note{border-top:1px solid #706B62;padding:21px 12px 0;margin-top:30px;font-size:.79rem;line-height:1.65;color:#C8BDA9}.sidebar-note strong{display:block;color:#F4EFE6;font-weight:500;margin-bottom:3px}.workspace{min-width:0}.topbar{height:81px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff;border-bottom:1px solid var(--line);gap:16px}.business{display:flex;align-items:center;gap:12px;min-width:0}.avatar{background:#F4EFE6;color:#706B62;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-size:.875rem;font-weight:600}.business strong{font-size:.9rem;font-weight:600;display:block;max-width:45vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business small{font-size:.75rem;color:var(--muted)}.top-actions{display:flex;gap:22px;align-items:center}.currency{color:#706B62;font-size:.81rem}.icon-button{padding:10px;border-radius:8px;min-width:44px;min-height:44px;display:inline-grid;place-items:center}.icon-button:hover{background:#F4EFE6}.top-user{background:var(--navy);color:#fff;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;font-size:.8rem}.preview-strip{background:#F4EFE6;color:#706B62;border-bottom:1px solid #F4EFE6;padding:9px 42px;display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:.78rem;line-height:1.5}.preview-strip span strong{font-weight:600}.preview-strip button{font-size:.78rem;text-decoration:underline;white-space:nowrap;padding:4px 0}.main{padding:35px 42px 40px;max-width:1600px;margin:auto}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.page-head p{margin-top:8px;font-size:.875rem;color:var(--muted)}.head-actions{display:flex;gap:11px;align-items:center}.period{font-size:.84rem;min-width:157px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;min-height:43px;padding:11px 17px;font-size:.87rem;font-weight:550;white-space:nowrap}.btn.primary{background:var(--blue);color:white;box-shadow:0 3px 7px #416cf021}.btn.primary:hover{background:#8A6A2E}.btn.secondary{background:#fff;border:1px solid #E2DACE}.btn.secondary:hover{background:#F4EFE6}.btn.danger{color:#ae3645;background:#fff0f1;border:1px solid #ffd6da}.text-button{font-size:.85rem;color:var(--blue);padding:10px 0;display:inline-flex;align-items:center;gap:7px}.text-button:hover{text-decoration:underline}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:25px}.stat{border:1px solid var(--line);background:white;border-radius:var(--radius);padding:22px 23px;min-height:170px;position:relative;overflow:hidden}.stat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#706B62;font-size:.88rem}.stat-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#eff8f4;color:#17826c}.stat-icon.expense{background:#fff4eb;color:#c47939}.stat-value{font-size:2rem;letter-spacing:-.045em;font-weight:650;margin-top:9px;font-variant-numeric:tabular-nums}.stat-foot{display:flex;align-items:center;gap:6px;font-size:.76rem;color:#706B62;margin-top:16px}.stat.profit{background:var(--navy);color:white;border-color:var(--navy)}.stat.profit .stat-head{color:#E2DACE}.stat.profit .stat-icon{background:#706B62;color:#E2DACE}.stat.profit .stat-foot{color:#E2DACE}.stat.profit .profit-detail{position:absolute;right:24px;bottom:21px;background:#8A6A2E;border-radius:6px;padding:4px 8px;color:#F4EFE6;font-size:.74rem}.grid-main{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:23px;margin-bottom:25px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.card-pad{padding:22px 24px}.card-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.card-head p{font-size:.79rem;color:var(--muted);margin-top:7px}.legend{display:flex;gap:14px;font-size:.75rem;color:#706B62;align-items:center}.legend span{display:flex;align-items:center;gap:6px}.dot{width:8px;height:8px;border-radius:3px;display:inline-block;flex-shrink:0}.chart{width:100%;height:225px;display:block;overflow:visible}.chart text{font-size:12px;fill:#706B62;font-family:inherit}.chart .gridline{stroke:#F4EFE6;stroke-dasharray:4 4}.chart-summary{border-top:1px solid #F4EFE6;padding-top:14px;margin-top:10px;display:flex;justify-content:space-between;gap:16px;font-size:.77rem;color:#706B62}.chart-summary strong{font-weight:550;color:#706B62}.category-card{display:flex;flex-direction:column}.donut-wrap{display:flex;justify-content:center;margin:1px 0 19px}.donut{width:141px;height:141px;border-radius:50%;position:relative;display:grid;place-items:center}.donut:before{content:"";position:absolute;inset:17px;border-radius:50%;background:#fff}.donut-center{z-index:1;text-align:center}.donut-center small{font-size:.68rem;color:var(--muted);display:block;margin-bottom:4px}.donut-center strong{font-size:1rem;letter-spacing:-.035em}.category-list{display:grid;gap:11px}.category-row{display:flex;align-items:center;gap:8px;font-size:.8rem}.category-row strong{margin-left:auto;font-weight:500;font-variant-numeric:tabular-nums}.category-row .pct{color:#706B62;font-size:.74rem;width:35px;text-align:right}.table-head{padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:.82rem}th{font-size:.69rem;letter-spacing:.07em;color:#706B62;font-weight:550;background:#F4EFE6;border-bottom:1px solid var(--line);border-top:1px solid var(--line);padding:13px 20px;text-transform:uppercase}td{border-bottom:1px solid #F4EFE6;padding:15px 20px;white-space:nowrap}tr:last-child td{border-bottom:0}th:first-child,td:first-child{padding-left:24px}th:last-child,td:last-child{padding-right:24px}td.description{min-width:195px;white-space:normal}.txn-name{display:flex;align-items:center;gap:11px}.txn-icon{background:#F4EFE6;color:#706B62;border-radius:9px;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0}.txn-icon.income{background:#edf8f3;color:#258570}.txn-description{font-weight:500;text-align:left;font-size:.83rem;padding:0;line-height:1.45}.txn-description:hover{color:var(--blue)}.txn-name small{display:block;font-size:.71rem;color:#C8BDA9;margin-top:3px}.category-tag{background:#F4EFE6;border-radius:5px;padding:5px 8px;color:#706B62;font-size:.74rem}.amount{text-align:right;font-variant-numeric:tabular-nums;font-weight:550}.status-tag{background:#eff7f3;color:#2d826c;border-radius:5px;padding:5px 8px;font-size:.72rem}.status-tag.pending{background:#fff7e9;color:#ad7e2e}.review-note{display:flex;align-items:center;gap:11px;background:#F4EFE6;border:1px solid #F4EFE6;padding:16px 20px;border-radius:11px;margin-top:21px;font-size:.82rem;color:#706B62}.review-note .text-button{margin-left:auto;font-size:.78rem;padding:0}.footer-note{font-size:.73rem;color:#C8BDA9;display:flex;gap:5px;align-items:center;margin-top:24px}.filter-row{display:flex;gap:12px;margin-bottom:18px;flex-wrap:wrap}.search-wrap{position:relative;flex:1;min-width:200px}.search-wrap svg{position:absolute;left:14px;top:14px;color:#706B62}.search-wrap input{padding-left:42px;font-size:.85rem}.filter-row select{font-size:.83rem;min-width:135px}.transaction-footer{padding:17px 24px;border-top:1px solid var(--line);font-size:.8rem;color:#706B62;display:flex;justify-content:space-between;align-items:center;gap:12px}.empty{padding:48px 22px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}.empty-icon{background:#F4EFE6;border-radius:16px;color:#C8BDA9;padding:15px;margin-bottom:3px}.empty p{font-size:.9rem;color:var(--muted);max-width:330px;line-height:1.65}.report-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:24px}.report-header{padding:30px;border-bottom:1px solid var(--line);text-align:center}.report-header h2{font-size:1.25rem;margin:8px 0}.report-header p{font-size:.85rem;color:var(--muted);line-height:1.7}.report-section{padding:21px 29px}.report-section+.report-section{border-top:1px solid var(--line)}.report-section h3{color:#706B62;font-size:.74rem;letter-spacing:.1em;margin-bottom:17px;text-transform:uppercase}.report-row{display:flex;justify-content:space-between;gap:20px;font-size:.89rem;padding:9px 0}.report-row.total{font-weight:650;border-top:1px solid var(--line);padding-top:16px;margin-top:10px}.report-net{background:var(--navy);color:white;padding:23px 29px;display:flex;justify-content:space-between;gap:15px;align-items:center}.report-net strong{font-size:1.55rem;letter-spacing:-.035em}.report-aside{display:flex;flex-direction:column;gap:20px}.explanation{padding:24px}.explanation p{font-size:.86rem;color:var(--muted);line-height:1.8;margin-top:11px}.explanation .btn{margin-top:20px}.receipt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.receipt-card img{width:100%;height:210px;object-fit:contain;background:#F4EFE6;border-bottom:1px solid var(--line)}.receipt-card .receipt-info{padding:17px}.receipt-info .muted{font-size:.78rem;margin:5px 0 12px}.receipt-card button{display:block;width:100%;text-align:left}.settings{max-width:800px;display:grid;gap:23px}.settings-card{padding:27px}.settings-card h2{margin-bottom:9px}.settings-card>p{font-size:.86rem;color:var(--muted);line-height:1.7;margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.field{display:flex;flex-direction:column;gap:8px;font-size:.85rem;min-width:0}.field.full{grid-column:1/-1}.field label,.field>span{font-size:.82rem;font-weight:550;color:#706B62}.field input,.field select,.field textarea{font-size:.88rem}.settings-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.privacy-link{color:var(--blue);font-size:.87rem;text-decoration:underline;padding:0}.setting-line{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 0;font-size:.87rem}.pill{background:#F4EFE6;border-radius:5px;padding:5px 9px;font-size:.76rem;color:#706B62}.mobile-nav{display:none}.modal-backdrop{position:fixed;inset:0;background:#1525416e;backdrop-filter:blur(3px);z-index:40;display:flex;align-items:center;justify-content:center;padding:24px}.modal{background:#fff;border-radius:20px;width:550px;max-width:100%;max-height:calc(100dvh - 48px);overflow-y:auto;box-shadow:0 24px 90px #10204340}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:22px 26px 13px;gap:20px}.modal-header h2{font-size:1.25rem}.modal-body{padding:9px 26px 26px}.type-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;background:#F4EFE6;border-radius:11px;margin-bottom:21px}.type-tabs button{padding:10px;font-size:.85rem;border-radius:8px;color:#706B62}.type-tabs button.active{background:#fff;box-shadow:0 2px 5px #172c4f0d;color:var(--navy);font-weight:600}.check-field{display:flex;align-items:center;gap:10px;font-size:.83rem;color:#706B62;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:11px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line);flex-wrap:wrap}.modal-actions .danger{margin-right:auto}.form-error{background:#fff1f1;color:#a23445;font-size:.85rem;padding:12px;border-radius:8px;margin-top:16px;line-height:1.6}.receipt-attach{border:1px dashed #E2DACE;border-radius:10px;padding:14px;display:flex;align-items:center;gap:12px}.receipt-attach img{width:52px;height:60px;object-fit:cover;border-radius:5px}.receipt-attach .btn{font-size:.8rem;padding:8px 12px}.receipt-attach .remove{margin-left:auto;color:#b34f5d}.modal-copy{font-size:.9rem;color:#706B62;line-height:1.85}.modal-copy h3{color:#1C1A18;margin-top:21px;margin-bottom:5px}.modal-copy p+p{margin-top:12px}.modal-copy ul{padding-left:22px}.receipt-full{width:100%;max-height:60dvh;object-fit:contain;background:#F4EFE6;border-radius:9px}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%) translateY(110px);background:#1C1A18;color:#fff;padding:14px 22px;border-radius:10px;z-index:80;font-size:.86rem;box-shadow:0 8px 30px #1e345b2b;max-width:calc(100vw - 30px);transition:transform .2s;pointer-events:none}#toast.show{transform:translateX(-50%) translateY(0)}.hidden{display:none!important}.error-screen{max-width:580px;margin:70px auto;padding:32px;background:white;border-radius:16px;line-height:1.8}.error-screen h1{font-size:1.5rem}.error-screen p{margin:15px 0}.pager{display:flex;align-items:center;gap:12px}.pager button{padding:8px;border:1px solid var(--line);border-radius:7px}.pager button:disabled{cursor:default}
@media(min-width:1550px){.main{padding-top:44px}.stats{gap:25px}.stat{min-height:185px}.stat-value{font-size:2.3rem}.chart{height:260px}.donut{width:163px;height:163px}.grid-main{gap:25px}.card-pad{padding:26px 28px}}
@media(max-width:1180px){.layout{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:29px 14px}.topbar{padding:0 28px}.main{padding:28px}.preview-strip{padding:9px 28px}.stat{padding:20px 18px}.stat-value{font-size:1.75rem}.grid-main{grid-template-columns:minmax(0,1.5fr) minmax(245px,1fr)}.card-pad{padding:20px}.card-head{align-items:flex-start;flex-direction:column;gap:12px}.category-card .card-head{flex-direction:row}.chart-summary{font-size:.7rem}.stat.profit .profit-detail{position:static;display:none}.receipt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-column{display:none}}
@media(max-width:940px){.layout{grid-template-columns:78px minmax(0,1fr)}.sidebar{padding:25px 12px}.brand{padding:0;justify-content:center}.brand-name,.workspace-label,.nav .nav-label,.nav .count,.sidebar-note{display:none}.nav{margin-top:32px}.nav button{justify-content:center;padding:14px 10px}.sidebar-bottom .nav{margin:0}.grid-main{gap:18px}.head-actions{gap:8px}.main{padding:25px}.topbar{padding:0 25px}.preview-strip{padding:9px 25px}.stats{gap:14px}.stat{padding:18px 16px}.stat-value{font-size:1.6rem}.stat-foot{font-size:.69rem}.report-grid{grid-template-columns:1fr}.report-aside{display:grid;grid-template-columns:1fr 1fr}.page-head{align-items:flex-start}.page-head h1{font-size:1.65rem}}
@media(max-width:700px){.layout{display:block}.sidebar{display:none}.topbar{height:calc(70px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));padding:var(--safe-area-inset-top, env(safe-area-inset-top, 0px)) 20px 0}.currency,.top-actions .icon-button{display:none}.preview-strip{padding:9px 18px;font-size:.7rem;gap:8px}.preview-strip button{font-size:.7rem}.main{padding:26px 17px calc(105px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)))}.page-head{flex-wrap:wrap;gap:18px;margin-bottom:20px}.page-head h1{font-size:1.75rem}.page-head p{font-size:.82rem;margin-top:6px}.head-actions{width:100%;justify-content:space-between}.head-actions .period{flex:1}.head-actions .btn{font-size:.84rem}.stats{gap:10px;margin-bottom:18px;grid-template-columns:1fr 1fr}.stat{padding:17px 16px;min-height:142px;border-radius:12px}.stat-head{font-size:.77rem}.stat-icon{width:27px;height:27px;border-radius:7px}.stat-icon svg{width:15px;height:15px}.stat-value{font-size:1.6rem;margin-top:9px}.stat-foot{font-size:.68rem;margin-top:12px;line-height:1.5;flex-wrap:wrap;gap:3px}.stat.profit{grid-column:1/-1;min-height:127px}.stat.profit .profit-detail{display:block;position:absolute;bottom:24px;right:20px}.stat.profit .stat-value{font-size:1.85rem}.stat.profit .stat-foot{margin-top:9px}.stat.profit .stat-head{justify-content:flex-start;gap:12px}.stat.profit .stat-icon{position:absolute;right:20px;top:18px}.grid-main{grid-template-columns:1fr;gap:18px;margin-bottom:18px}.card-pad{padding:19px 18px}.card-head{flex-direction:row;align-items:center;gap:12px}.card-head h2{font-size:.95rem}.card-head p{font-size:.72rem}.legend{font-size:.66rem;gap:8px}.legend .dot{width:7px;height:7px}.chart{height:215px}.chart text{font-size:11px}.chart-summary{font-size:.69rem}.category-card{display:grid;grid-template-columns:130px 1fr;column-gap:15px}.category-card .card-head{grid-column:1/-1;margin-bottom:20px}.donut-wrap{margin:0;align-items:center}.donut{width:124px;height:124px}.donut:before{inset:14px}.donut-center strong{font-size:.88rem}.category-list{gap:10px}.category-row{font-size:.73rem;gap:6px}.category-row .pct{display:none}.table-head{padding:16px 17px}.table-head h2{font-size:.95rem}.table-head .text-button{font-size:.75rem}.date-column,.status-column,.row-actions-column{display:none}td,th{padding:13px 14px}td:first-child,th:first-child{padding-left:17px}td:last-child,th:last-child{padding-right:17px}td.description{min-width:175px}.txn-description{font-size:.8rem}.txn-name{gap:9px}.txn-icon{width:29px;height:29px;border-radius:8px}.txn-icon svg{width:15px;height:15px}.amount{font-size:.79rem}.review-note{padding:15px;font-size:.75rem;gap:9px;align-items:flex-start}.review-note .text-button{font-size:.73rem;white-space:nowrap;margin-top:2px}.review-note>svg{width:17px;height:17px;margin-top:2px}.footer-note{font-size:.67rem;align-items:flex-start;line-height:1.7}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#fff;border-top:1px solid var(--line);padding:9px 8px calc(8px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));z-index:20}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;color:#706B62;font-size:.62rem;padding:5px 8px;min-width:50px;min-height:47px;border-radius:9px}.mobile-nav button.active{color:#8A6A2E;background:#F4EFE6}.mobile-nav svg{width:20px;height:20px}.filter-row{gap:9px}.search-wrap{flex-basis:100%}.filter-row select{min-width:0;flex:1;font-size:.76rem;padding:10px}.filter-row .btn{width:100%}.transaction-footer{padding:15px 17px;font-size:.72rem;align-items:flex-start;flex-direction:column}.report-aside{grid-template-columns:1fr}.report-header{padding:24px}.report-section{padding:20px}.report-net{padding:21px}.report-net strong{font-size:1.35rem}.report-row{font-size:.82rem}.receipt-grid{gap:12px}.receipt-card img{height:160px}.receipt-card .receipt-info{padding:13px}.receipt-info h3{font-size:.84rem}.receipt-info .muted{font-size:.7rem}.receipt-info strong{font-size:.86rem}.settings-card{padding:21px}.form-grid{gap:16px}.settings .form-grid{grid-template-columns:1fr}.settings-actions .btn{flex:1}.modal-backdrop{padding:12px;align-items:center}.modal{border-radius:16px;max-height:calc(100dvh - 24px)}.modal-header{padding:17px 20px 11px}.modal-body{padding:8px 20px 23px}.modal .form-grid{gap:15px}.modal .field input,.modal .field select,.modal .field textarea{font-size:1rem}.modal-actions{margin-top:20px;gap:8px}.modal-actions .btn{padding:10px 13px;font-size:.81rem}.receipt-attach{flex-wrap:wrap}.receipt-attach .btn{font-size:.75rem}.modal-copy{font-size:.87rem}#toast{bottom:calc(86px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));font-size:.8rem}.error-screen{margin:30px 17px;padding:23px}.empty{padding:40px 20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.sidebar,.topbar,.preview-strip,.head-actions,.mobile-nav,.footer-note,.report-aside,#toast{display:none!important}.layout{display:block}.main{padding:0}.page-head{margin-bottom:20px}.report-grid{display:block}.card{break-inside:avoid}.report-net{background:#fff;color:#000;border-top:2px solid #1C1A18}}
/* Owner workspace: deep ink, clear blue actions, generous readable surfaces. */
:root{--navy:#1C1A18;--blue:#8A6A2E;--muted:#706B62;--line:#E2DACE;background:#F4EFE6;--radius:20px}body{line-height:1.5}.main{max-width:1460px}.sidebar{background:#1C1A18}.brand-name{letter-spacing:0}.nav button.active{background:#8A6A2E}.page-head h1{font-size:2rem;letter-spacing:-.035em}.page-head p,.field-help,.owner-footnote,.owner-steps,.modal-copy{font-size:1rem;line-height:1.65}.card{box-shadow:0 4px 20px #132b4d04}.btn{font-size:.9rem;min-height:46px;white-space:normal}.field input,.field select,.field textarea{font-size:1rem}.field label,.field small,.setting-line,.settings-card p,.settings-card form,.stat-head,.stat-foot,.preview-strip,.preview-strip button,.footer-note,.txn-description,.txn-name small,.amount,.category-row,.report-row,.view-tabs button{font-size:.875rem}.settings-card p{line-height:1.65}.settings-card .field small{color:var(--muted)}.settings-card form{margin-top:20px}.quick-actions{display:flex;gap:12px;margin-bottom:23px}.quick-actions button{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:12px;padding:13px 20px;font-weight:600}.quick-actions button:first-child{color:#08745f}.quick-actions button:hover{border-color:var(--blue)}.stats{grid-template-columns:1.25fr 1fr 1fr;gap:18px}.stat.profit{order:-1}.stat{min-height:185px}.stat-value{font-size:clamp(1.7rem,2.6vw,2.65rem);letter-spacing:-.035em}.stat.profit .profit-detail{display:none}.stat-foot{line-height:1.6}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.12em}.tax-nudge{display:flex;align-items:center;gap:20px;border:1px solid #E2DACE;background:#F4EFE6;padding:24px;border-radius:20px;margin-bottom:25px}.tax-symbol{display:grid;place-items:center;border-radius:15px;background:#fff;color:#8A6A2E;width:56px;height:56px;flex-shrink:0}.tax-nudge h2{font-size:1.3rem;margin:4px 0}.tax-nudge p{font-size:.875rem;color:#706B62}.tax-nudge .btn{margin-left:auto}.tax-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.tax-hero{background:#1C1A18;color:white;border-radius:24px;padding:34px}.tax-hero h2{font-size:1.65rem;margin:14px 0 5px}.tax-hero>p{color:#E2DACE;font-size:.9rem}.tax-amount{display:block;font-size:clamp(2.2rem,4vw,3.5rem);letter-spacing:-.04em;margin-top:30px}.tax-hero progress{display:block;width:100%;height:12px;margin-top:25px;border:0;border-radius:20px;overflow:hidden;accent-color:#90d8cf}.tax-hero progress::-webkit-progress-bar{background:#706B62}.tax-hero progress::-webkit-progress-value{background:#90d8cf}.tax-progress-label{display:flex;justify-content:space-between;gap:10px;font-size:.875rem;margin-top:10px;color:#F4EFE6}.tax-breakdown{border-top:1px solid #706B62;margin:25px 0 20px;padding-top:12px}.tax-breakdown>div{display:flex;justify-content:space-between;padding:10px 0;gap:20px}.tax-small{line-height:1.65}.tax-guidance{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.tax-guidance h2{margin:10px 0}.deadline-list{margin:20px 0}.deadline-list>div{display:flex;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid var(--line);font-size:.875rem}.deadline-list .next{background:#F4EFE6;color:#8A6A2E;border-radius:9px}.owner-steps{padding-left:22px}.owner-steps li{padding:5px 0 10px}.security-card{display:flex;align-items:center;gap:22px;padding:25px;margin-bottom:20px}.security-card p{font-size:.875rem;color:var(--muted);margin-top:6px}.security-card .btn{margin-left:auto}.security-icon{width:60px;height:60px;border-radius:18px;background:#F4EFE6;display:inline-grid;place-items:center;color:var(--blue);flex-shrink:0}.invoice-summary{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;margin-bottom:25px}.invoice-summary section{background:white;border:1px solid var(--line);border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:8px}.invoice-summary strong{font-size:2rem;letter-spacing:-.03em}.invoice-summary small{font-size:.875rem;color:var(--muted)}.invoice-summary .invoice-explainer{background:#F4EFE6;font-size:.95rem;line-height:1.6}.overdue-text{color:#ad3e2e}.view-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.view-tabs button{border:1px solid var(--line);border-radius:30px;padding:10px 18px;background:#fff}.view-tabs .active{background:#1C1A18;color:#fff;border-color:#1C1A18}.invoice-row{display:flex;align-items:center;gap:18px;padding:24px;border-bottom:1px solid var(--line)}.invoice-row:last-child{border-bottom:0}.customer-avatar{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#F4EFE6;color:#8A6A2E;font-weight:700}.invoice-who{flex:1;min-width:0}.invoice-who button{font-size:1rem;font-weight:650;text-align:left;padding:0}.invoice-who span{display:block;font-size:.875rem;color:var(--muted);margin-top:5px}.invoice-status{display:flex;align-items:flex-end;flex-direction:column;gap:6px}.invoice-status strong{font-size:1.2rem;font-variant-numeric:tabular-nums}.invoice-pill{display:inline-block;background:#F4EFE6;color:#706B62;border-radius:20px;padding:4px 10px;font-size:.875rem}.invoice-pill.overdue{background:#ffede8;color:#a43523}.invoice-pill.paid{background:#e4f5ee;color:#12674d}.owner-footnote{margin:20px 0;color:var(--muted)}.payment-context,.invoice-detail{background:#F4EFE6;border-radius:15px;padding:22px;line-height:1.7;margin-bottom:20px}.payment-context strong,.invoice-detail>strong{display:block;font-size:2rem}.field-help{color:var(--muted);margin:15px 0}.vault-screen{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.vault-intro{background:#1C1A18;color:white;padding:clamp(30px,7vw,100px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:25px}.vault-intro img{width:65px;border-radius:20px}.vault-intro h1{font-size:clamp(2.2rem,4vw,4rem);line-height:1.12;letter-spacing:-.04em}.vault-intro p{font-size:1.1rem;color:#E2DACE;line-height:1.8}.vault-form{width:min(100%,530px);margin:auto;padding:36px}.vault-form h2{font-size:1.8rem;margin:22px 0 10px}.vault-form>p{color:var(--muted);line-height:1.7}.vault-form form{display:grid;gap:20px;margin-top:24px}.vault-form .btn{width:100%}#password-form{display:grid;gap:18px}/* Obscure the page without hiding, disabling or blurring the file input that owns an open system picker. */
.privacy-covered body:after{content:'Goldpage · Private';position:fixed;inset:0;display:grid;place-items:center;background:#1C1A18;color:white;font-size:1.3rem;z-index:99999;pointer-events:none}.chart text{font-size:12px}.chart{height:auto;min-height:200px}.settings-actions{margin-bottom:20px}.check-field{align-items:flex-start;line-height:1.6;font-size:.875rem}.invoice-row .btn{flex-shrink:0}.tax-hero,.tax-layout>*{min-width:0}.topbar{gap:8px}.top-actions{gap:8px}.main> .settings-actions{flex-wrap:wrap}
@media(max-width:1100px){.stats{grid-template-columns:1fr 1fr}.stat.profit{grid-column:1/-1}.invoice-summary{grid-template-columns:1fr 1fr}.invoice-summary .invoice-explainer{grid-column:1/-1;flex-direction:row;align-items:center}.tax-layout,.tax-guidance{grid-template-columns:1fr}.invoice-row{flex-wrap:wrap}.invoice-who{min-width:140px}.security-card{flex-wrap:wrap}.security-card .btn{margin-left:0}}
@media(max-width:700px){.main{padding:24px 16px 115px}.page-head h1{font-size:1.85rem}.page-head p{font-size:.9rem}.stats{gap:12px}.stat{min-height:145px;padding:20px}.stat.profit{min-height:170px}.stat.profit .stat-value{font-size:2.7rem}.stat-head,.stat-foot{font-size:.875rem}.stat.profit .profit-detail{display:none}.quick-actions{gap:8px}.quick-actions button{flex:1;justify-content:center;font-size:.875rem;padding:12px 8px;gap:6px}.quick-actions svg{width:16px}.tax-nudge{padding:20px;gap:12px;flex-wrap:wrap}.tax-nudge>div:nth-child(2){flex:1;min-width:190px}.tax-nudge .btn{margin:0;width:100%}.tax-symbol{width:42px;height:42px}.tax-nudge h2{font-size:1.25rem}.tax-hero{padding:25px}.tax-guidance,.tax-layout{gap:18px}.invoice-summary{gap:12px}.invoice-summary section{padding:18px}.invoice-summary strong{font-size:1.7rem}.invoice-row{gap:12px;padding:18px}.invoice-row>.btn{width:100%}.invoice-status{margin-left:auto}.invoice-who{min-width:100px}.customer-avatar{display:none}.mobile-nav button{font-size:.875rem;min-width:0;flex:1;padding:6px 2px}.mobile-nav{padding-left:5px;padding-right:5px}.nav-label{font-size:.875rem}.business strong{font-size:.9rem}.business small{font-size:.8rem}.topbar{padding:0 16px}.currency,.top-user{display:none}.preview-strip{padding:10px 16px;font-size:.875rem}.preview-strip button{font-size:.875rem}.head-actions{flex-wrap:wrap}.head-actions .btn{flex:1}.txn-description,.amount,.category-row,.report-row,.transaction-footer{font-size:.875rem}.table-wrap{overflow-x:auto}.txn-name small{font-size:.8rem}.category-card{display:block}.donut-wrap{margin:20px 0}.donut{width:160px;height:160px}.category-list{margin-top:15px}.legend{font-size:.8rem;flex-wrap:wrap}.card-head{flex-wrap:wrap}.card-head p{font-size:.875rem}.chart-summary{font-size:.875rem}.footer-note{font-size:.875rem}.modal .btn{font-size:.9rem}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.vault-screen{grid-template-columns:1fr}.vault-intro{padding:25px;gap:12px}.vault-intro h1{font-size:2rem}.vault-intro h1 br{display:none}.vault-intro p{display:none}.vault-intro img{width:45px}.vault-form{padding:28px 24px}.security-card{padding:20px}.security-card>div{flex:1;min-width:180px}.security-card .btn{width:100%}.deadline-list>div{flex-wrap:wrap}.tax-breakdown>div{flex-wrap:wrap}.stat-value{font-size:1.8rem}}
@media(max-width:360px){.quick-actions{flex-direction:column}.stats,.invoice-summary{grid-template-columns:1fr}.mobile-nav button{font-size:.8rem}.tax-nudge>div:nth-child(2){min-width:0}.stat.profit{grid-column:auto}}
/* v0.3 owner actions and receipt workspace */
:root{--navy:#1C1A18;--blue:#8A6A2E;--muted:#706B62;background:#F4EFE6}.main{max-width:1450px;padding-top:28px}.page-head{margin-bottom:22px}.page-head h1{font-size:1.85rem}.topbar{height:74px}.sidebar{background:#1C1A18}.nav button.active{background:#8A6A2E}.preview-strip{background:#F4EFE6;color:#706B62}.money-actions{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 16px}.money-action{position:relative;display:flex;align-items:center;gap:20px;min-height:154px;text-align:left;padding:28px;border-radius:22px;border:1px solid transparent;box-shadow:0 7px 20px #1938510b;transition:transform .15s,box-shadow .15s}.money-action:hover{transform:translateY(-2px);box-shadow:0 10px 24px #19385119}.money-action:active{transform:translateY(0)}.money-action.money-in{background:#087762;color:white}.money-action.money-out{background:#8A6A2E;color:white}.money-action strong{display:block;font-size:1.9rem;letter-spacing:-.025em;line-height:1.2}.money-action small{display:block;font-size:1rem;line-height:1.5;margin-top:8px;color:#ffffffeb}.action-symbol{width:62px;height:62px;border-radius:19px;background:#ffffff24;display:grid;place-items:center;flex-shrink:0}.action-plus{margin-left:auto;align-self:flex-start;display:grid;place-items:center;width:35px;height:35px;border:1px solid #ffffff61;border-radius:50%;flex-shrink:0}.everyday-actions{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:26px}.everyday-actions>button{border:1px solid #E2DACE;background:white;padding:18px 22px;display:flex;align-items:center;gap:16px;border-radius:16px;text-align:left;min-height:86px}.everyday-actions>button>svg:first-child{color:#8A6A2E}.everyday-actions>button>svg:last-child{margin-left:auto;color:#706B62}.everyday-actions strong{display:block;font-size:1rem}.everyday-actions small{display:block;font-size:.875rem;margin-top:3px;color:var(--muted)}.everyday-actions>button:hover{border-color:#C8BDA9;background:#F4EFE6}.profit-story{padding:26px;margin-bottom:24px;overflow:hidden}.story-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.story-heading h2{font-size:1.15rem;margin-top:5px}.story-heading .eyebrow{color:var(--muted)}.money-equation{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) 20px minmax(0,1.2fr);gap:16px;align-items:center}.money-equation>div{min-width:0}.equation-label{display:flex;align-items:center;gap:8px;color:#706B62;font-size:.9rem}.money-equation strong{font-size:clamp(1.5rem,2.3vw,2.15rem);display:block;letter-spacing:-.035em;font-variant-numeric:tabular-nums;margin:8px 0}.equation-sign{font-size:1.5rem;text-align:center;color:#706B62}.amount-track{height:8px;background:#F4EFE6;border-radius:20px;overflow:hidden;margin-top:15px}.amount-track i{display:block;height:100%;background:#147d64;border-radius:20px}.spent .amount-track i{background:#e9914b}.money-equation .result{background:#F4EFE6;padding:18px 22px;border-radius:16px;color:#8A6A2E}.result .equation-label{color:#8A6A2E}.result small{display:block;font-size:.875rem;line-height:1.5;color:#706B62}.story-note{color:var(--muted);font-size:.875rem;margin-top:18px}.owner-priorities{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:24px;margin-bottom:24px;align-items:stretch}.owner-priorities .tax-nudge{display:flex;flex-wrap:wrap;align-content:center;margin:0;border-radius:20px;padding:26px;gap:18px;background:#F4EFE6}.owner-priorities .tax-nudge>div:nth-child(2){flex:1;min-width:190px}.owner-priorities .tax-nudge .btn{margin:0;width:100%;background:#8A6A2E;color:white;border-color:#8A6A2E}.owner-priorities .tax-nudge h2{font-size:1.45rem;line-height:1.4}.next-actions{padding:25px}.next-actions .card-head{margin-bottom:15px;display:flex;justify-content:space-between}.next-actions h2{font-size:1.25rem;margin-top:5px}.review-meter{background:conic-gradient(#147d64 var(--progress),#F4EFE6 0);height:58px;width:58px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.review-meter strong{width:46px;height:46px;background:white;border-radius:50%;display:grid;place-items:center;font-size:.875rem}.next-actions>button{display:flex;align-items:center;width:100%;text-align:left;gap:12px;border-top:1px solid var(--line);padding:15px 0}.next-actions>button>span:nth-child(2){flex:1;min-width:0}.next-actions>button strong{display:block;font-size:.95rem}.next-actions>button small{display:block;font-size:.875rem;color:var(--muted);margin-top:3px}.next-actions>button:hover strong{text-decoration:underline}.task-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;flex-shrink:0}.task-icon.blue{background:#F4EFE6;color:#8A6A2E}.task-icon.amber{background:#fff1e1;color:#a45e19}.task-icon.violet{background:#F4EFE6;color:#706B62}.receipt-workspace{padding:30px;margin-bottom:22px;background:linear-gradient(120deg,#F4EFE6,#ffffff 75%);border-color:#E2DACE}.receipt-welcome{display:flex;align-items:center;gap:22px;margin-bottom:24px}.receipt-big-icon{background:#8A6A2E;color:white;border-radius:22px;width:76px;height:76px;display:grid;place-items:center;flex-shrink:0}.receipt-welcome h2{font-size:1.9rem;letter-spacing:-.03em;margin:5px 0}.receipt-welcome p{color:var(--muted);font-size:1rem;line-height:1.6}.receipt-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:15px}.receipt-choice{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;min-height:78px;border:1px solid #E2DACE;border-radius:14px;background:#fff;color:#706B62;padding:15px;cursor:pointer;text-align:center;font-size:1rem;overflow:hidden}.receipt-choice>span{display:grid;place-items:center;color:#8A6A2E}.receipt-choice:hover{border-color:#8A6A2E;background:#F4EFE6}.receipt-choice:focus-within{outline:3px solid #C8BDA9;outline-offset:3px}.picker-help{font-size:.875rem;color:var(--muted);line-height:1.6;margin-top:20px}.picker-troubleshoot{font-size:.875rem;margin-top:20px;color:var(--muted)}.picker-troubleshoot summary{cursor:pointer;padding:5px 0;min-height:35px;color:#8A6A2E}.picker-troubleshoot p{max-width:680px;margin:10px 0;line-height:1.7}.receipt-progress{display:grid;grid-template-columns:1fr 1.4fr 2fr;gap:20px;padding:22px 26px;margin-bottom:24px;align-items:center}.receipt-progress>div>strong{font-size:1.75rem;display:block;color:#1C1A18}.receipt-progress>div>span{font-size:.875rem;color:var(--muted)}.coverage-track progress{display:block;width:100%;height:9px;margin-top:12px;accent-color:#147d64;border-radius:20px;overflow:hidden}.coverage-track progress::-webkit-progress-bar{background:#F4EFE6}.coverage-track progress::-webkit-progress-value{background:#147d64}.receipt-toolbar{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:12px}.receipt-toolbar .view-tabs{margin:0}.receipt-toolbar .search-wrap{max-width:340px}.receipt-range{font-size:.875rem;color:var(--muted);margin:15px 0}.receipt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.receipt-entry{overflow:hidden}.receipt-image{display:block;width:100%;background:#F4EFE6;padding:12px;height:205px;overflow:hidden}.receipt-image img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 5px #1c33412b)}.receipt-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:100%;height:180px;background:#F4EFE6;border-bottom:1px dashed #E2DACE;color:#8A6A2E}.receipt-placeholder:hover{background:#F4EFE6}.receipt-placeholder strong{font-size:1rem}.receipt-placeholder span{color:var(--muted);font-size:.875rem}.receipt-entry-info{padding:20px}.receipt-entry-info h3{font-size:1rem;margin:12px 0 5px;overflow-wrap:anywhere}.receipt-entry-info p{font-size:.875rem;color:var(--muted)}.receipt-entry-info>div{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}.receipt-entry-info>div>strong{font-size:1.15rem}.receipt-state{display:inline-flex;align-items:center;gap:6px;font-size:.875rem}.receipt-state.attached{color:#12715d}.receipt-state.missing{color:#8b632f}.receipt-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:22px}.entry-receipt-top{margin-bottom:24px;padding:18px;background:#F4EFE6;border-radius:16px}.entry-receipt-heading{display:flex;align-items:center;justify-content:space-between;font-size:.9rem;gap:10px}.entry-receipt-heading>span{color:var(--muted);font-size:.875rem}.entry-receipt-top .receipt-choice{min-height:76px;padding:12px 7px;flex-direction:column;gap:7px;font-size:.875rem}.entry-receipt-top .receipt-choices{gap:8px}.attached-preview{display:flex;align-items:center;gap:15px}.attached-preview>img{width:78px;height:100px;object-fit:contain;background:white;border:1px solid var(--line);border-radius:7px}.attached-preview>div{flex:1;min-width:0}.attached-preview p{font-size:.875rem;color:var(--muted);line-height:1.5;margin-top:5px}.receipt-loading{min-height:90px;display:flex;align-items:center;justify-content:center;gap:14px;color:#8A6A2E;font-size:1rem}.type-tabs{margin-top:4px}.mobile-nav span{line-height:1.35}.tax-goal-ring{width:86px;height:86px;border-radius:50%;background:conic-gradient(#8A6A2E var(--funded),#E2DACE 0);display:grid;place-items:center;flex-shrink:0}.tax-goal-ring>span{width:68px;height:68px;border-radius:50%;background:#F4EFE6;display:flex;align-items:center;justify-content:center;flex-direction:column}.tax-goal-ring strong{font-size:1.15rem;color:#8A6A2E}.tax-goal-ring small{font-size:.75rem;color:#706B62}.duplicate-check{padding:15px;background:#fff1de;border:1px solid #eed0a0;border-radius:12px;margin-top:15px;line-height:1.6}.duplicate-check p{font-size:.9rem;margin-bottom:10px}.mobile-ledger{display:none}
@media(max-width:1100px){.money-action{gap:15px;padding:23px}.money-action strong{font-size:1.65rem}.action-symbol{width:50px;height:50px}.owner-priorities{grid-template-columns:1fr}.money-equation{gap:12px}.money-equation .result{padding:17px}.receipt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-toolbar{flex-wrap:wrap}.receipt-toolbar .search-wrap{max-width:none;flex:1}.money-action small{font-size:.9rem}}
@media(max-width:700px){.main{padding:22px 16px 112px}.topbar{height:66px}.page-head{align-items:flex-start;gap:12px;margin-bottom:18px}.page-head h1{font-size:1.6rem}.page-head p{font-size:.875rem;line-height:1.5;margin-top:5px}.page-head .head-actions{margin-top:0}.page-head .period{min-width:0;font-size:.875rem;max-width:170px}.money-actions{gap:12px;margin-bottom:12px}.money-action{min-height:174px;padding:20px 17px;flex-direction:column;align-items:flex-start;gap:14px;border-radius:20px}.money-action strong{font-size:1.5rem}.money-action small{font-size:.875rem;margin-top:5px}.action-symbol{width:47px;height:47px;border-radius:14px}.action-symbol svg{width:27px;height:27px}.action-plus{position:absolute;top:20px;right:15px;width:26px;height:26px}.action-plus svg{width:18px;height:18px}.everyday-actions{gap:12px;margin-bottom:22px}.everyday-actions>button{padding:17px 14px;gap:10px;flex-wrap:wrap;min-height:116px;align-content:center}.everyday-actions>button>svg:last-child{display:none}.everyday-actions>button>span{flex-basis:100%}.everyday-actions strong{font-size:.95rem}.everyday-actions small{font-size:.875rem}.profit-story{padding:20px}.story-heading{align-items:flex-start;gap:10px;margin-bottom:15px}.story-heading h2{font-size:1.1rem}.story-heading .text-button{font-size:.875rem;text-align:right;max-width:105px;padding:3px 0}.money-equation{grid-template-columns:1fr 20px 1fr;gap:14px}.money-equation>div strong{font-size:1.55rem}.money-equation>.equation-sign:nth-child(4){display:none}.money-equation>.result{grid-column:1/-1;padding:20px}.money-equation>.result strong{font-size:2.25rem;margin:6px 0}.equation-label{font-size:.875rem}.owner-priorities{gap:18px}.owner-priorities .tax-nudge{padding:22px;gap:16px}.owner-priorities .tax-nudge>div:nth-child(2){min-width:150px}.owner-priorities .tax-nudge h2{font-size:1.2rem}.next-actions{padding:21px}.receipt-workspace{padding:22px 18px}.receipt-welcome{gap:14px;align-items:flex-start}.receipt-big-icon{height:52px;width:52px;border-radius:16px}.receipt-big-icon svg{width:29px;height:29px}.receipt-welcome .eyebrow{font-size:.75rem;letter-spacing:.07em}.receipt-welcome h2{font-size:1.5rem;margin:5px 0}.receipt-welcome p{font-size:.875rem}.receipt-choices{gap:9px}.receipt-choice{padding:15px 7px;gap:9px;flex-direction:column;min-height:98px;font-size:.875rem}.receipt-choice strong{font-weight:600}.receipt-progress{grid-template-columns:1fr 1fr;padding:19px;gap:12px}.coverage-track{grid-column:1/-1;margin-top:7px}.receipt-toolbar{gap:12px}.receipt-toolbar .view-tabs{gap:6px;width:100%}.receipt-toolbar .view-tabs button{padding:10px 12px;font-size:.875rem;flex:1}.receipt-toolbar .search-wrap{flex-basis:100%}.receipt-grid{grid-template-columns:1fr 1fr;gap:12px}.receipt-entry-info{padding:14px}.receipt-placeholder,.receipt-image{height:150px}.receipt-placeholder{padding:14px}.receipt-placeholder span{display:none}.receipt-placeholder strong{font-size:.875rem}.receipt-entry-info>div{flex-direction:column;align-items:flex-start;gap:3px}.receipt-entry-info h3{font-size:.95rem}.receipt-entry-info p,.receipt-state,.receipt-entry-info .text-button{font-size:.875rem}.mobile-nav{padding-top:9px;gap:1px}.mobile-nav button{font-size:.875rem;min-width:0;flex:1;padding:5px 0;min-height:53px}.mobile-nav button svg{height:22px;width:22px}.mobile-nav span{white-space:normal}.tax-goal-ring{width:74px;height:74px}.tax-goal-ring>span{width:58px;height:58px}.tax-goal-ring strong{font-size:1rem}.attached-preview{gap:10px;align-items:flex-start}.attached-preview>img{width:62px;height:86px}.entry-receipt-top{padding:15px}.entry-receipt-top .receipt-choice{font-size:.875rem;padding:10px 4px;min-height:85px}.modal .type-tabs button{font-size:1rem}.desktop-ledger{display:none}.mobile-ledger{display:block}.mobile-entry{padding:18px;border-top:1px solid var(--line)}.mobile-entry:first-child{border-top:0}.mobile-entry-main{display:flex;align-items:flex-start;gap:10px}.mobile-entry-main>button{min-width:0;flex:1;text-align:left;padding:0}.mobile-entry-main>button>strong{display:block;font-size:1rem;line-height:1.45;overflow-wrap:anywhere}.mobile-entry-main>button>small{font-size:.875rem;color:var(--muted);display:block;line-height:1.6;margin-top:3px}.mobile-entry-main>strong{font-size:1rem;white-space:nowrap;font-variant-numeric:tabular-nums}.mobile-entry-main .txn-icon{width:33px;height:33px}.mobile-entry-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:13px}.mobile-entry-tools>span{font-size:.875rem;color:var(--muted)}.mobile-entry-tools .status-tag{font-size:.875rem;min-height:38px;padding:8px 10px;display:flex;align-items:center;gap:5px;white-space:normal}.review-note{display:none}.mobile-entry-main .txn-icon.income{background:#e2f4ee;color:#087762}.mobile-entry-main .txn-icon.expense{background:#F4EFE6;color:#8A6A2E}}
@media(max-width:360px){.money-actions{grid-template-columns:1fr 1fr;gap:10px}.money-action{padding:17px 13px;min-height:171px}.money-action strong{font-size:1.35rem}.action-plus{right:12px;top:16px}.action-symbol{width:42px;height:42px}.money-action small{font-size:.875rem}.everyday-actions{gap:10px}.everyday-actions>button{padding:15px 11px}.receipt-grid{grid-template-columns:1fr}.mobile-nav button{font-size:.8rem}.receipt-choices{gap:6px}.receipt-choice{padding:12px 4px}.money-equation>div strong{font-size:1.4rem}}

/* Keep phone photo pickers visible and in the normal document flow. */
.web-receipt-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
.web-receipt-choices .photo-library-choice{grid-column:1/-1;border-color:#7cbdaa;background:#f2faf7}
.receipt-choices .file-choice{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;text-align:left;padding:16px;gap:12px;min-width:0;cursor:default;overflow:visible}
.file-choice-heading{display:flex;align-items:center;gap:10px}
.receipt-choice input[type=file]{position:static;display:block;opacity:1;width:100%;min-width:0;min-height:48px;height:auto;margin:0;padding:0;border:1px solid #E2DACE;border-radius:9px;color:#706B62;background:#fff;font-size:.875rem;cursor:pointer;line-height:48px}
.receipt-choice input[type=file]::file-selector-button{min-height:48px;padding:0 15px;margin:0 10px 0 0;border:0;border-right:1px solid #E2DACE;background:#F4EFE6;color:#8A6A2E;font:inherit;font-weight:650;cursor:pointer}
.photo-library-choice input[type=file]::file-selector-button{background:#13775f;color:white;border-color:#13775f}
.receipt-file-status{font-size:.9rem;line-height:1.6;color:#126c58;overflow-wrap:anywhere}
.receipt-file-status:not(:empty){margin-top:14px;padding:12px 14px;border-radius:10px;background:#e5f4ef}
.receipt-file-status.is-error{color:#9b302b;background:#fff0eb}
.picker-browser-help{font-size:.875rem;line-height:1.6;background:#F4EFE6;padding:12px 14px;border-radius:10px;margin-top:14px;color:#706B62}
@media(max-width:700px){.web-receipt-choices{grid-template-columns:1fr}.native-receipt-choices{grid-template-columns:1fr 1fr}.native-receipt-choices .file-choice{grid-column:1/-1}.receipt-choices .file-choice{padding:14px;gap:10px}.receipt-choice input[type=file]{font-size:16px}}
/* Owner workspace: readable cards and progressive disclosure. */
.tool-launcher{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 24px}.tool-launcher button{display:flex;align-items:center;gap:12px;padding:18px;background:#fff;border:1px solid #E2DACE;border-radius:16px;text-align:left;color:#1C1A18;min-height:90px}.tool-launcher button:hover{border-color:#167e69;background:#f3fbf8}.tool-launcher button>svg:last-child{margin-left:auto}.tool-launcher strong,.tool-launcher small{display:block}.tool-launcher small{font-size:13px;color:#706B62;line-height:1.5;margin-top:5px}.tool-launcher strong{font-size:15px}.business-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}.business-card{padding:26px;min-width:0}.business-card h2{font-size:21px;margin:12px 0}.business-card p{font-size:16px;line-height:1.65;color:#706B62;margin:12px 0}.business-card small{display:block;font-size:14px;margin:12px 0;color:#706B62}.business-card>.btn{margin-top:16px}.business-row{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:18px 0;border-top:1px solid #F4EFE6}.business-row>span:first-child,.business-row>div:first-child{flex:1;min-width:120px}.business-row p{font-size:14px;margin:5px 0}.section-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.section-toolbar>p{flex:1;min-width:220px;line-height:1.6;color:#706B62}.balance-banner{background:#1C1A18;color:white;display:grid;grid-template-columns:repeat(3,1fr);padding:28px;border-radius:20px;gap:24px;margin:24px 0}.balance-banner span{display:block;font-size:14px;color:#c3dedc;line-height:1.6}.balance-banner strong{display:block;font-size:28px;margin-top:8px}.account-amount{font-size:26px;display:block;overflow-wrap:anywhere}.invoice-business{display:flex;flex-direction:column;gap:8px;background:#F4EFE6;padding:20px;border-radius:12px;margin-bottom:20px}.invoice-business span{font-size:12px;letter-spacing:.14em;color:#706B62}.invoice-business strong{font-size:22px}.invoice-business small{font-size:14px;color:#706B62}.invoice-line{display:grid;grid-template-columns:minmax(0,1fr) 70px 105px 36px;gap:9px;align-items:end;border-bottom:1px solid #F4EFE6;padding:16px 0}.invoice-line label{font-size:14px;color:#706B62;display:flex;flex-direction:column;gap:7px}.invoice-line input{width:100%;min-width:0;padding:11px;border:1px solid #E2DACE;border-radius:8px;font-size:16px}.invoice-line .icon-button{margin-bottom:4px}.invoice-live-total{display:flex;justify-content:space-between;padding:22px 0;font-size:22px;font-weight:600}.guide-hero{padding:32px;background:#1C1A18;color:#fff;border-radius:22px}.guide-hero h2{font-size:30px;max-width:650px;line-height:1.25;margin:14px 0}.guide-hero>p{color:#d1e5e6;max-width:760px;line-height:1.65}.guide-hero .eyebrow{color:#a6d7c9}.guide-prompts{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.guide-prompts .btn{white-space:normal;text-align:left}.guide-insight{background:#1C1A18;padding:20px;border-radius:14px;line-height:1.6}.guide-insight p{margin:10px 0 0;color:#E2DACE}.lesson a,.source-links a{color:#8A6A2E;font-size:15px}.source-links{display:grid;gap:14px;margin:22px 0}.file-action{display:flex;flex-direction:column;gap:12px;background:#F4EFE6;padding:18px;border-radius:12px;font-weight:600}.file-action input{max-width:100%;font-size:15px;min-height:44px}.file-action input::file-selector-button{background:#167e69;color:#fff;border:0;border-radius:8px;padding:12px;cursor:pointer}.import-row{padding:18px 0;border-bottom:1px solid #E2DACE}.import-row>p{margin:8px 0;font-size:15px}.import-row label{display:flex;flex-direction:column;gap:7px;font-size:14px}.import-row select{width:100%;max-width:100%;padding:10px;border:1px solid #E2DACE;border-radius:8px;font-size:15px}.import-row .check-field{flex-direction:row;margin-top:12px}.review-alert{display:block;color:#835100;background:#fff6db;padding:10px 12px;margin-bottom:12px;font-size:14px;border-radius:8px;line-height:1.5}.scan-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.scan-actions .btn{white-space:normal}.tour-progress{color:#706B62;font-size:14px}.tour-dots{display:flex;gap:8px;margin:16px 0}.tour-dots i{height:5px;background:#E2DACE;flex:1;border-radius:3px}.tour-dots i.active{background:#158267}.sidebar .nav{overflow-y:auto;min-height:0}.sidebar>.nav{flex:1}.modal-body .field-help{line-height:1.55}.modal input,.modal select,.modal textarea{font-size:16px}.business-grid .empty{grid-column:1/-1}.invoice-row{flex-wrap:wrap}.mobile-nav{grid-template-columns:repeat(5,1fr)!important}
@media(max-width:1150px){.tool-launcher{grid-template-columns:repeat(2,minmax(0,1fr))}.balance-banner{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.business-grid{grid-template-columns:1fr}.tool-launcher{gap:9px}.tool-launcher button{padding:14px;gap:8px}.tool-launcher button>svg:last-child{display:none}.tool-launcher small{font-size:12px}.tool-launcher strong{font-size:14px}.tool-launcher button>svg:first-child{display:none}.balance-banner{grid-template-columns:1fr;padding:22px;gap:20px}.balance-banner strong{font-size:28px}.business-card{padding:21px}.invoice-line{grid-template-columns:minmax(0,1fr) 70px 100px 32px}.invoice-line label:first-child{grid-column:1/-1}.invoice-line label:nth-child(2){grid-column:1/2}.invoice-line label:nth-child(3){grid-column:2/4}.invoice-line button{grid-column:4}.guide-hero{padding:24px}.guide-hero h2{font-size:26px}.guide-prompts{display:grid}.section-toolbar .btn{flex:1}.invoice-list .invoice-row{gap:12px}.business-row .text-button{min-height:44px}.modal-actions{flex-wrap:wrap}.settings-actions .btn{white-space:normal}}
/* Business drivers: one compact summary, with transaction detail on demand. */
.drivers{padding:28px;margin-bottom:24px}.drivers-heading{display:flex;justify-content:space-between;gap:24px;align-items:start}.drivers-heading h2{font-size:24px;line-height:1.3;margin:10px 0}.drivers-heading p{font-size:16px;line-height:1.5;color:#706B62;margin:0}.driver-margin{padding:16px 20px;background:#eff7f4;border-radius:12px;min-width:180px}.driver-margin span,.driver-margin small{display:block;font-size:14px;color:#706B62;line-height:1.5}.driver-margin strong{display:block;font-size:30px;line-height:1.4;color:#164c40}.drivers-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:24px}.driver-panel{min-width:0}.driver-panel-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid #E2DACE}.driver-panel-head h3{font-size:18px;margin:0}.driver-panel-head>span{font-size:14px;color:#706B62}.driver-category{border-bottom:1px solid #F4EFE6}.driver-category>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:17px 0;cursor:pointer;list-style:none;min-height:44px}.driver-category>summary::-webkit-details-marker{display:none}.driver-label{font-size:16px;overflow-wrap:anywhere}.driver-label:before{content:'+';display:inline-block;width:18px;color:#706B62}.driver-category[open]>summary .driver-label:before{content:'−'}.driver-category strong{font-size:16px;font-variant-numeric:tabular-nums}.driver-share{grid-column:1/-1;font-size:14px;color:#706B62}.driver-track{grid-column:1/-1;height:6px;border-radius:8px;overflow:hidden;background:#F4EFE6}.driver-track i{display:block;height:100%;background:#158267;border-radius:8px}.expense .driver-track i{background:#b96524}.driver-insight,.driver-empty{font-size:14px;line-height:1.65;color:#706B62;margin:16px 0 0}.driver-entries{max-height:280px;overflow:auto;background:#F4EFE6;border-radius:10px;padding:12px}.driver-entries>p{font-size:14px;color:#706B62;margin:0 0 8px}.driver-entries button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;background:none;border:0;border-top:1px solid #E2DACE;padding:14px 0;text-align:left;color:#1C1A18;font-size:16px;min-height:48px}.driver-entries button>span{min-width:0;overflow-wrap:anywhere}.driver-entries small{display:block;font-size:14px;color:#706B62;margin-top:5px}.driver-more>summary,.driver-method>summary{padding:15px 0;cursor:pointer;color:#8A6A2E;font-size:14px;min-height:44px}.driver-method{margin-top:18px;border-top:1px solid #E2DACE}.driver-method p{color:#706B62;font-size:14px;line-height:1.6;max-width:850px}.driver-history{margin-bottom:24px}.driver-history .chart{max-height:290px}.quick-intro{font-size:17px;line-height:1.65;color:#706B62}.quick-choices{display:grid;gap:12px;margin:22px 0}.quick-choices button{display:flex;gap:16px;align-items:center;text-align:left;padding:20px;border:1px solid #E2DACE;border-radius:14px;background:#fff;color:#1C1A18;min-height:84px}.quick-choices button:hover{background:#f0f8f5;border-color:#158267}.quick-choices strong{display:block;font-size:18px}.quick-choices small{display:block;font-size:16px;color:#706B62;line-height:1.5;margin-top:5px}.quick-symbol{background:#edf6f2;color:#147d64;padding:12px;border-radius:12px;display:flex}.quick-example{background:#eff7f4;border-left:4px solid #158267;border-radius:10px;padding:22px;margin-top:16px}.quick-example p{font-size:22px;line-height:1.45;margin:12px 0 0;color:#1C1A18}.drivers summary:focus-visible,.quick-choices button:focus-visible,.driver-entries button:focus-visible{outline:3px solid #8A6A2E;outline-offset:3px}
@media(max-width:760px){.drivers{padding:20px}.drivers-heading{flex-direction:column;gap:18px}.driver-margin{width:100%;min-width:0;box-sizing:border-box}.drivers-grid{grid-template-columns:1fr;gap:28px}.drivers-heading h2{font-size:22px}.quick-choices button{padding:16px;gap:12px}.quick-symbol{padding:9px}.quick-example p{font-size:20px}}
.single-receipt-choice{display:grid!important;grid-template-columns:1fr!important}.single-receipt-choice .file-choice{grid-column:auto!important}.entry-photo-option{margin:12px 0 20px;border:1px solid #E2DACE;border-radius:12px;padding:0 16px}.entry-photo-option>summary,.invoice-history>summary{cursor:pointer;padding:16px 0;font-size:16px;color:#1C1A18;min-height:44px;box-sizing:border-box}.entry-photo-option .entry-receipt-heading{display:none}.entry-photo-option .receipt-choices{margin-top:0}.invoice-payment-shortcut{width:100%;white-space:normal;margin-bottom:8px}.payment-fields{border:0;padding:0;margin:0;min-width:0}.payment-fields:disabled{opacity:.5}.payment-preview{padding:15px;background:#edf7f2;border-radius:10px;color:#195342;font-size:16px;line-height:1.5}.invoice-breakdown{margin:20px 0}.invoice-breakdown>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;font-size:16px}.invoice-breakdown .balance-due{border-top:1px solid #E2DACE;font-size:22px}.invoice-history{border-top:1px solid #E2DACE;margin-top:20px}.invoice-history p{font-size:15px;line-height:1.6}.invoice-status small{font-size:14px;color:#706B62}.invoice-pill.partial{background:#fff2d8;color:#795500}.invoice-pill.settled{background:#F4EFE6;color:#706B62}.invoice-discount{margin-top:20px}.invoice-history .field{margin-top:12px}
.entry-party-fields{grid-column:1/-1;display:grid;gap:12px}.entry-party-fields .field{margin:0}.trade-list{display:grid;gap:12px;margin:20px 0}.trade-list article{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid #E2DACE;padding:16px 0;flex-wrap:wrap}.trade-list article>div:first-child{flex:1;min-width:160px}.trade-list strong{font-size:17px;overflow-wrap:anywhere}.trade-list small{display:block;font-size:14px;color:#706B62;margin-top:8px;line-height:1.5}.trade-list p{font-size:15px;line-height:1.5}.trade-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.invoice-customer-filter{max-width:360px;margin:20px 0}.invoice-customer-filter select{width:100%;padding:12px;font-size:16px;border:1px solid #E2DACE;border-radius:10px}.invoice-line>.catalog-line{grid-column:1/-1}.catalog-line select{padding:12px;min-width:0;max-width:100%;border:1px solid #E2DACE;border-radius:8px;background:#F4EFE6;font-size:16px}.invoice-line>label:nth-of-type(1){grid-column:1/2}.invoice-line>label:nth-of-type(2){grid-column:2/3}.invoice-line>label:nth-of-type(3){grid-column:3/4}
@media(max-width:680px){.invoice-line>label:nth-of-type(1){grid-column:1/-1}.invoice-line>label:nth-of-type(2){grid-column:1/2}.invoice-line>label:nth-of-type(3){grid-column:2/4}.trade-actions .btn{white-space:normal}}
/* Owner workflows: one home per task, details only when requested. */
.sidebar{overflow-y:auto}.sidebar .nav{gap:3px}.sidebar .nav button{padding:10px 12px}.sidebar .workspace-label{margin-top:25px}.document-filters{padding:18px;margin-bottom:16px}.filter-primary{display:grid;grid-template-columns:2fr 1fr auto;align-items:end;gap:12px}.filter-primary .field{margin:0}.document-filters details{margin-top:15px}.document-filters summary,.optional-details summary,.native-photo-options summary{cursor:pointer;font-weight:550;padding:12px 0;color:#8A6A2E}.document-filters .form-grid{margin:12px 0}.document-list{display:grid;gap:14px}.document-card{padding:20px 24px}.document-card-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.document-title{font-size:1.04rem;font-weight:650;padding:0;text-align:left;color:var(--navy)}.document-card-head p{font-size:.85rem;margin-top:5px;color:var(--muted)}.document-numbers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:20px 0}.document-numbers dt{font-size:.74rem;color:var(--muted);margin-bottom:5px}.document-numbers dd{margin:0;font-weight:550;font-size:.92rem;font-variant-numeric:tabular-nums}.document-actions{display:flex;justify-content:flex-end;gap:10px}.document-upload{margin:18px 0}.optional-details{margin:18px 0;padding:4px 0;border-top:1px solid var(--line)}.optional-details[open]>.field:first-of-type{margin-top:12px}.scan-review{background:#F4EFE6;border:1px solid #F4EFE6;border-radius:10px;padding:16px;margin-bottom:20px;line-height:1.6}.scan-review p{font-size:.84rem;margin:8px 0}.scan-review pre,.optional-details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font:inherit;font-size:.8rem;background:#fff;padding:12px}.reminder-list{display:grid;gap:12px}.reminder-card{padding:20px;display:flex;justify-content:space-between;gap:18px;align-items:center}.reminder-card h3{margin:6px 0}.reminder-card p{font-size:.84rem;color:var(--muted);margin:5px 0 10px}.reminder-card .trade-actions{justify-content:flex-end}.invoice-pill.draft{background:#F4EFE6;color:#706B62}.invoice-pill.partial{background:#F4EFE6;color:#8A6A2E}.allocation-row{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.allocation-row>label:last-child{font-size:.78rem;color:var(--muted)}.allocation-panel{margin:0}.allocation-panel p{font-size:.84rem;line-height:1.5}.pagination{display:flex;align-items:center;justify-content:center;gap:15px;margin:20px 0}.native-photo-options{width:100%;grid-column:1/-1}.native-photo-options>summary{list-style:none;padding:15px;background:#F4EFE6;border-radius:10px;text-align:center}.native-photo-options[open]>.receipt-choices{margin-top:12px}
#toast{display:none;position:fixed;top:max(12px,env(safe-area-inset-top));bottom:auto!important;right:12px;left:auto!important;transform:none!important;max-width:min(400px,calc(100vw - 24px));padding:10px 12px;gap:10px;align-items:center;pointer-events:auto;z-index:1000;line-height:1.4}#toast.show{display:flex}#toast button{font-size:22px;min-width:40px;min-height:40px;color:white}
@media(max-width:700px){.filter-primary{grid-template-columns:1fr}.filter-primary .btn{width:100%}.document-card{padding:17px}.document-numbers{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.document-numbers>div:last-child{grid-column:1/-1;padding-top:10px;border-top:1px solid var(--line)}.document-numbers>div:last-child dd{font-size:1.2rem}.document-actions>.btn{flex:1}.reminder-card{align-items:stretch;flex-direction:column}.reminder-card .trade-actions{justify-content:flex-start}.allocation-row{grid-template-columns:1fr}.modal-actions{position:sticky;bottom:-22px;background:white;border-top:1px solid var(--line);padding:12px 0;padding-bottom:max(12px,env(safe-area-inset-bottom));z-index:2}.mobile-nav button span{font-size:.67rem}.section-toolbar{align-items:stretch}.section-toolbar>.btn{width:100%}.document-card-head .invoice-pill{white-space:nowrap}}
.common-actions{display:flex;flex-wrap:wrap;gap:10px;margin:-8px 0 24px}.common-actions>.btn{flex:1}#toast{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;max-width:none;width:100%;margin:0 0 14px;transform:none!important;box-shadow:none;z-index:auto;flex-shrink:0}.modal-body>#toast{margin-top:0}.optional-details .check-field{margin:12px 0}
.document-numbers dd{overflow-wrap:anywhere}@media(min-width:701px) and (max-width:1100px){.document-numbers{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Owner usability release: explicit contrast, compact navigation and print output. */
.guide-prompts .btn.secondary{color:#1C1A18!important;background:#fff!important}
.guide-prompts .btn.secondary:hover,.guide-prompts .btn.secondary:active{color:#1C1A18!important;background:#F4EFE6!important}
.more-tile{padding:24px;text-align:left;color:#1C1A18;font-size:18px;border:1px solid #E2DACE;cursor:pointer}
.help-search{display:block;width:100%;padding:14px;border:1px solid #E2DACE;border-radius:10px;margin:12px 0}
.help-answer{padding:16px 0;border-top:1px solid #E2DACE}.help-answer summary{cursor:pointer;font-weight:600;line-height:1.5}
.business-logo{display:block;max-width:160px;max-height:100px;object-fit:contain;margin:12px 0}
.receipt-options>summary{list-style:none;cursor:pointer;display:inline-flex}.receipt-options .receipt-choices{margin-top:15px}
[hidden]{display:none!important}
#print-document{display:none}
@media(max-width:680px){.top-actions .more-menu{display:inline-flex!important;padding:10px 13px;font-size:14px}.top-actions .top-user,.top-actions>.icon-button[data-action=help]{display:none}.top-actions{display:flex!important}.topbar{gap:8px}.business{min-width:0}.business strong{overflow-wrap:anywhere}.mobile-nav button{padding-left:1px;padding-right:1px}.mobile-nav span{font-size:11px}.receipt-options .receipt-choices{grid-template-columns:1fr}.file-choice input{max-width:100%}}
@media print{body>*{display:none!important}body>#print-document{display:block!important;color:#111;background:white;font:10pt Arial}#print-document table{width:100%;border-collapse:collapse;table-layout:fixed}#print-document th,#print-document td{border:1px solid #bbb;padding:6px;overflow-wrap:anywhere;text-align:left}#print-document tr{break-inside:avoid}#print-document h1{font-size:20pt}#print-document h2{font-size:15pt}@page{size:letter landscape;margin:12mm}}

@media print{html,body{overflow:visible!important;height:auto!important}#print-document{position:static!important}}

.pnl-card{overflow:hidden}.pnl-statement{color:#1C1A18;font-variant-numeric:tabular-nums}.pnl-header{padding:28px 30px;background:#F4EFE6;border-bottom:1px solid #F4EFE6}.pnl-header h2{font-size:30px;margin:8px 0 10px;letter-spacing:-.6px}.pnl-header p{margin:6px 0;color:#706B62}.pnl-header .pnl-business{font-weight:650;color:#706B62}.pnl-basis{display:inline-block;margin-top:9px;padding:5px 10px;border:1px solid #E2DACE;border-radius:6px;font-size:12px;color:#706B62;background:#fff}.pnl-header .business-logo{float:right;max-width:100px;max-height:60px}.pnl-section{margin:24px 26px}.pnl-section-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-radius:9px;gap:10px}.pnl-section-head h3{font-size:17px;margin:0}.pnl-section-head p{font-size:12px;margin:4px 0 0}.pnl-section-head>span{font-size:12px;font-weight:650}.pnl-income .pnl-section-head{background:#e7f5ed;color:#1c5d42}.pnl-expense .pnl-section-head{background:#fff4e2;color:#7d4d18}.pnl-lines{margin:8px 0 0}.pnl-lines>div{display:flex;justify-content:space-between;gap:18px;padding:12px 16px;border-bottom:1px solid #F4EFE6;font-size:14px}.pnl-lines>div:nth-child(odd){background:#F4EFE6}.pnl-lines dt{overflow-wrap:anywhere}.pnl-lines dd{margin:0;text-align:right;white-space:nowrap;font-weight:550}.pnl-lines>.pnl-subtotal{margin-top:4px;background:white;border-top:2px solid #dfe7e4;border-bottom:0;font-weight:700}.pnl-income .pnl-subtotal{color:#1c5d42}.pnl-expense .pnl-subtotal{color:#7d4d18;border-top-color:#efe3d1}.pnl-result{margin:26px;padding:21px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px;background:#F4EFE6;color:#8A6A2E;border-radius:12px}.pnl-result h3{font-size:19px;margin:0}.pnl-result p{font-size:12px;margin:5px 0 0}.pnl-result strong{font-size:26px;white-space:nowrap;letter-spacing:-.6px}.pnl-result.pnl-loss{color:#882b35;background:#fdecee}.pnl-footnote{margin:0;padding:0 28px 25px;color:#706B62;font-size:12px;line-height:1.6}
@media(max-width:680px){.pnl-header{padding:23px 20px}.pnl-header h2{font-size:27px}.pnl-section{margin:20px 14px}.pnl-lines>div{padding:12px 10px}.pnl-result{margin:20px 14px;flex-wrap:wrap}.pnl-result strong{font-size:25px;margin-left:auto}.pnl-footnote{padding:0 20px 20px}.pnl-section-head{padding:13px 12px}}
@media print{#print-document .pnl-statement{max-width:190mm;margin:auto;print-color-adjust:exact;-webkit-print-color-adjust:exact}#print-document .pnl-section-head,#print-document .pnl-result,#print-document .pnl-subtotal{break-inside:avoid}#print-document .pnl-section-head{break-after:avoid}#print-document .pnl-lines>div{break-inside:avoid;padding:8px 14px}#print-document .pnl-header{padding:18px 24px}#print-document .pnl-section{margin:15px 20px}#print-document .pnl-result{margin:18px 20px}}

.inline-create{border:1px solid #E2DACE;background:#F4EFE6;border-radius:14px;padding:16px;min-width:0;margin:8px 0 16px}.inline-create[hidden]{display:none}.inline-create legend{font-weight:700;color:#1C1A18;padding:0 6px}.inline-create.full{grid-column:1/-1}.inline-create label{display:block;margin-bottom:10px}.inline-create input,.inline-create select{max-width:100%;box-sizing:border-box}#invoice-number[readonly]{background:#F4EFE6;color:#1C1A18}#invoice-form input[type=date]{min-width:0;width:100%;box-sizing:border-box}

.invoice-email{border-top:1px solid #E2DACE;padding-top:18px;margin-top:20px}.invoice-email fieldset{min-width:0;border:0;padding:12px 0}.invoice-email fieldset[hidden],#invoice-email-time[hidden]{display:none}.email-notice{background:#fff6df;color:#594521;padding:14px;border-radius:12px}.email-preview{background:#F4EFE6;border:1px solid #E2DACE;border-radius:12px;padding:16px;margin-top:14px;overflow-wrap:anywhere}.email-message{white-space:pre-wrap;line-height:1.6}.invoice-email input[type=datetime-local]{max-width:100%;min-width:0}.optional-details code{overflow-wrap:anywhere}

.line-tax-settings{grid-column:1/-1;min-width:0}.line-tax-settings>.check-field{display:flex;align-items:center;gap:8px}.line-tax-settings input[type=checkbox]{width:auto}.line-tax-fields{border:1px solid #E2DACE;background:#F4EFE6;border-radius:12px;padding:14px;min-width:0;display:grid;grid-template-columns:2fr 1fr;gap:12px}.line-tax-fields[hidden]{display:none}.line-tax-fields legend{font-size:13px;font-weight:600;color:#706B62}.line-tax-fields small{grid-column:1/-1;color:#706B62}.line-tax-fields label{min-width:0}@media(max-width:600px){.line-tax-fields{grid-template-columns:1fr}}

.line-tax-settings>.check-field{flex-direction:row}.line-tax-fields label{grid-column:auto!important}
/* Starting books, import review and customer-facing invoice preview. */
.migration-card{margin-bottom:24px;border-top:4px solid #367b6d}.migration-step{font-weight:700;color:#706B62;font-size:.88rem}.migration-note{background:#F4EFE6;border:1px solid #E2DACE;border-radius:12px;padding:16px;line-height:1.65;color:#1C1A18;margin:16px 0}.migration-summary{display:flex;flex-wrap:wrap;gap:12px;background:#F4EFE6;border-radius:12px;padding:16px;margin:16px 0}.migration-row{padding:18px 0;border-bottom:1px solid #E2DACE}.migration-row p{margin:8px 0;overflow-wrap:anywhere}.migration-row details>summary{cursor:pointer;font-weight:600;color:#1C1A18}.migration-row details .form-grid{margin-top:16px}.migration-row .check-field{align-items:flex-start}.migration-row input[type=checkbox]{flex-shrink:0}.duplicate-note{background:#fff5df;padding:12px;border-radius:8px}.package-list{padding-left:24px;line-height:1.9}.invoice-paper{background:white;border:1px solid #E2DACE;border-radius:12px;overflow:hidden;color:#1C1A18;margin:12px 0 24px}.invoice-paper>header{background:#1C1A18;color:white;padding:26px;display:flex;justify-content:space-between;gap:16px;align-items:center}.invoice-paper>header span{font-size:1.55rem;font-weight:750;display:block}.invoice-paper>header strong{display:block;margin-top:8px;font-weight:500}.invoice-paper>header img{max-width:110px;max-height:64px;object-fit:contain}.invoice-paper-parties{padding:24px;display:flex;justify-content:space-between;gap:16px}.invoice-paper h3{margin:0 0 24px;font-size:1.2rem}.invoice-paper-parties small,.invoice-paper-parties strong{display:block}.invoice-paper small{color:#706B62;font-size:.85rem;line-height:1.55}.invoice-paper-parties dl{font-size:.85rem;display:grid;grid-template-columns:auto auto;gap:8px;margin:0;align-content:start}.invoice-paper dd{margin:0;text-align:right}.invoice-paper-lines{margin:0 24px}.invoice-paper-lines section{display:flex;justify-content:space-between;gap:18px;padding:16px 8px;border-bottom:1px solid #E2DACE}.invoice-paper-lines section:nth-child(odd){background:#F4EFE6}.invoice-paper-lines small{display:block}.invoice-paper-lines section>strong{white-space:nowrap}.invoice-paper-totals{margin:24px}.invoice-paper-totals>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0}.invoice-paper-totals>div:last-child{border-top:2px solid #E2DACE;background:#eef7f5;color:#205e52;padding:16px 12px;font-size:1.15rem;font-weight:750}.invoice-paper-note{margin:24px;overflow-wrap:anywhere}.invoice-paper-note p{color:inherit}.invoice-paper footer{padding:20px 24px;color:#706B62;border-top:1px solid #E2DACE;font-size:.85rem}#invoice-preview-panel .modal-actions{position:sticky;bottom:0;background:#fff;z-index:2}#invoice-preview-panel[hidden],#invoice-editor[hidden]{display:none!important}@media(max-width:520px){.invoice-paper>header{padding:20px}.invoice-paper-parties{padding:20px;flex-direction:column}.invoice-paper-parties dl{grid-template-columns:auto 1fr}.invoice-paper-lines{margin:0 12px}.invoice-paper-lines section{font-size:.88rem}.invoice-paper-totals{margin:20px 12px}.invoice-paper>header span{font-size:1.25rem}#invoice-preview-panel .modal-actions{flex-wrap:wrap}.migration-row .form-grid{grid-template-columns:1fr}}
.setup-choices{display:grid;gap:14px;margin:24px 0}.setup-choice{display:flex;align-items:flex-start;gap:14px;padding:22px;border:1.5px solid #E2DACE;border-radius:16px;cursor:pointer;background:#fff}.setup-choice:has(input:checked){background:#edf7f3;border-color:#367b6d;box-shadow:0 0 0 1px #367b6d}.setup-choice input{margin:5px 0 0;flex:0 0 auto;width:20px;height:20px;accent-color:#367b6d}.setup-choice strong{display:block;font-size:1.08rem;color:#1C1A18}.setup-choice small{display:block;font-size:.9rem;line-height:1.55;color:#706B62;margin-top:7px}.setup-records{border:1px solid #E2DACE;border-radius:12px;padding:16px;margin:18px 0}.setup-records legend{font-weight:650;padding:0 6px}.setup-records p{font-size:.9rem}.setup-task-list{display:grid;gap:10px;margin:20px 0}.setup-task{display:flex;align-items:center;gap:14px;text-align:left;width:100%;padding:18px;background:white;border:1px solid #E2DACE;border-radius:14px;color:#1C1A18;cursor:pointer}.setup-task:hover,.setup-task:focus-visible{background:#f1f7f5;border-color:#367b6d}.setup-task>span:nth-child(2){flex:1;min-width:0}.setup-task strong,.setup-task small{display:block}.setup-task strong{font-size:1rem}.setup-task small{font-size:.85rem;line-height:1.5;color:#706B62;margin-top:5px}.setup-task .setup-count{color:#28715d;font-weight:600}.setup-number{width:32px;height:32px;border-radius:50%;background:#eaf3f0;display:grid;place-items:center;color:#28715d;flex-shrink:0;font-weight:700}#setup-details input[type=date]{display:block;min-width:0;max-width:100%;width:100%;box-sizing:border-box}#setup-details .field{min-width:0}#setup-details select{width:100%;max-width:100%;min-width:0}#setup-details .form-grid{margin:16px 0}#setup-details .field,#migration-upload .field{margin-top:16px}@media(max-width:520px){.setup-choice{padding:18px}.setup-task{padding:15px;gap:10px}#setup-details .form-grid{grid-template-columns:1fr}.setup-task small{font-size:.84rem}}

/* Phone form reachability and readable account histories. */
.modal-header{position:sticky;top:0;z-index:5;background:var(--surface,#fff);flex-shrink:0}
.modal input,.modal textarea,.modal select{scroll-margin-block:80px}
.account-amount.text-button{font-size:1.6rem;text-align:left;text-decoration:underline;text-underline-offset:5px}
.account-history-row{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.account-history-row>div{min-width:0}.account-history-row small,.account-history-row span,.account-history-row strong{display:block;line-height:1.6}
.account-history-row>div:last-child{text-align:right;flex-shrink:0}.account-history-row small{color:var(--muted)}
@media(max-width:480px){.account-history-row{flex-direction:column;gap:6px}.account-history-row>div:last-child{text-align:left}.filter-row select{max-width:100%}}
.history-filter-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
#history-count{scroll-margin-top:120px}

.quick-choices.money-chooser{gap:6px}
.money-chooser button{display:grid;grid-template-columns:2.35rem minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.75rem;text-align:left}
.money-chooser .chooser-copy strong,.money-chooser .chooser-copy small{display:block}
.money-chooser .chooser-symbol{display:grid;place-items:center;width:2.35rem;height:2.35rem;border-radius:.8rem;background:#e1eee4;color:#2a6b51;font-size:1.4rem;line-height:1}
.money-chooser.outgoing .chooser-symbol{color:#a8603f;background:#f4e6dc}
.money-chooser .chooser-end{color:#786e62;font-size:1.25rem}

.receipt-review{padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--cream,#F5F1EA)}.receipt-review>p{font-size:.9rem;line-height:1.5}.receipt-review-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.receipt-review-actions .btn{white-space:normal;min-height:44px}.receipt-review-image{max-height:55vh;overflow:auto;border:1px solid var(--line);border-radius:8px;background:white;overscroll-behavior:contain}.receipt-review-image img{display:block;width:100%;height:auto;max-width:100%;margin:0}.receipt-review-image.is-zoomed img{width:auto;max-width:none}.receipt-review-image:focus-visible{outline:2px solid var(--gold,#8A6A2E);outline-offset:2px}

.gp-dialog{max-height:90dvh;overflow:auto}.gp-dialog form{display:grid;gap:12px}.gp-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem}
.gp-forecast{list-style:none;padding:0}.gp-forecast .book-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px}.gp-forecast time,.gp-forecast strong{white-space:nowrap}
.gp-dialog [hidden]{display:none!important}

.future-page { padding: clamp(1rem, 5vw, 4rem); }
.future-page .future-book { max-width: 43rem; margin: auto; padding: clamp(1.25rem, 4vw, 2.5rem); border-top: 4px solid var(--blue); overflow-wrap: anywhere; }
.future-book h1 { margin-bottom: .65rem; }
.future-book > p { color: var(--muted); line-height: 1.55; }
.future-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.future-book details { padding: .8rem 0; border-top: 1px solid #e2dace; }
.future-book summary { cursor: pointer; font-weight: 600; }
.future-book details > :not(summary) { margin: .6rem 0 0 1.25rem; }

