:root{--green:#293b33;--ink:#2e3831;--muted:#7f8379;--cream:#f3f1e9;--line:#e3e1d6;--gold:#b39760}body{background:radial-gradient(ellipse at 95% 0%,#e6e2d160,transparent 50%),var(--cream);font-size:14px;letter-spacing:.05px}aside{background:#23352d;color:#eee9da;border:0;padding:38px 23px;gap:50px}.brand{font:23px Georgia;gap:10px;line-height:1.15}.brand b{background:#ffffff0d;color:#d7c291;border:1px solid #ad936549;border-radius:50%;font-size:25px;width:40px;height:40px}.brand img{background:#ffffff08;padding:2px}nav{gap:6px}nav button{font-size:12px;letter-spacing:.35px;color:#b2bdb4;padding:14px 12px;border-radius:5px}nav button.active{background:#ffffff0c;color:#e8d4aa;border-left:2px solid #c4a46a}.aside-bottom{color:#9cafa2;letter-spacing:.4px;font-size:10px}.aside-bottom hr{opacity:.2}main{padding:40px 48px;max-width:1530px}h1{font-size:40px;letter-spacing:-1.25px;font-weight:400}h2{letter-spacing:-.55px;font-weight:400}h3{font-weight:500}button{border-radius:6px;padding:11px 16px;font-size:12px;letter-spacing:.25px;font-weight:550;background:#293b33}.ghost{background:transparent;border-color:#deded1}.card{border-radius:12px;background:#fffef9;border:1px solid #e5e3d7;box-shadow:0 4px 18px #3e403003}.hero{background:linear-gradient(110deg,#253c31,#3d5142);border-radius:12px;min-height:200px;padding:32px}.hero:after{content:'◯';font-size:350px;right:-50px;top:-135px;color:#baa16b;opacity:.08}.hero h2{font-size:33px;max-width:500px;line-height:1.16}.hero p{font-size:13px;color:#c9d0c4;max-width:470px}.hero-controls .pill{display:none}.hero-edit{background:transparent;padding:6px 0;border:0;color:#d4bf91;font-size:11px}.hero-controls{margin-top:16px}.hero-photo{width:34%;mask-image:linear-gradient(to right,transparent,#000 18%)}.hero.has-photo{padding-right:38%;min-height:245px}.eyebrow{font-size:10px;letter-spacing:1.8px}.number{font-weight:400;font-size:32px;letter-spacing:-1px;font-variant-numeric:tabular-nums}.stat-label{font-size:11px}.stats{gap:18px}.tag{background:#eeeee3;color:#666e61;font-size:10px;border-radius:4px;padding:6px 8px}.hint{background:#eeeee4;color:#7b806f;font-size:11px;line-height:1.6;border-radius:6px}.hint button{flex-shrink:0}.top>.date-controls{align-self:center}.date-controls{display:grid;gap:10px;text-align:right;min-width:210px}#dailyDate{font-size:12px;letter-spacing:.3px;color:#777e70}.report-label{display:flex;align-items:center;justify-content:flex-end;gap:12px;text-transform:uppercase;font-size:9px;letter-spacing:1px}.report-label input{width:142px;padding:8px 10px;font-size:12px;letter-spacing:0;background:#ffffff60;border-color:#dddfd2}.toolbar input,.toolbar select{width:auto}.fields input,.fields select,input,select{background:#fafbf6;border-radius:6px;font-size:13px}dialog{border-radius:12px;box-shadow:0 25px 100px #1f352a33}label{font-weight:500}footer{opacity:.75;font-size:10px;max-width:820px}.wallet-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:32px 0 24px}.wallet-heading h2{font-size:29px;margin:8px 0}.wallet-tools{display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between;align-items:center;margin:20px 0 28px}.segmented{display:flex;gap:3px;padding:4px;border:1px solid var(--line);background:#eaece2;border-radius:7px}.segmented button{background:transparent;color:#858b7e;padding:9px 15px;font-size:11px}.segmented .selected{background:#fffef9;color:#334433;box-shadow:0 1px 4px #2638290c}.wallet-tools select{font-size:11px;padding:10px;max-width:240px;background:#fffef9}.wallet-grid{grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:22px}.wallet-card{perspective:1200px;min-height:337px}.wallet-turner{display:grid;transform-style:preserve-3d;transition:transform .65s cubic-bezier(.22,.72,.18,1);position:relative;height:100%}.flipped .wallet-turner{transform:rotateY(180deg)}.wallet-face{grid-area:1/1;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:13px;padding:23px;background:#fffef9;border:1px solid #e0e1d4;box-shadow:0 6px 25px #2b392505;display:flex;flex-direction:column;min-width:0;cursor:pointer}.wallet-front{border-top:2px solid #b6866e}.deposit-spend .wallet-front{border-top-color:#849baa}.wallet-front h3{font:20px Georgia;line-height:1.2;margin:24px 0 15px;overflow-wrap:anywhere;letter-spacing:-.25px}.wallet-front .number{font-size:35px;margin:10px 0 20px}.wallet-back{transform:rotateY(180deg);background:#eeeede;justify-content:space-between}.wallet-back .eyebrow{color:#8a8c79}.icon-btn{background:transparent;color:#9a9c8b;padding:6px 8px;font-size:16px}.flip-btn{background:transparent;color:#959880;padding:7px 0;font-size:10px}.wallet-bottom{margin-top:auto;padding-top:18px;border-top:1px solid #ececde}.wallet-bottom .small{font-size:9px}.wallet-back .wallet-bottom{margin-top:18px}.balance-line{margin:15px 0}.wallet-note{font-size:11px;color:#78909c;margin:8px 0 25px}.wallet-footnote{margin-top:25px;max-width:680px;line-height:1.7}.wallet-empty{grid-column:1/-1;min-height:260px}.actual-card{width:100%;height:195px;object-fit:contain;border-radius:12px;margin-top:15px}.card-art{border-radius:13px;color:#ede9db;padding:21px;aspect-ratio:1.586;background:linear-gradient(120deg,#293d35,#576659);box-shadow:0 8px 18px #1f352a25;margin-top:20px;position:relative;overflow:hidden}.card-art:after{content:'';position:absolute;right:-90px;top:-70px;width:240px;height:240px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 25px #ffffff05,0 0 0 50px #ffffff05}.tone-1{background:linear-gradient(120deg,#777263,#b2a88d)}.tone-2{background:linear-gradient(120deg,#353b45,#68717d)}.tone-3{background:linear-gradient(120deg,#66554d,#a1836a)}.art-top,.art-bottom{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.3px;text-transform:uppercase}.chip-mark{font-size:30px;color:#d4be88;margin:15px 0 5px}.card-art h3{font:18px Georgia;position:relative;z-index:1;line-height:1.2;margin:7px 0 18px}.art-bottom{font-size:8px;position:relative;z-index:1}.art-note{font-size:9px;margin:8px 0 0}.edit-card-preview{max-height:150px;max-width:100%;border-radius:10px;object-fit:contain}.danger{color:#a8604b}.debt-number{color:#a46148}.cash-number{color:#497c92}.paid-toggle{padding:11px;background:#f5f4ed;border-color:#e4e4d7;font-size:11px;border-radius:7px}.paid-toggle input{width:18px;height:18px}.paid-toggle.is-paid{background:#e9f0e3;color:#476442;border-color:#c4d6b9}.debt-card{border-top-width:2px}.category-details>summary{cursor:pointer;list-style:none;padding:22px 24px;background:#eaece1;border:1px solid var(--line);border-radius:9px;font:19px Georgia;display:flex;justify-content:space-between;gap:12px}.category-details>summary span{font:11px system-ui;color:#7f8574}.category-details .section{margin-top:12px}.small{line-height:1.6}.tablewrap table td{font-size:12px}.bar i{background:#b2b58d}@media(max-width:1100px){main{padding:30px}.shell{grid-template-columns:190px 1fr}.brand{font-size:20px}.wallet-grid{grid-template-columns:repeat(auto-fill,minmax(255px,1fr))}}@media(max-width:700px){.shell{display:block}aside{padding:20px 16px;gap:20px}.brand{font-size:23px}nav{gap:0}nav button{padding:10px 12px}.top{flex-direction:row;gap:12px;align-items:start}.top h1{font-size:28px;letter-spacing:-.8px}.top>.date-controls{align-self:start}.date-controls{min-width:0;max-width:145px;gap:8px;text-align:right}#dailyDate{font-size:10px}.report-label{display:grid;gap:5px;font-size:8px}.report-label input{width:135px;font-size:11px}.top>.date-controls time{line-height:1.5}.top .muted{display:none}.top .eyebrow{font-size:8px;letter-spacing:1px}main{padding:25px 16px}.hero h2{font-size:28px}.hero{padding:25px}.hero.has-photo{padding:24px 24px 185px}.hero-photo{width:100%;height:165px;mask-image:none}.wallet-heading h2{font-size:24px}.wallet-heading{align-items:start}.wallet-heading button{white-space:nowrap;font-size:10px}.wallet-tools{gap:12px}.wallet-tools .toolbar{width:100%;display:grid;grid-template-columns:1.25fr 1fr;gap:8px}.wallet-tools select{max-width:100%;width:100%;font-size:10px}.segmented{width:100%;justify-content:space-between}.segmented button{padding:9px 12px}.wallet-grid{grid-template-columns:1fr;gap:18px}.wallet-card{min-height:345px}.wallet-face{padding:24px}.card-art{max-width:360px;width:100%;margin:20px auto 0}.actual-card{height:210px}.hint.row{align-items:start;flex-direction:column}.stats .number{font-size:24px}.stats .small{font-size:10px}.stats{gap:10px}.category-details>summary{font-size:17px}.category-details>summary span{font-size:9px}}@media(prefers-reduced-motion:reduce){.wallet-turner{transition:none}}
.brand-home{display:flex;align-items:center;gap:10px;padding:0;background:transparent;color:inherit;text-align:left;font:inherit;letter-spacing:inherit;width:100%}.brand-home:hover{filter:none;color:#ead9b5}.brand-home span{min-width:0;overflow-wrap:anywhere}.art-bottom span:last-child{max-width:55%;text-align:right;overflow-wrap:anywhere;letter-spacing:.6px}.category-name{padding:4px 0;background:transparent;color:var(--ink);font-size:13px;display:flex;gap:11px;align-items:center;text-align:left;letter-spacing:0}.category-name:hover .category-icon{transform:rotate(-12deg) scale(1.18);background:#ece8d6}.category-icon{display:inline-grid;place-items:center;width:29px;height:29px;flex-shrink:0;background:#f0f0e5;border-radius:9px;font-size:15px;transition:transform .18s,background .18s}.budgetrow label{font-size:10px}.budgetrow input{font-size:15px;max-width:135px}.debt-card-art .art-note{display:none}.debt-card-art .actual-card{height:180px}.debt-card-art .card-art{margin-top:14px;box-shadow:0 5px 15px #20372914}.debt-card .row .number{font-size:27px;margin:10px 0}.debt-wallet-grid{grid-template-columns:repeat(auto-fill,minmax(285px,1fr))}.debt-math{margin:18px 0;font-size:11px;color:var(--muted)}.debt-math summary{cursor:pointer}.debt-math .debt-breakdown{margin:10px 0}.debt-card .toolbar{gap:7px}.debt-card .toolbar button{font-size:10px;padding:10px 11px}.text-link{display:inline;background:transparent;color:#8b7650;padding:3px 0;font-size:11px;text-decoration:underline;text-underline-offset:3px}.entry-help{margin-top:14px}#notificationBadge{border-radius:50%;display:inline-grid;place-items:center;min-width:19px;height:19px;background:#647260;color:#fff;margin-left:7px;font-size:10px}#notificationBadge[hidden]{display:none}#notificationBadge.alerting{background:#bd674d}.spending-signal{margin:20px 0 -8px;border:1px solid #dce2ce;border-radius:7px;background:#e9eee1}.spending-signal button{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:15px;background:transparent;color:#4d6846;padding:12px 16px;font-size:12px}.spending-signal button span{font-size:10px;opacity:.8}.spending-signal.signal-red{border-color:#d39e8c;background:#f7e6df}.signal-red button{color:#943f2a;font-weight:650}.notification-hero{padding:34px;border:1px solid #cddbbf;background:#e7eddf;color:#435c3d;border-radius:12px;margin-top:30px}.notification-hero.over{background:linear-gradient(120deg,#f8e7df,#f1d7cc);color:#933f2b;border-color:#d8a38e;border-left:5px solid #b75b40}.notification-hero .number{font-size:50px;margin:20px 0 5px}.notification-hero h2{font-size:28px}.notification-hero p{font-size:12px;margin-bottom:0}.notification-list{display:grid;gap:12px;margin:22px 0}.notice-card{display:flex;gap:18px;align-items:center;padding:22px;border:1px solid var(--line);border-radius:10px;background:#fffef9}.notice-icon{display:grid;place-items:center;width:38px;height:38px;background:#eeeee4;border-radius:50%;flex-shrink:0;font-size:18px}.notice-card h3{font-size:14px;margin:0 0 7px}.notice-card p{font-size:12px;margin:0;color:var(--muted)}.notice-card.red{border-left:3px solid #b66049}.notice-card.red .notice-icon{background:#f4ddd4;color:#a2422a}.notice-card.amber{border-left:3px solid #bea161}.notice-card.green .notice-icon{background:#e8efde;color:#45633a}.faq-search{margin:24px 0;max-width:460px}.faq-item{border-top:1px solid var(--line);padding:18px 0}.faq-item summary{cursor:pointer;font-size:14px;line-height:1.5}.faq-item p{max-width:720px;color:var(--muted);font-size:13px;margin:12px 0 0}.faq-item[open] summary{color:#88703e}.debt-wallet-grid .debt-card{padding:22px}@media(max-width:700px){.notification-hero{padding:25px}.notification-hero .number{font-size:40px}.spending-signal button{font-size:11px}.spending-signal button span{font-size:9px}.category-name{font-size:12px;gap:7px}.category-icon{width:25px;height:25px;font-size:14px}.debt-wallet-grid{grid-template-columns:1fr}.brand-home{max-width:280px}nav{max-width:100%}}@media(prefers-reduced-motion:reduce){.category-icon{transition:none}}
.header-tools{display:flex;gap:22px;align-items:center}.notification-bell{position:relative;z-index:6;flex-shrink:0}.notification-bell>summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:43px;height:43px;border:1px solid #dddfd1;border-radius:50%;color:#62715d;background:#fffef96b;position:relative}.notification-bell>summary::-webkit-details-marker{display:none}.notification-bell[open]>summary{background:#e6e9dc}.notification-bell #notificationBadge{position:absolute;top:-4px;right:-5px;margin:0;min-width:18px;height:18px;font-size:9px}.bell-dropdown{position:absolute;top:55px;right:0;width:365px;max-width:calc(100vw - 32px);background:#fffef9;border:1px solid #deded0;border-radius:13px;box-shadow:0 20px 65px #23352d25;padding:20px;max-height:70vh;overflow:auto}.bell-dropdown h3{margin:0;font:21px Georgia}.bell-month{margin:12px 0}.bell-item{display:flex;align-items:start;gap:12px;padding:16px 0;border-top:1px solid var(--line)}.bell-item h4{font-size:12px;font-weight:550;margin:2px 0 7px;line-height:1.5}.bell-item p{font-size:11px;color:var(--muted);line-height:1.6;margin:0}.bell-item .notice-icon{width:28px;height:28px;font-size:13px}.bell-item.red .notice-icon{background:#f4ddd4;color:#a2422a}.bell-item.red h4{color:#a04c36}.bell-item.green .notice-icon{background:#e8efde;color:#45633a}.bell-footer{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:14px}.bell-footer .text-link{justify-self:start}.overview-notices{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.overview-notice{display:flex;align-items:center;gap:12px;border:1px solid #e2d5c9;background:#fffaf1;border-radius:9px;padding:12px 12px 12px 16px;max-width:470px;flex:1;min-width:250px}.overview-notice b{font-size:12px;font-weight:550;display:block;line-height:1.5}.overview-notice .text-link{display:block;font-size:10px}.overview-notice .notice-icon{width:28px;height:28px;font-size:13px}.overview-notice.red{border-color:#e1b9a9;background:#f7ece6}.overview-notice.red b{color:#9c4b34}.overview-notice.red .notice-icon{background:#eddbd1;color:#a04c36}.notice-dismiss{margin-left:auto;align-self:start;font-size:20px;padding:0 5px}.faq-bottom{display:block;background:transparent;color:#b2bdb4;padding:12px 0 23px;font-size:11px;text-align:left}.faq-bottom.active{color:#e8d4aa}.aside-bottom{margin-top:auto}.notification-bell summary:focus-visible{outline:2px solid #b39760;outline-offset:3px}@media(max-width:700px){.header-tools{gap:10px;align-items:start}.notification-bell>summary{width:34px;height:34px}.bell-dropdown{position:fixed;right:16px;top:128px;width:365px;max-height:70vh}.aside-bottom{display:block;margin:0}.aside-bottom>span,.aside-bottom>br,.aside-bottom>hr{display:none}.aside-bottom{font-size:0;line-height:0}.aside-bottom .faq-bottom{padding:0;font-size:10px;position:absolute;right:18px;top:26px;color:#bbc5b8}.top .date-controls{max-width:133px}.top .header-tools{flex-shrink:0}.top h1{font-size:25px}.overview-notice{min-width:0;max-width:100%;flex-basis:100%}} 
@media(max-width:700px){.aside-bottom .faq-bottom{position:static;padding:0;font-size:10px;color:#bbc5b8}.aside-bottom{padding-top:0}}
.receipt-tools{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 10px}.receipt-tools button{font-size:11px}.receipt-review{display:flex;gap:18px;align-items:start;padding:16px;border:1px solid #dddcca;background:#f3f2e7;border-radius:10px;margin:12px 0}.receipt-thumb{width:105px;max-height:180px;object-fit:contain;border:1px solid var(--line);background:white;border-radius:5px}.receipt-keep{display:flex;align-items:center;gap:9px;font-size:11px;margin:12px 0}.receipt-keep input{width:18px;height:18px;flex-shrink:0;accent-color:#476c48}.transaction-form [data-receipt-review]>details{margin:12px 0}.transaction-form pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;font-size:11px;background:#f5f5ed;padding:12px}.receipt-full{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:18px auto}button:disabled{cursor:default;opacity:.5}.receipt-tools input[hidden]{display:none}@media(max-width:700px){.receipt-review{gap:12px;padding:12px}.receipt-thumb{width:85px}.receipt-tools button{font-size:11px;min-height:44px}}
.category-icon img{width:100%;height:100%;object-fit:contain;border-radius:7px}.category-logo-preview{width:65px;height:65px;object-fit:contain;border:1px solid var(--line);border-radius:9px}.category-manager .toolbar button{font-size:10px;padding:8px 12px}#orderModal textarea{font:13px system-ui;padding:12px;width:100%;border:1px solid var(--line);border-radius:8px;resize:vertical;color:var(--ink);background:#fafbf6}#orderModal label{display:grid;gap:8px}.workspace-link{display:inline-block;background:var(--green);color:white;padding:12px 16px;border-radius:6px;text-decoration:none;font-size:12px}.category-manager .row>span{max-width:55%;overflow-wrap:anywhere}#modal .tag{white-space:normal}#inviteLinkResult input{font-size:11px;margin-top:10px}.category-name img{pointer-events:none}
.ledger-connection{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:20px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:#eceee5;font-size:11px}.ledger-connection b{font-weight:600}.ledger-connection .small{display:block;font-size:10px;margin-top:5px}.ledger-connection .ghost{font-size:10px;padding:8px 11px}.connection-error{background:#f7e8df;border-color:#ddae98;color:#9e4931}.local-connection{background:#f0eee4;color:#85816d}.shared-connection{border-color:#cbd8bf}.create-separate-ledger>summary{font-size:12px;cursor:pointer;color:#817653}@media(max-width:700px){.ledger-connection{align-items:start;flex-direction:column;padding:12px}.ledger-connection .toolbar{width:100%;justify-content:space-between}}

.merchant-description{display:flex;align-items:center;gap:11px}.merchant-icon{width:34px;height:34px;background:#f1f3ed;border:1px solid #e2e7dc;border-radius:10px;position:relative;display:inline-grid;place-items:center;flex-shrink:0;color:#718276}.merchant-icon svg{width:21px;height:21px}.merchant-icon img{position:absolute;width:24px;height:24px;object-fit:contain;background:#f1f3ed}.report-period{display:flex;gap:6px}.report-period select{min-width:155px}.report-period input{width:82px}.roster-line{display:flex;gap:10px;align-items:center}.roster-line input{flex:1}
#modal.connected-demo{width:min(850px,95vw);padding:0;border-radius:22px;background:#fbfcf7;max-height:92vh}.demo-header{padding:22px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e0e5d8}.demo-header b{font-size:16px}.demo-header p{margin:8px 0 0}.demo-steps{display:flex;list-style:none;padding:18px 28px;margin:0;gap:18px;border-bottom:1px solid #e6eadd;color:#8a9285;font-size:11px}.demo-steps li{display:flex;align-items:center;gap:7px}.demo-steps li span{border:1px solid #d5ddcd;border-radius:50%;width:24px;height:24px;display:grid;place-items:center}.demo-steps .current{color:#214d3b;font-weight:700}.demo-steps .current span,.demo-steps .complete span{color:white;background:#27543e;border-color:#27543e}.demo-body{padding:28px}.demo-intro{background:#214d3b;color:#fff;padding:30px;border-radius:16px;position:relative;overflow:hidden}.demo-intro:after{content:'';position:absolute;width:250px;height:250px;border:1px solid #b6cb9950;border-radius:50%;right:-75px;top:-55px;box-shadow:0 0 0 40px #b6cb9910,0 0 0 80px #b6cb9908;pointer-events:none}.demo-intro h2{color:#fff;font-size:32px;line-height:1.15;margin:12px 0}.demo-intro p{color:#d6e1ce;font-size:13px}.demo-intro .eyebrow{color:#bfd19d}.demo-orbit{font-size:26px;width:46px;height:46px;display:grid;place-items:center;border:1px solid #bfd19d70;border-radius:50%;margin-bottom:20px;color:#cbdca8}.demo-plans{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0}.demo-plan{text-align:left;position:relative;background:white;color:#234c3a;border:1px solid #dbe3d0;border-radius:13px;padding:22px;display:grid;gap:12px}.demo-plan.chosen{background:#eff4e6;border:1px solid #79985c;box-shadow:inset 0 0 0 1px #79985c}.demo-plan strong{font-size:34px;font-weight:600;letter-spacing:-1px}.demo-plan small{display:inline-block;font-size:11px;margin-left:8px;letter-spacing:0;font-weight:400}.demo-plan>span{font-size:12px}.demo-tick{position:absolute;right:18px;top:18px}.demo-benefits{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:12px;margin-bottom:22px}.demo-footer{position:sticky;bottom:0;background:#fbfcf7;border-top:1px solid #e0e5d8;padding:18px 28px;display:flex;justify-content:space-between;align-items:center}.demo-title h2{font-size:27px;margin:0 0 12px}.demo-bank-grid{display:grid;gap:12px;margin:28px 0}.demo-bank{display:flex;align-items:center;gap:15px;text-align:left;border:1px solid #dae2d1;padding:20px;background:white;color:#234c3a;border-radius:12px}.demo-bank>span:nth-child(2){flex:1;display:grid;gap:8px}.demo-bank small{font-weight:400;color:#71816e}.demo-bank.chosen{border-color:#79985c;background:#f0f5e8}.demo-bank-mark{height:42px;width:42px;display:grid;place-items:center;background:#e7edf5;color:#14538b;border-radius:10px;font-size:20px}.demo-bank-mark.amex{background:#1d6090;color:white}.demo-security{display:flex;gap:15px;background:#eef3e6;padding:20px;border-radius:12px}.demo-security>span{font-size:28px}.demo-security p{line-height:1.6;margin-bottom:0}.demo-map{border:1px solid #dde4d4;border-radius:12px;background:white;padding:20px;margin-top:18px}.demo-map .fields{grid-template-columns:repeat(3,1fr)}.demo-feed-row{display:flex;gap:12px;align-items:center;padding:18px 0;border-bottom:1px solid #e3e8db}.demo-feed-row>input{width:18px;height:18px;accent-color:#27543e;flex-shrink:0}.demo-feed-copy{flex:1;display:grid;gap:7px;min-width:0}.demo-feed-copy b{font-size:13px;white-space:normal}.demo-feed-copy small{font-size:11px;color:#71816e}.demo-status{font-size:10px;padding:5px 9px;border-radius:20px;background:#eaf2df;color:#416e37}.demo-status.review{background:#fff0d5;color:#926324}.demo-status.pending{background:#eeefeb;color:#7f867b}.demo-total{padding:20px 0 0}.demo-row-editor{background:#f1f4e9;border-radius:12px;padding:20px}.demo-success{text-align:center;padding:10px 0 20px}.demo-success>span{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:#e1efcf;color:#376b3d;font-size:28px;margin:0 auto 22px}.demo-success h2{font-size:28px;margin:12px 0}.demo-success p{font-size:13px;color:#71816e}.demo-summary{display:grid;grid-template-columns:1fr 1fr;background:#edf2e4;border-radius:14px;padding:24px;gap:20px}.demo-summary>div{display:grid;gap:9px}.demo-summary strong{font-size:25px;font-weight:500}.demo-summary small{font-size:11px;color:#71816e}@media(max-width:650px){.demo-header{padding:18px}.demo-header .tag{display:block;margin-top:8px;width:max-content}.demo-steps{padding:15px;gap:8px;justify-content:space-between}.demo-steps li{font-size:0;gap:0}.demo-steps li span{font-size:11px}.demo-body{padding:18px}.demo-intro{padding:24px}.demo-intro h2{font-size:27px}.demo-map .fields{grid-template-columns:1fr}.demo-status{display:none}.demo-feed-row{flex-wrap:wrap}.demo-feed-row>strong{font-size:13px}.demo-footer{padding:16px 18px}.demo-plan{padding:16px}.demo-plan strong{font-size:29px}.demo-summary{padding:18px}.demo-summary strong{font-size:20px}}

.sample-connection{background:#f8efdc;border-color:#ddc68e;color:#5f4b22}.subscription-card{background:linear-gradient(135deg,#f2f5ea,#fff);border-color:#d8e1ce}.subscription-prices{display:flex;gap:22px;flex-wrap:wrap;margin:20px 0 12px}.subscription-prices b{font-size:27px;font-weight:600;color:#254a37}.subscription-prices span{font-size:12px;color:#71816e}.subscription-card .toolbar{margin-top:20px}body:has(.sample-connection) #content button:disabled,body:has(.sample-connection) #content input:disabled{cursor:not-allowed}

.merchant-icon-wide{width:76px}.merchant-icon-wide img{width:68px;height:27px}

.credit-capacity{border-top:1px solid #e4e7dd;margin-top:14px;padding-top:12px}.credit-capacity .row{margin:6px 0}.credit-capacity p{margin:6px 0}.credit-capacity .bar{margin:9px 0;height:6px}.merchant-icon img{object-fit:contain}#merchantManagerList .merchant-icon{display:inline-flex;vertical-align:middle;margin-right:8px}#creditDetailsFields legend{font-weight:650;padding:0 0 12px}#merchantBrandResults img{vertical-align:middle;object-fit:contain;margin-right:8px}

.merchant-icon-health{width:108px}.merchant-icon-health img{width:100px;height:36px}

.aside-bottom .sidebar-signout{display:block;width:100%;text-align:left;background:transparent;color:#b2bdb4;font-size:12px;line-height:1.5;padding:0 0 20px;margin:0}.aside-bottom .sidebar-signout:hover{color:#e8d4aa;filter:none}@media(max-width:700px){.aside-bottom .sidebar-signout{font-size:11px;padding:12px 0 0}}
/* Membership: editorial plan selection, with the same forest and parchment palette. */
#modal:has(.membership-surface){width:min(1100px,95vw);max-width:1100px;max-height:92vh;padding:0;background:#f7f6ef;border:1px solid #dddcd0;border-radius:24px;box-shadow:0 28px 100px #152c3540}#modal:has(.membership-surface)::backdrop{background:#142d26a3;backdrop-filter:blur(5px)}
.membership-surface{padding:38px 40px 25px;color:#263e33}.membership-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.membership-heading .eyebrow{font-size:10px;letter-spacing:2.1px;color:#8b927e}.membership-heading h2{font:normal clamp(30px,3.4vw,43px)/1.15 Georgia,serif;letter-spacing:-1px;margin:13px 0 10px}.membership-heading p{font-size:13px;color:#788173;margin:0;line-height:1.7}.member-close{background:transparent;color:#637064;border:1px solid #dedfd3;border-radius:50%;padding:0;width:34px;height:34px;font:24px/1 system-ui;flex-shrink:0}.member-close:hover{background:#e9ecdf;filter:none}.member-preview-note{font-size:11px;color:#7c826e;margin:17px 0 0}.member-service-note{font-size:12px;background:#f0e5c9;border:1px solid #e0d4b5;border-radius:9px;padding:12px 15px;margin:20px 0 0;line-height:1.6}
.member-current{display:flex;justify-content:space-between;gap:35px;padding:23px 26px;background:#eeefe4;border:1px solid #dfe3d3;border-radius:14px;margin:25px 0 29px}.member-current-label{display:block;font-size:9px;font-weight:650;letter-spacing:1.7px;color:#7b8871;margin-bottom:8px}.member-current-copy>strong{font:25px/1.2 Georgia,serif;letter-spacing:-.4px}.member-current-copy>p{font-size:11px;line-height:1.7;color:#78816e;margin:8px 0 0;max-width:400px}.member-current-links{display:flex;gap:19px;flex-wrap:wrap;margin-top:11px}.member-current-links:empty{display:none}.member-current-links button{font-size:11px;background:transparent;padding:0;border-radius:0;color:#425f45;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#a6b199;font-weight:550}.member-current-aside{display:flex;align-items:center;gap:18px;color:#79856b;padding-right:15px}.member-current-aside>span{font:45px Georgia;color:#b7b798}.member-current-aside p{font:17px/1.5 Georgia;margin:0;letter-spacing:-.2px}.member-usage{width:285px;flex-shrink:0;display:grid;gap:11px;align-content:center}.member-usage-item>div{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#6c7865;margin-bottom:7px}.member-usage-item strong{font-size:12px;font-weight:600;color:#344a35}.member-usage-item strong span{color:#8b947e;font-size:10px;font-weight:400}.member-usage-item small{font-size:8px;letter-spacing:.4px;text-transform:uppercase;border:1px solid #cbd1bc;padding:2px 5px;border-radius:4px;margin-left:4px}.member-usage-item progress{display:block;appearance:none;height:4px;width:100%;border:0;background:#d8dece;border-radius:3px;overflow:hidden}.member-usage-item progress::-webkit-progress-bar{background:#d8dece}.member-usage-item progress::-webkit-progress-value{background:#697f5b}.member-usage-item progress::-moz-progress-bar{background:#697f5b}.member-usage-reset{font-size:9px;letter-spacing:.1px;color:#8a927e;margin-top:1px}
.member-billing-row{display:flex;justify-content:space-between;align-items:center;margin:0 0 20px;gap:20px}.member-billing-row>span{font:22px Georgia;letter-spacing:-.4px}.member-billing-toggle{display:flex;padding:4px;border:1px solid #dddfd2;background:#eeeee4;border-radius:30px;gap:2px}.member-billing-toggle button{padding:9px 15px;background:transparent;color:#808775;font-size:11px;border-radius:24px;font-weight:500;white-space:nowrap}.member-billing-toggle button[aria-pressed=true]{background:#fffef9;color:#2a4434;box-shadow:0 2px 5px #293a2710}.member-billing-toggle button span{color:#6d805c;font-size:9px;margin-left:5px}
.member-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.member-plan{background:#fffef9;border:1px solid #e1e1d4;border-radius:17px;padding:24px 22px 25px;min-width:0;display:flex;flex-direction:column}.member-plan-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:23px}.member-mark{display:grid;place-items:center;width:36px;height:36px;border:1px solid #d9decf;border-radius:11px;color:#73836a}.member-mark svg,.member-entry-icon svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.3;stroke-linejoin:round;stroke-linecap:round}.member-plan-tag{font-size:8px;text-transform:uppercase;letter-spacing:1px;color:#8d927e}.member-plan h3{font:29px/1.1 Georgia,serif;letter-spacing:-.6px;margin:0 0 9px;color:inherit}.member-plan-intro{font-size:11px;line-height:1.6;color:#88907d;margin:0 0 23px}.member-price{display:flex;align-items:baseline;gap:3px;white-space:nowrap}.member-currency{font:23px Georgia;align-self:flex-start;padding-top:6px}.member-price strong{font:normal 45px/.95 Georgia,serif;letter-spacing:-1.8px}.member-price>span:last-child{font-size:10px;color:#929887;margin-left:3px}.member-price-note{font-size:9px;color:#8c9581;margin:13px 0 0;line-height:1.6;min-height:15px}.member-saving{font-size:9px;font-weight:500;color:#6b805a;display:block;margin:9px 0 17px;min-height:12px}.member-saving-empty{visibility:hidden}.member-plan-action{display:flex;width:100%;align-items:center;justify-content:space-between;border:1px solid #d5dccb;border-radius:8px;padding:12px 13px;font-size:11px;background:#edf0e4;color:#405538;font-weight:550;text-align:left}.member-plan-action:disabled{opacity:1;cursor:default;background:#f3f3ea;color:#9bA08e;border-color:#e5e6da}.member-plan-action:disabled:hover{filter:none}.member-plan-divider{height:1px;background:#e7e8dc;margin:24px 0 20px}.member-includes{font-size:10px;font-weight:550;margin:0 0 17px;color:#647459}.member-feature-list{padding:0;margin:0;list-style:none;display:grid;gap:14px}.member-feature-list li{display:flex;align-items:flex-start;gap:9px;font-size:10px;line-height:1.6;color:#718068}.member-feature-check{flex:0 0 13px;font-size:11px;color:#72905b}.member-feature-list small{display:block;font-size:8px;letter-spacing:.6px;text-transform:uppercase;color:#a0a48e;margin-top:3px}.member-plan-plus{background:#284b3a;color:#f9f8ee;border-color:#284b3a;box-shadow:0 8px 25px #26453016}.member-plan-plus .member-mark{border-color:#55715a;color:#cfddbb}.member-plan-plus .member-plan-tag{color:#c5d3af}.member-plan-plus .member-plan-intro,.member-plan-plus .member-price-note,.member-plan-plus .member-price>span:last-child{color:#a5b89c}.member-plan-plus .member-saving{color:#d4dfb7}.member-plan-plus .member-plan-action{background:#e5e8cd;color:#304a32;border-color:#e5e8cd}.member-plan-plus .member-plan-action:disabled{background:#365642;border-color:#57745a;color:#bbcaad}.member-plan-plus .member-plan-divider{background:#49644d}.member-plan-plus .member-includes{color:#d6e0c4}.member-plan-plus .member-feature-list li{color:#c0cfb2}.member-plan-plus .member-feature-check{color:#cedeb3}.member-plan-plus .member-feature-list small{color:#92aa83}.member-plan-connected{background:#f1eddf;border-color:#d9cba7}.member-plan-connected .member-mark{border-color:#d6cbb2;color:#9c895d}.member-plan-connected .member-plan-tag{color:#9b8960}
.member-reassurance{display:flex;justify-content:center;align-items:center;gap:25px;flex-wrap:wrap;font-size:9px;color:#929882;padding:21px 0}.member-availability{border-top:1px solid #dfE2d3;padding-top:16px;color:#818c77}.member-availability summary{font-size:11px;list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.member-availability summary::-webkit-details-marker{display:none}.member-availability summary span{font-size:16px;color:#9ba58b}.member-availability[open] summary span{transform:rotate(45deg)}.member-availability>div{padding-top:10px;max-width:790px}.member-availability p{font-size:11px;line-height:1.8;color:#87917c;margin:12px 0}.member-availability b{font-weight:550;color:#66765a}.member-entry-card{display:flex;align-items:center;gap:18px}.member-entry-card h2{margin:7px 0}.member-entry-card p{margin:0}.member-entry-card>button{margin-left:auto;font-size:12px}.member-entry-icon{display:grid;place-items:center;flex-shrink:0;width:55px;height:55px;border-radius:15px;background:#eceede;color:#7a8c65}
@media(max-width:800px){.membership-surface{padding:28px 25px 22px}.member-plan{padding:21px 16px}.member-plan-top{gap:5px}.member-plan-tag{font-size:7px;letter-spacing:.6px}.member-price strong{font-size:37px}.member-current{padding:20px}.member-usage{width:230px}.member-plan-intro{min-height:35px}.member-entry-card{flex-wrap:wrap}.member-entry-card>button{margin-left:0}}
@media(max-width:600px){#modal:has(.membership-surface){width:calc(100vw - 20px);max-height:94dvh;border-radius:18px}.membership-surface{padding:25px 20px 20px}.membership-heading h2{font-size:32px;max-width:230px}.membership-heading p{font-size:12px}.member-current{display:block;margin:23px 0;padding:21px}.member-current-aside{display:none}.member-usage{width:100%;margin-top:22px;gap:13px}.member-billing-row{align-items:flex-start;flex-direction:column;gap:15px}.member-billing-toggle{width:100%}.member-billing-toggle button{flex:1;padding:11px}.member-plans{grid-template-columns:1fr;gap:17px}.member-plan{padding:25px}.member-plan-top{margin-bottom:20px}.member-plan-intro{min-height:0;margin-bottom:22px;font-size:12px}.member-plan h3{font-size:32px}.member-price strong{font-size:47px}.member-price-note{font-size:11px}.member-plan-tag{font-size:9px}.member-plan-action{font-size:12px;padding:14px}.member-feature-list{gap:13px}.member-feature-list li{font-size:12px}.member-includes{font-size:11px}.member-feature-list small{font-size:9px}.member-saving{font-size:10px}.member-saving-empty{display:none}.member-plan-action{margin-top:18px}.member-saving:not(.member-saving-empty)+.member-plan-action{margin-top:0}.member-reassurance{gap:10px 20px;justify-content:flex-start;line-height:1.7}.member-availability p{font-size:12px}.member-close{width:32px;height:32px}}

.member-plan-action[data-billing-busy="true"]{cursor:progress!important}

.member-plan-intro{font-size:12px}.member-feature-list li{font-size:12px}.member-includes{font-size:11px}.member-price-note{font-size:10px}.member-plan-action{font-size:12px}.member-reassurance{font-size:10px}
/* A calmer, consistent workspace. */
:root{--panel:#fffefa;--forest:#294f40;--soft-ink:#758073;--warm-line:#e4e3d8}body{background:#f4f3eb}main{max-width:1600px}h2{letter-spacing:-.035em}h3{font-weight:550;letter-spacing:-.02em}.card{border-radius:18px;border:1px solid var(--warm-line);box-shadow:0 3px 15px #283c2c03;padding:26px;background:var(--panel)}button,.workspace-link,input,select{border-radius:9px}button{transition:background .15s,transform .15s}button:hover:not(:disabled){filter:brightness(.96)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #a8874d;outline-offset:3px}button:disabled{cursor:default}.page-intro{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:26px 0 20px}.page-intro h2{font-size:34px;margin:8px 0}.page-intro p{max-width:650px;margin:10px 0}.page-intro .eyebrow{font-size:10px;letter-spacing:.18em}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:12px 0 22px}.metric-grid .card{display:flex;flex-direction:column;gap:13px;min-height:145px}.metric-grid .number{font-size:34px;letter-spacing:-.045em}.metric-grid .stat-label{font-size:11px;letter-spacing:.07em;text-transform:uppercase}.metric-feature{background:#294f40!important;color:#fffdf4}.metric-feature .stat-label,.metric-feature .small{color:#c8d3c7}.income-goal-card{background:#eeeedd;border-color:#dedfc9;margin:20px 0}.income-goal-card h2{font-size:25px;margin-top:8px}.income-progress-copy{display:flex;align-items:baseline;gap:12px;margin:22px 0 16px;flex-wrap:wrap}.income-progress-copy>strong{font:35px Georgia,serif;letter-spacing:-.04em}.income-progress-copy>span{font-size:13px;color:#6c7769}.income-progress-copy>b{margin-left:auto;font-size:13px;font-weight:550}.income-goal-card .bar{height:8px;background:#dfe2d0;border-radius:10px}.income-goal-card .bar>i{background:#47694e}.dashboard-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.reporting-card{padding-bottom:18px}.chart-controls{display:flex;gap:8px}.chart-controls select{max-width:230px;font-size:12px}.chart-key{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin:24px 0;font-size:11px}.chart-key>span{display:flex;gap:8px;align-items:center}.chart-key i,.category-chart-list i{width:9px;height:9px;border-radius:50%;display:inline-block;flex:none}.bar-chart{display:flex;gap:12px;height:230px;align-items:end;border-bottom:1px solid #e9e8df;padding:0 5px}.chart-month{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:end;height:100%;flex:1;min-width:0;background:transparent!important;color:var(--ink);font-size:11px;padding:4px}.chart-month:hover{background:#efefe5!important}.chart-value{font-size:10px;white-space:nowrap;color:#768172;max-width:100%;overflow:hidden}.chart-columns{display:flex;justify-content:center;gap:5px;align-items:end;height:175px;width:100%;background:repeating-linear-gradient(to top,transparent 0,transparent 43px,#efeee7 44px)}.chart-columns i{display:block;max-width:35px;width:35%;border-radius:4px 4px 0 0;min-width:4px}.spending-donut{width:200px;height:200px;border-radius:50%;margin:28px auto;display:grid;place-items:center}.spending-donut>span{width:146px;height:146px;border-radius:50%;background:var(--panel);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.spending-donut small{font-size:11px;color:#7d8276}.spending-donut strong{font:23px Georgia,serif}.category-chart-list{display:grid;gap:2px;max-height:300px;overflow:auto}.category-chart-list button{background:transparent;color:var(--ink);display:flex;justify-content:space-between;gap:12px;text-align:left;font-size:12px;padding:12px 5px;border-bottom:1px solid #efeee5;border-radius:0}.category-chart-list button>span{display:flex;gap:10px;align-items:center}.category-chart-list b{font-weight:550;white-space:nowrap}.category-chart-list small{color:#91998b;margin-left:8px}.quiet-divider{height:1px;background:var(--warm-line);margin:24px 0}.dashboard-grid .card .card{padding:0;border:0;box-shadow:none;background:none}.dashboard-grid .stats{gap:20px}.dashboard-grid .stats .number{font-size:23px}.dashboard-grid .stats .stat-label{font-size:11px}.subscription-mini{padding:24px 0 8px}.subscription-mini .number{display:block;font:39px Georgia,serif}.subscription-mini .number small{font:12px system-ui;color:#808775;margin-left:6px}.calm-details{border:1px solid var(--warm-line);border-radius:14px;background:var(--panel);overflow:hidden}.calm-details>summary{padding:20px 24px;cursor:pointer;list-style:none;font-size:14px;font-weight:550;display:flex;align-items:center;justify-content:space-between}.calm-details>summary:after{content:'＋';font-size:18px;font-weight:400;color:#8b927d}.calm-details[open]>summary:after{content:'−'}.calm-details>.card{border:0;box-shadow:none;margin:0}.calm-details>p,.calm-details>a{margin:12px 24px 22px;display:block}.calm-details .family-hero{margin:0;border-radius:0}.setup-details[open]>summary{border-bottom:1px solid var(--warm-line)}.insight-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 0;border-bottom:1px solid #ecebe1}.insight-row:last-child{border:0}.insight-row p{margin:7px 0 0}.insight-row b{font-size:14px}.subscription-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}.subscription-card h3{margin:0 0 5px;font-size:18px}.subscription-price{font:32px Georgia,serif;margin:25px 0 12px}.subscription-price small{font:12px system-ui;color:#858b7c}.subscription-card .merchant-description{gap:12px}.subscription-card .toolbar{gap:8px}.subscription-card button{font-size:12px}.subscription-kept{padding:13px;background:#edf2e8;color:#46623e;border-radius:8px;font-size:12px;margin:18px 0}.journal-pagination{display:flex;gap:18px;justify-content:center;align-items:center;padding:20px 0 0;font-size:12px}.journal-pagination button{padding:9px 15px}.check-row{display:flex!important;align-items:center;gap:10px;font-size:13px}.check-row input{width:18px!important;height:18px;accent-color:#294f40}.import-summary{padding:20px;border:1px solid #dce3d4;background:#f1f4eb;border-radius:12px;margin:20px 0}.statement-dialog{width:min(920px,94vw);max-width:920px}.tablewrap table th{font-size:10px;letter-spacing:.08em;padding-top:22px;padding-bottom:18px}.tablewrap table td{padding-top:18px;padding-bottom:18px}.filters{gap:12px;margin:24px 0}.filters input,.filters select{background:#fafbf6}.section>.row>h2{font-size:25px}.ledger-connection{border-radius:12px}.wallet-filters,.toolbar{gap:10px}.top .muted{font-size:13px}aside nav{gap:5px}aside nav button{padding:13px 12px;font-size:12px}main>footer{font-size:10px;letter-spacing:.03em;margin-top:35px}.faq-item{border-bottom:1px solid var(--warm-line);padding:5px 0}dialog{border-radius:20px;box-shadow:0 24px 120px #10281d30}dialog>h2,.action-confirm h2{font-size:29px}dialog .fields{gap:18px}dialog label{font-size:12px;line-height:1.6}dialog .small{line-height:1.75}#content>.toolbar{justify-content:flex-end;margin-bottom:4px}#content>.toolbar button{font-size:11px}.overview-notices{margin-top:0;margin-bottom:20px}
@media(max-width:1000px){.metric-grid .number{font-size:28px}.dashboard-grid{grid-template-columns:1fr}.page-intro{align-items:start}.chart-value{font-size:9px}.chart-controls select{max-width:160px}}@media(max-width:700px){main{padding:20px 16px}.card{padding:20px;border-radius:14px}.page-intro{flex-direction:column;gap:14px}.page-intro h2{font-size:28px}.page-intro>.toolbar{width:100%;justify-content:space-between}.page-intro button{font-size:11px;padding:12px}.metric-grid{grid-template-columns:1fr;gap:10px}.metric-grid .card{min-height:100px;padding:19px;gap:8px;position:relative}.metric-grid .number{font-size:31px}.income-goal-card .row{align-items:start;gap:14px}.income-goal-card h2{font-size:22px}.income-goal-card button{font-size:11px;padding:10px}.income-progress-copy>b{margin-left:0;flex-basis:100%}.chart-controls{margin-top:12px;width:100%}.reporting-card>.row{flex-direction:column;align-items:start}.chart-controls select{max-width:100%;width:50%}.bar-chart{gap:4px;height:200px}.chart-columns{height:145px}.chart-value{display:none}.chart-key{gap:12px}.chart-key>.small{width:100%;line-height:1.6}.subscription-grid{grid-template-columns:1fr}.insight-row{align-items:start;flex-direction:column}.journal-pagination{gap:10px}.filters{grid-template-columns:1fr}.setup-details>summary{padding:18px}.dashboard-grid .stats{grid-template-columns:1fr}.top{padding-bottom:12px}aside nav button{font-size:10px;padding:10px 7px}.statement-dialog{padding:18px}.statement-dialog table td{font-size:11px}.statement-dialog select{font-size:11px;max-width:150px}.check-row{align-items:start;font-size:12px}.category-chart-list button{font-size:11px}}
[data-income-kind][hidden]{display:none!important}.dashboard-intro{padding:16px 0 14px}.dashboard-intro h2{display:none}.dashboard-intro p{margin:7px 0}.ledger-connection:empty{display:none}
.home-family-banner{margin:0 0 24px}.home-family-banner .hero{margin:0;border-radius:18px;min-height:245px}.compact-connection{display:flex!important;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px!important;background:#fffefa!important;border:1px solid #e5e4d9!important;box-shadow:0 2px 8px #263e2d03;margin-top:16px;border-radius:12px}.connection-primary{display:flex;align-items:center;gap:11px;min-width:0}.connection-primary>span:last-child{display:grid;gap:3px}.connection-primary b{font-size:12px;font-weight:600}.connection-primary small{font-size:10px;color:#8a917f}.connection-dot{width:7px;height:7px;border-radius:50%;background:#72946a;box-shadow:0 0 0 4px #edf2e9;flex:none}.connection-dot.attention{background:#bc664c;box-shadow:0 0 0 4px #f7e8df}.connection-dot.pending{background:#b4a05e}.connection-actions{display:flex;align-items:center;gap:14px}.connection-state{font-size:11px;color:#7b8872}.connection-actions button{font-size:11px;padding:8px 12px}.connection-details{position:relative}.connection-details>summary{font-size:18px;cursor:pointer;list-style:none;padding:4px 8px}.connection-details>div{position:absolute;right:0;top:34px;background:#fffefa;border:1px solid #e1e2d5;border-radius:12px;padding:18px;box-shadow:0 12px 40px #213d2520;display:grid;gap:10px;width:260px;z-index:30;font-size:11px;overflow-wrap:anywhere}.connection-details>div>span{color:#7a8374}.person-income-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:26px 0 14px}.person-income-heading h3{font:24px Georgia,serif;margin:0}.person-income-heading>span{font-size:12px;color:#7c856f}.income-job-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}.income-job{border:1px solid #e2e4d8;border-radius:12px;padding:20px;background:#fbfcf6}.income-job h3{font-size:17px;margin:0}.income-job>strong{display:block;font:26px Georgia,serif;margin:22px 0}.income-job>strong small{font:11px system-ui;color:#8b937e}.paycheck-list{display:grid;gap:10px;font-size:12px}.paycheck-list>div{display:flex;justify-content:space-between}.paycheck-list b{font-weight:500}.income-job-actual{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e3e5d8;margin-top:18px;padding-top:15px;font-size:11px;color:#75826a}.paycheck-editor{display:grid;grid-template-columns:1fr 1fr 25px;align-items:center;gap:12px;margin:16px 0}.plan-import-totals{display:grid;gap:12px;margin:22px 0}.plan-review-list{padding:0 24px 20px;max-height:350px;overflow:auto}[data-income-source][hidden]{display:none!important}@media(max-width:700px){.compact-connection{padding:11px 12px!important;gap:8px}.connection-state{display:none}.connection-actions{gap:7px}.connection-primary b{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-family-banner .hero{min-height:245px}.person-income-heading{flex-direction:column;gap:8px}.paycheck-editor{grid-template-columns:1fr 1fr 20px;gap:8px}.income-sources>.row{flex-direction:column;align-items:start;gap:15px}.income-job-grid{grid-template-columns:1fr}}
/* Workspace controls belong to the page chrome, not a separate card. */
.compact-connection{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:3px 0 15px!important;margin:8px 0 12px!important;border-bottom:1px solid #30473816!important}.connection-primary>span:last-child{display:flex;align-items:center;gap:10px}.connection-primary small{border-left:1px solid #30473825;padding-left:10px}.connection-actions>button{background:transparent;border:0;color:#61735c}.income-sources{padding:12px 0 24px!important;background:transparent!important;border:0!important;box-shadow:none!important}.income-sources>p.small{max-width:680px;line-height:1.7}.person-income-heading{margin:32px 0 16px;align-items:center;padding-top:24px;border-top:1px solid #344b301b}.income-person-identity{display:flex;align-items:center;gap:14px}.income-person-identity .eyebrow{font-size:9px;letter-spacing:1.6px;color:#8c957f}.income-person-identity h3{font-size:28px;margin:4px 0 0}.income-portrait{position:relative;width:58px;height:58px;border-radius:50%;border:1px solid #cdd6bf;background:#e5eadb;color:#38533d;padding:0;overflow:visible;flex:none;display:grid;place-items:center}.income-portrait img{width:100%;height:100%;border-radius:50%;object-fit:cover}.income-portrait span{font:22px Georgia,serif}.income-portrait small{position:absolute;right:-2px;bottom:-2px;background:#fffefa;border:1px solid #d7decc;border-radius:50%;width:20px;height:20px;line-height:18px}.income-job{background:#fffefa;padding:25px;border:1px solid #e1e4d7;border-radius:17px;box-shadow:0 4px 16px #253c2804}.income-job>strong{font-size:34px;margin:24px 0}.income-job>strong small{display:block;margin-top:7px;font-size:10px;letter-spacing:.7px}.paycheck-list>div{padding:10px 0;border-top:1px solid #e5e7db}.income-job-progress{height:4px;border-radius:5px;background:#e9eddf;margin-top:22px;overflow:hidden}.income-job-progress i{display:block;height:100%;background:#7d9464;border-radius:5px}.income-job-actual{border:0;margin-top:0;padding-top:10px}.income-sources .toolbar{flex-wrap:wrap}.income-sources h2{font-size:29px}.income-sources .person-income-heading>span{font-size:12px;font-weight:500}@media(max-width:700px){.connection-primary>span:last-child{display:grid;gap:3px}.connection-primary small{border:0;padding:0}.compact-connection{padding:4px 0 12px!important}.person-income-heading{flex-direction:row;align-items:center}.person-income-heading>span{max-width:110px;text-align:right;line-height:1.6}.income-job-grid{gap:12px}.income-sources>.row{align-items:start;gap:16px}.income-sources h2{font-size:25px}.income-portrait{width:48px;height:48px}.income-person-identity h3{font-size:25px}}
/* Fixed image frames and a calmer, tactile dashboard. */
button.income-portrait{box-sizing:border-box!important;width:58px!important;height:58px!important;min-width:58px!important;max-width:58px!important;min-height:58px!important;max-height:58px!important;flex:0 0 58px!important;padding:0!important;border-radius:50%!important;overflow:hidden!important;display:block!important;line-height:56px!important;aspect-ratio:1!important}.income-person-identity .income-portrait>img{display:block!important;width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;max-height:100%!important;aspect-ratio:1!important;object-fit:cover!important;object-position:50% 40%!important;border-radius:50%!important;margin:0!important}.income-portrait small{right:3px;bottom:2px;line-height:16px;font-size:12px}.income-person-identity{min-height:58px}.income-person-identity>div{min-width:0}.actual-card{width:100%;object-fit:contain!important;aspect-ratio:1.586;max-height:220px}.edit-card-preview{max-width:100%;height:160px;object-fit:contain}.financial-reflection{max-width:680px;margin:40px auto 10px;font:italic 15px/1.8 Georgia,serif;text-align:center;color:#7d8772}.mobile-menu-toggle{display:none}.bar-chart{padding-top:14px;overflow:visible}.chart-columns{perspective:800px}.chart-columns i{position:relative;box-shadow:5px 3px 0 #20382c26,inset -5px 0 0 #00000012,inset 2px 0 0 #ffffff20;transition:filter .2s,opacity .2s,transform .2s;border-radius:5px 5px 0 0}.chart-month:hover .chart-columns i,.chart-month:focus-visible .chart-columns i,.chart-selected .chart-columns i{filter:brightness(1.18);transform:translateY(-3px);box-shadow:6px 6px 0 #20382c28,inset -5px 0 0 #00000015}.chart-columns i.series-hidden{opacity:0!important;pointer-events:none}.chart-key button{display:flex;align-items:center;gap:7px;background:transparent;color:#55674f;font-size:11px;padding:7px 10px;border:1px solid #dae1d2;border-radius:30px}.chart-key button[aria-pressed=false]{opacity:.45;text-decoration:line-through}.chart-key i{width:9px;height:9px;display:inline-block;border-radius:3px}.chart-live-detail{min-height:36px;font-size:12px;text-align:center;color:#6a775f;margin:16px 0 0}.spending-donut.donut-depth{box-shadow:0 9px 0 #60704e55,0 18px 25px #23392718,inset 0 2px 4px #ffffff66;transform:rotateX(14deg);transition:transform .25s,box-shadow .25s}.donut-depth:hover{transform:rotateX(6deg) translateY(-3px);box-shadow:0 12px 0 #60704e55,0 22px 30px #23392720}.donut-depth>span{box-shadow:inset 0 5px 9px #23392712}.donut-depth small{max-width:115px;overflow-wrap:anywhere}.category-chart-list button{transition:background .2s,transform .2s}.category-chart-list button:hover,.category-chart-list button:focus-visible,.category-chart-list button.category-highlight{background:#edf1e5;transform:translateX(3px);border-radius:9px}.income-portrait:focus-visible{outline:3px solid #a8bb7b!important;outline-offset:4px}.upgrade-feature-notice{padding:16px 20px;border:1px solid #d6ddc8;background:#edf2e4;color:#365036;border-radius:12px;font-size:14px;line-height:1.6;margin:0 0 24px}
@media(max-width:700px){.shell{display:block}aside{position:relative!important;padding:18px 20px!important;display:flex!important;flex-direction:column!important;gap:15px!important;border-radius:0 0 22px 22px;box-shadow:0 10px 25px #213c2410}aside .brand{max-width:calc(100% - 15px)}.mobile-menu-toggle{display:flex!important;justify-content:space-between;align-items:center;width:100%;padding:12px 15px!important;border:1px solid #ffffff25!important;background:#ffffff0c!important;border-radius:12px;color:#e3eadc;font-size:12px}.mobile-menu-toggle span:last-child{font-size:17px}aside nav{display:none!important;overflow:visible!important;white-space:normal!important;max-height:none!important}aside.mobile-menu-open nav{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;width:100%}aside nav button{display:flex!important;align-items:center;text-align:left;min-height:48px!important;width:100%!important;padding:12px!important;border-radius:12px!important;font-size:12px!important;background:#ffffff08;border:1px solid #ffffff0d;white-space:normal!important}aside nav button.active{background:#e6d9b9!important;color:#283f31!important;border-color:#e6d9b9}aside .aside-bottom{display:none!important}aside.mobile-menu-open .aside-bottom{display:flex!important;justify-content:space-between;align-items:center;padding-top:12px!important;border-top:1px solid #ffffff18}aside .aside-bottom .sidebar-signout,aside .aside-bottom .faq-bottom{padding:8px!important;margin:0!important;width:auto!important;font-size:12px!important}main{padding:24px 20px!important}.top{align-items:start}.top h1{font-size:25px}.chart-key{flex-wrap:wrap}.chart-key>.small{flex-basis:100%}.bar-chart{gap:5px}.chart-value{font-size:9px}.chart-month{padding:0 2px}.income-person-identity{gap:10px}.person-income-heading{gap:12px}.financial-reflection{padding:0 12px;font-size:14px}main>.top{display:flex;flex-direction:column;gap:16px;align-items:stretch}.top .header-tools{width:100%;justify-content:space-between;align-items:center}.top .date-controls{max-width:none!important;min-width:0;flex:1}.top .date-controls time{font-size:10px}.top .report-label{width:auto;max-width:100%;justify-content:flex-end}.top .report-period{width:auto;max-width:100%;display:flex;justify-content:flex-end}.top .report-period select{max-width:155px;min-width:0;flex:1}.top .report-period input{flex:0 0 80px!important;width:80px!important;min-width:80px!important;max-width:80px!important;padding-left:8px!important;padding-right:5px!important}.top h1{margin-bottom:0}.reporting-card>.row{flex-wrap:wrap;gap:16px}.chart-controls{max-width:100%;flex-wrap:wrap}.chart-controls select{min-width:0;max-width:100%}.dashboard-grid>*{min-width:0}.page-intro{max-width:100%}.income-sources .row{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.chart-columns i,.spending-donut.donut-depth,.category-chart-list button{transition:none!important;transform:none!important}}
.card-design-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;max-height:380px;overflow:auto;padding:6px}.card-design-choice{display:grid;gap:9px;align-content:start;background:#f2f4eb;color:#30422f;padding:12px;border:1px solid #dfe4d4;font-size:10px;text-align:center}.card-design-choice img{width:100%;height:95px;object-fit:contain}.card-design-choice:hover{border-color:#9ba77d;background:#e9eedc}.official-card-image[hidden]{display:none!important}
.feature-plan-tag{display:inline-block;margin-left:7px;padding:3px 6px;border-radius:5px;background:#e9ecdd;color:#687251;font:600 9px system-ui;letter-spacing:.3px}.feature-locked .feature-plan-tag{background:#efe6d2;color:#887246}.current-plan-note{margin:4px 0 14px;line-height:1.6}.paid-receipt-action[aria-busy=true]{opacity:.65;cursor:progress}
.transaction-brand-tools{display:flex;align-items:center;gap:12px;grid-column:1/-1;padding:0 0 8px}.transaction-brand-tools .ghost{font-size:11px;padding:8px 12px}.transaction-brand-preview{display:inline-flex;align-items:center}.card-design-choice small{font:9px system-ui;color:#7b8471}.transaction-brand-tools .merchant-icon{height:38px}#transactionBrandDialog{max-width:650px;width:calc(100% - 32px)}#transactionBrandDialog h2{font-size:26px}#transactionBrandDialog .row{gap:14px;flex-wrap:wrap}#transactionBrandDialog details summary{cursor:pointer;padding:10px 0}
.brand-search-result{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.brand-search-result img{object-fit:contain;flex:none}
.spatial-chart{margin:14px 0 18px}.spatial-stage{position:relative;width:100%;border-radius:16px;overflow:hidden;background:radial-gradient(ellipse at 50% 60%,#f1f3e8 0,#fffefa00 72%)}.spatial-stage canvas{display:block;touch-action:none;cursor:grab;max-width:100%;border-radius:16px}.spatial-stage canvas:active{cursor:grabbing}.spatial-stage canvas:focus-visible{outline:2px solid #b6a071;outline-offset:-3px}.spatial-instruction{font-size:10px;text-align:center;color:#8b917e;margin:6px 0}.spatial-tooltip{position:absolute;pointer-events:none;background:#233d32ed;color:#fffdf4;padding:11px 14px;border-radius:10px;box-shadow:0 8px 25px #253c3426;max-width:185px;z-index:2;font-size:11px;display:grid;gap:5px}.spatial-tooltip[hidden]{display:none}.spatial-tooltip b{font-weight:600}.spatial-tooltip span{opacity:.85}.spatial-controls{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:12px 0}.spatial-controls button{padding:8px 12px;min-width:35px;background:#f1f3e9;border:1px solid #e0e4d6;border-radius:9px;color:#66745b;font-size:11px}.spatial-controls button:hover{background:#e5ebd8}.spatial-info{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e1e5d6;border-radius:11px;background:#f8faf2;padding:15px;min-height:76px;font-size:11px;color:#78836e}.spatial-info>div{display:grid;gap:7px}.spatial-info b{font-size:13px;color:#39523c}.spatial-info>button{flex:none}.spatial-data-list{margin:12px 0;color:#7d8773;font-size:11px}.spatial-data-list>summary{cursor:pointer;padding:10px 0}.spatial-data-list .bar-chart{margin-top:12px}.spatial-chart+.category-chart-list{max-height:320px;overflow:auto}.spatial-chart .small{margin:0}.spatial-chart .text-link{white-space:normal}@media(max-width:700px){.spatial-controls button{min-width:43px;min-height:43px}.spatial-info{flex-direction:column;align-items:start;font-size:10px;padding:13px}.spatial-tooltip{font-size:10px}.spatial-stage{border-radius:12px}}
.issuer-match-list{display:grid;gap:14px;margin:22px 0}.issuer-match-row{display:grid;grid-template-columns:1fr 90px;gap:12px;align-items:center;padding:18px;border:1px solid #e2e6d8;border-radius:12px;background:#fbfcf7}.issuer-match-row>div{display:grid;gap:7px}.issuer-match-row small{font-size:10px;color:#849076}.issuer-match-row img{width:90px;height:60px;object-fit:contain}.issuer-match-row select{grid-column:1/-1;max-width:100%}.issuer-match-row .text-link{text-align:right}.wallet-heading{flex-wrap:wrap}
.bank-account-art{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:linear-gradient(145deg,#f9f8f3,#eceee5);border:1px solid var(--line);border-radius:16px;padding:24px;text-align:center}.bank-account-art img{width:76px;height:76px;object-fit:contain;border-radius:12px}.bank-account-art span{font-weight:600}.bank-account-art small{color:var(--muted)}
.monthly-checkin{margin-top:28px;border-top:1px solid var(--warm-line);padding-top:26px;display:grid;gap:22px}.checkin-heading h3{font-family:Georgia,serif;font-size:26px;font-weight:500;margin:8px 0}.checkin-heading p{margin:0}.checkin-block{border-top:1px solid var(--line);padding-top:20px}.checkin-block h4,.checkin-income h4{font-size:15px;margin:0}.checkin-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.checkin-item>div{display:grid;gap:5px}.checkin-item strong{text-align:right;white-space:nowrap;font-size:19px}.checkin-item strong small{display:block;font-weight:400;font-size:11px;color:var(--muted);margin-top:4px}.checkin-empty{font-size:13px;color:var(--muted);line-height:1.6;padding:14px 16px;background:#f5f5ee;border-radius:12px}.checkin-budget{padding:12px 0}.checkin-budget .row{font-size:13px;gap:12px}.checkin-budget .bar{margin:10px 0 6px;height:6px}.checkin-income{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:18px;background:#edf1e6;border-radius:14px}.checkin-income p{margin:7px 0 0}.checkin-income .ghost{white-space:nowrap;font-size:12px;padding:10px 13px}.monthly-checkin .row{flex-wrap:wrap}.monthly-checkin .text-link{font-size:12px}@media(max-width:600px){.checkin-income{align-items:start;flex-direction:column}.checkin-item strong{font-size:17px}}.dashboard-grid{align-items:start}
.income-company-name{display:inline-flex;align-items:center;gap:10px;min-width:0}.income-company-name>span:last-child{overflow-wrap:anywhere}.income-company-mark{display:inline-flex;gap:4px;flex-shrink:0;background:transparent;border:0;padding:0;border-radius:10px;box-shadow:none;align-items:center;cursor:pointer}.income-company-mark .merchant-icon,.income-company-initial{width:34px!important;height:34px!important;min-width:34px;border:1px solid #e8e8dd;border-radius:10px;background:#fafaf5;display:inline-flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.income-company-mark .merchant-icon img{width:26px!important;height:26px!important;object-fit:contain}.income-company-mark .merchant-icon-wide{width:42px!important}.income-company-mark .merchant-icon svg{width:18px;height:18px;opacity:.3}.income-company-initial{font:500 17px Georgia,serif;color:#78866c}.income-company-mark:hover{transform:translateY(-1px)}.income-company-mark:focus-visible{outline:2px solid #b59a68;outline-offset:4px}.income-logo-result{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.income-logo-result img{width:34px;height:34px;object-fit:contain;border-radius:8px}.income-logo-result>span{flex:1;min-width:0}.income-logo-result small{display:block;color:var(--muted);margin-top:4px}.income-logo-result button{flex-shrink:0}
/* Paired overview panels share a common frame and responsive rhythm. */
.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:20px}.dashboard-spending,.dashboard-checkin{padding:26px!important;border-radius:20px;display:flex;flex-direction:column;min-width:0}.dashboard-spending> .row,.dashboard-checkin> .row{min-height:42px;align-items:center;gap:12px;margin-bottom:14px}.dashboard-spending> .row h2,.dashboard-checkin> .row h2{font-size:26px;line-height:1.2;margin:0}.dashboard-checkin .subscription-mini{padding:20px 0 8px}.dashboard-checkin .quiet-divider{margin:22px 0}.dashboard-checkin .monthly-checkin{margin-top:24px;padding-top:24px}.dashboard-checkin .checkin-income{margin-top:auto}.dashboard-spending .category-chart-list{margin-top:18px}.income-logo-tools{margin:14px 0}.income-logo-tools .merchant-icon{width:34px;height:34px;border-radius:10px}@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.dashboard-spending,.dashboard-checkin{padding:22px!important}}@media(max-width:600px){.dashboard-spending,.dashboard-checkin{padding:18px!important}.dashboard-spending> .row h2,.dashboard-checkin> .row h2{font-size:24px}}

/* Discreet privacy notes across the journal and application footer. */
.privacy-note{font-size:12px;line-height:1.65;color:var(--muted);margin:16px 0 0;max-width:88ch;overflow-wrap:anywhere}.privacy-note strong{font-weight:600;color:var(--ink)}footer .privacy-note{margin:10px auto 0;text-align:center}footer [data-footer-status]{font-size:12px}

/* The footer shares the page grid, with a quiet reflection and clear utility row. */
main>footer.ledger-footer{opacity:1;max-width:none;width:100%;margin:28px 0 0;padding:0 0 12px;letter-spacing:normal;color:var(--muted)}
.ledger-footer [data-footer-reflection]{max-width:680px;margin:0 auto 16px;padding:0 8px;font:italic 15px/1.6 Georgia,serif;text-align:center;color:var(--muted)}
.ledger-footer-base{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 16px;border-top:1px solid var(--line);padding-top:8px;text-align:left}
.ledger-footer [data-footer-status]{font-size:12px;line-height:1.6;font-weight:500;padding-top:6px}
.footer-links{display:flex;flex-wrap:wrap;align-items:start;gap:0 14px}
.footer-links button,.footer-privacy summary{background:none;border:0;border-radius:2px;box-shadow:none;padding:10px 0;min-height:40px;color:var(--ink);line-height:1.5;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer}
.footer-links button,.footer-privacy summary{text-decoration:underline;text-underline-offset:3px}
.footer-links button:hover,.footer-privacy summary:hover{text-decoration-thickness:2px;filter:none}
.footer-links button:focus-visible,.footer-privacy summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.footer-links [data-privacy-slot]:has(details[open]){flex-basis:100%}
.footer-privacy summary{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;box-sizing:border-box;list-style:none}
.footer-privacy summary::-webkit-details-marker{display:none}
.footer-privacy summary::after{content:"";flex:none;width:6px;height:6px;margin-inline-end:2px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.footer-privacy[open] summary::after{transform:rotate(225deg)}
.ledger-footer .privacy-note{margin:0;text-align:left;max-width:66ch}
.footer-policy-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:8px;font-size:12px}

/* Flip controls are explicit; card surfaces and balance details remain stable. */
.wallet-face{cursor:default}
.wallet-front{pointer-events:auto}.wallet-back{pointer-events:none}.wallet-card.flipped .wallet-front{pointer-events:none}.wallet-card.flipped .wallet-back{pointer-events:auto}

.bank-card-status{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}.bank-card-status details{margin-top:7px}.bank-card-status details .row{padding:8px 0;gap:12px}.bank-refresh-time{font-size:11px;line-height:1.5;margin:8px 0 0}

/* Consistent artwork geometry and a single account-management action group. */
.wallet-heading .wallet-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.wallet-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px}
.wallet-display-row{grid-column:1/-1;display:flex;justify-content:flex-start}
.wallet-art-slot{position:relative;width:100%;aspect-ratio:1.586;flex-shrink:0;margin:18px 0 0;overflow:hidden;border-radius:13px;background:var(--surface,var(--panel))}
.wallet-art-slot[hidden],.wallet-art-slot>[hidden]{display:none}
.wallet-art-slot>.actual-card,.wallet-art-slot>.card-art{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0!important;box-sizing:border-box}
.wallet-art-slot>.actual-card{object-fit:contain!important;object-position:center}
.debt-card-art .wallet-art-slot>.actual-card,.debt-card-art .wallet-art-slot>.card-art{height:100%;margin:0!important}
.wallet-back{justify-content:flex-start}
.wallet-back .wallet-bottom{margin-top:auto;padding-top:18px}
@media(max-width:700px){.wallet-tools{grid-template-columns:minmax(0,1fr)}.wallet-heading .wallet-actions{width:100%;justify-content:flex-start}.wallet-heading .wallet-actions button{font-size:11px}.wallet-tools .toolbar{width:100%}}

/* Compact application rhythm: content-sized controls, restrained spacing. */
.wallet-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px 14px;margin:14px 0 18px}
.wallet-tools>.segmented,.wallet-display-row>.segmented{width:max-content;max-width:100%;flex:0 1 auto;justify-content:flex-start;flex-wrap:wrap}
.wallet-tools>.toolbar{width:auto;display:flex;flex-wrap:wrap;gap:8px;margin:0}
.wallet-tools select{width:auto;max-width:240px;min-height:38px;padding:8px 11px}
.wallet-display-row{flex:0 0 100%;width:100%;padding:0;margin:0}
.segmented button{padding:8px 13px;min-height:38px}
.wallet-heading{margin:20px 0 14px;gap:12px}.wallet-heading h2{margin:5px 0;font-size:27px}
#content .section{margin-top:18px}#content>.section:first-child{margin-top:0}
#content>.card,#content>.section.card{padding:20px}
.wallet-grid,.debt-wallet-grid{gap:16px}
.wallet-face{padding:20px}.debt-wallet-grid .debt-card{padding:20px}
.bank-card-status{margin-top:12px;padding-top:10px}
.page-intro{margin-bottom:18px}.wallet-heading .wallet-actions{gap:8px}
@media(max-width:700px){.wallet-tools{gap:9px;margin:12px 0 16px}.wallet-tools>.toolbar{width:100%;display:flex}.wallet-tools select{max-width:100%;flex:1 1 150px}.wallet-tools>.segmented{width:max-content}.segmented button{min-height:42px;padding:8px 12px}.wallet-heading h2{font-size:24px}.wallet-face{padding:18px}#content>.card,#content>.section.card{padding:18px}}

#content .segmented{width:fit-content;max-width:100%;justify-content:flex-start;flex-wrap:wrap}
@media(max-width:700px){.segmented button{min-height:44px}}

/* Keep workspace actions together on wide and narrow screens. */
.compact-connection .connection-actions{gap:6px;justify-content:flex-start;flex-wrap:wrap}.compact-connection .connection-actions>button{padding:8px}

/* Compact feature navigation; additional tools share the same content space. */
.feature-tabs{display:flex;gap:6px;overflow-x:auto;max-width:100%;padding:6px;margin:8px 0 24px;background:#eeeee4;border:1px solid #dedfd1;border-radius:18px;scrollbar-width:thin}.feature-tabs button{flex:0 0 auto;border:0;background:transparent;color:#66725e;padding:12px 18px;border-radius:12px;white-space:nowrap;font-size:14px;font-weight:600}.feature-tabs button[aria-selected="true"]{background:#fffef9;color:#294f3d;box-shadow:0 2px 7px #293f3410}.feature-tabs button:focus-visible{outline:2px solid #ae914e;outline-offset:-2px}#planning-panel,#debt-tool-panel{min-width:0}#planning-panel>.card:first-child,#debt-tool-panel>.card:first-child{margin-top:0}@media(max-width:600px){.feature-tabs{border-radius:14px;margin-bottom:18px}.feature-tabs button{padding:12px 14px;font-size:13px}}

.feature-tabs{flex-wrap:nowrap}.feature-tabs button{flex:1 1 0;min-width:0;text-align:center}@media(max-width:600px){.feature-tabs{gap:2px;padding:4px}.feature-tabs button{padding:12px 2px;font-size:11px;letter-spacing:0}}

.debt-feature-tabs button{flex:1 0 auto;min-width:90px;padding-left:14px;padding-right:14px}
/* A quiet mobile workspace strip, below the report controls. */
@media(max-width:800px){
 #ledgerConnection.compact-connection{display:flex!important;flex-direction:column;align-items:center;gap:10px;padding:10px 0 14px!important;margin:0 0 18px;border-bottom:1px solid #30473816}
 .compact-connection .connection-primary{justify-content:center;align-items:center;gap:8px;width:100%;text-align:center}
 .compact-connection .connection-primary>span:last-child{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;max-width:calc(100% - 24px)}
 .compact-connection .connection-primary b{display:block;font-family:inherit;font-size:14px;font-weight:500;line-height:1.45;letter-spacing:.015em;color:#65705e;max-width:none;width:auto;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
 .compact-connection .connection-primary small{font-size:10px;font-weight:400;text-transform:none;letter-spacing:.025em;color:#8a907f;line-height:1.4;border:0;padding:0}
 .compact-connection .connection-dot{width:5px;height:5px;flex:0 0 5px;margin:0;box-shadow:none;opacity:.7}
 .compact-connection .connection-actions{justify-content:center;gap:3px 10px;width:100%}
 .compact-connection .connection-actions>button{font-size:11px;font-weight:500;padding:7px 2px;letter-spacing:.015em}
}

.bill-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:20px 0}.calendar-weekday{text-align:center;font-size:10px;color:#7c8472;padding:7px 0}.calendar-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:66px;padding:8px 2px;background:#fafaf3;color:#344b3b;border:1px solid #e3e5d8;border-radius:9px}.calendar-day b{font-size:13px;font-weight:500}.calendar-day span{font-size:10px;color:#788269}.calendar-day.is-today{border-color:#a6986c;background:#f1efe2}.calendar-day:focus-visible{outline:2px solid #947f45;outline-offset:2px}@media(max-width:600px){.bill-calendar{gap:3px}.calendar-day{min-height:54px}}

.planning-assistant-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-8px 0 20px;padding:0 5px;flex-wrap:wrap}.planning-assistant-row .text-link{font-size:12px}

.planning-more{margin:0 0 20px;font-size:12px;color:#6e7966}.planning-more summary{cursor:pointer;display:inline-block;padding:8px 0}.planning-more .toolbar{padding:10px 0}.cash-flow-chart{display:block;width:100%;max-height:240px;margin:20px 0}.metric-grid>div>b{display:block;margin-top:8px;font-size:22px;font-weight:500}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px;margin:22px 0}

.card-carry-summary{border-top:1px solid #dfe3d6;margin-top:18px;padding:16px 0 5px}.card-carry-summary>.row>b{font-size:12px;font-weight:500}.card-carry-summary .debt-breakdown{margin:12px 0}.card-carry-summary .text-link{font-size:11px}.card-carry-summary details{margin:10px 0}

.investment-tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--line,#dedfd5);padding:8px 0}.investment-tabs button{flex:1;white-space:nowrap;padding:10px 8px;font-size:13px}.investment-tabs [aria-selected="true"]{font-weight:600}
/* Quiet hierarchy: compact summaries, useful density, progressive disclosure. */
#content .calm-fold{display:block;min-height:0;height:auto;padding:0;overflow:visible;box-shadow:none;align-self:start}
.calm-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;list-style:none;cursor:pointer;color:var(--ink,#2d3930);border-radius:inherit;min-height:64px}
.calm-fold>summary::-webkit-details-marker{display:none}
.calm-fold>summary>span:first-child{min-width:0;display:block}
.calm-fold-title{display:block;font-size:17px;font-weight:500;line-height:1.4;letter-spacing:-.015em}
.calm-fold-meta{display:block;font-size:12px;line-height:1.6;color:#79816f;margin-top:3px;font-weight:400}
.calm-chevron{font-size:20px;line-height:1;color:#7e8978;transition:transform .16s ease;flex:0 0 auto}
.calm-fold[open]>.calm-fold-body{border-top:1px solid #e6e7dd;padding:20px 24px 24px}
.calm-fold[open]>summary>.calm-chevron{transform:rotate(180deg)}
.calm-fold>summary:focus-visible{outline:2px solid #9d895b;outline-offset:3px}
.calm-fold-body>.row:empty{display:none}.calm-fold-body>.row{margin-bottom:14px}
.calm-fold-body>.section:first-child{margin-top:0}
#content .dashboard-grid{align-items:start;gap:16px}
#content .dashboard-checkin,#content .dashboard-spending{min-height:0;align-self:start}
#content [data-health-check]{padding:16px 22px;margin:14px 0;box-shadow:none}
#content [data-health-check] h3{font-size:17px;margin:0;font-weight:500}
#content [data-health-check] p{margin:4px 0 0;font-size:12px;line-height:1.5}
#content [data-health-check] button{padding:9px 14px;font-size:12px;white-space:nowrap}
#content .planning-more{margin:0 0 14px}
#content .planning-assistant-row{margin:0 0 14px;padding:0;gap:10px}
#content .empty{min-height:0;padding:22px 20px;font-size:14px;line-height:1.6}
#content .section{margin-top:18px}
#content .page-intro{margin-bottom:22px}
#content .card:has(>.calm-fold){min-height:0}
@media(max-width:700px){.calm-fold>summary{padding:17px 18px;gap:12px;min-height:60px}.calm-fold-title{font-size:16px}.calm-fold-meta{font-size:12px}.calm-fold[open]>.calm-fold-body{padding:17px 18px 20px}#content .dashboard-grid{display:flex;flex-direction:column;gap:16px}#content .dashboard-grid>*{width:100%;box-sizing:border-box}#content [data-health-check]{padding:15px 18px}#content [data-health-check] .row{gap:12px;align-items:center}#content .empty{padding:18px}#content .feature-tabs{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.calm-chevron{transition:none}}
#content .dashboard-grid{grid-template-columns:minmax(0,1fr)}
#content [data-health-check] .row{justify-content:flex-start;gap:20px}
#content .toolbar{gap:10px}
/* Keep paired overview panels on desktop; restore full-width panels on phones. */
#content .dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
@media(min-width:1001px){#content .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
#content .dashboard-grid>.dashboard-spending,#content .dashboard-grid>.dashboard-checkin{width:auto;min-width:0}
.planning-budget h2{margin:0}.budget-method-tabs{max-width:380px;margin:20px 0}
.zero-budget-summary{display:flex;gap:28px;align-items:end;flex-wrap:wrap;margin:18px 0}
.zero-budget-summary label{max-width:240px;margin:0}.zero-budget-summary b{display:block;font-size:24px;font-weight:500}
.planning-budget-totals{display:flex;gap:24px;flex-wrap:wrap;padding:16px 0;margin:10px 0;border-top:1px solid #e3e5da;border-bottom:1px solid #e3e5da;font-size:12px;color:#7a826f}
.planning-budget-totals b{color:#304234;margin-left:5px;font-size:15px;font-weight:500}
.planning-budget .category-allocation{max-width:135px;min-width:90px;padding:9px 10px;margin:0}
@media(max-width:700px){#content .dashboard-grid{gap:12px}#content .dashboard-grid>.card{padding:16px 12px}#content .dashboard-grid h2{font-size:19px}#content .dashboard-grid .row{flex-wrap:wrap;gap:8px}#content .dashboard-grid button{max-width:100%;font-size:12px;padding:8px 10px}#content .dashboard-grid .spending-donut{width:100%;max-width:190px;margin:16px auto}#content .dashboard-grid .spending-donut strong{font-size:18px}#content .dashboard-grid .category-chart-list button{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%;gap:4px}#content .dashboard-grid .number{font-size:24px}#content .dashboard-grid .monthly-checkin{padding:12px 0}#content .dashboard-grid .stats{display:block}#content .dashboard-grid .stats>div{margin:10px 0}.planning-budget-totals{gap:14px}.zero-budget-summary{gap:16px}}
/* Income: one headline, three figures, detail on demand. */
.income-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:4px 0 20px;flex-wrap:wrap}
.income-toolbar .income-tabs{margin:0;max-width:430px;flex:1;min-width:260px}
.income-toolbar>button{padding:12px 18px;white-space:nowrap}
#content .income-summary{padding:22px 26px;box-shadow:none;background:#fafaf4}
.income-summary-top{display:flex;justify-content:space-between;align-items:center;gap:16px}
.income-key-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}
.income-key-figures .stat-label{display:block;margin-bottom:8px;font-size:12px;font-weight:400;letter-spacing:.03em;text-transform:none}
.income-key-figures strong{font-family:inherit;display:block;font-size:30px;font-weight:500;line-height:1.25;letter-spacing:-.03em}
.income-key-figures>div+div{border-left:1px solid #e3e5da;padding-left:24px}
.income-summary .bar{height:5px;margin:0}.income-pending{margin:12px 0 0}
#content .income-credit-details{padding:0;box-shadow:none;background:transparent}
.income-credit-details>summary{padding:17px 22px;font-size:14px;cursor:pointer}
.income-credit-lines{padding:0 22px 16px}.income-credit-lines>p{display:flex;justify-content:space-between;gap:16px;font-size:13px;margin:12px 0}.income-credit-lines>p.small{display:block;margin-top:18px}
.income-plan-tab .income-sources{margin-top:0}
.income-plan-tab .income-sources>.row .eyebrow{display:none}
.income-plan-tab .income-sources>.row h2{font-size:23px;line-height:1.3;margin:0}
.income-plan-tab .income-sources>.small{font-size:12px;margin:12px 0 20px}
.income-plan-tab .person-income-heading{margin:20px 0 12px;padding-top:16px}
.income-plan-tab .person-income-heading .eyebrow{display:none}
.income-plan-tab .income-job{padding:20px;box-shadow:none}
.income-account-summary h3{font-size:18px;margin-top:0}
@media(max-width:700px){.income-toolbar{gap:12px;margin-bottom:16px}.income-toolbar .income-tabs{min-width:100%;max-width:none}.income-toolbar>button{padding:10px 15px;margin-left:auto}#content .income-summary{padding:18px}.income-key-figures{gap:12px;margin:20px 0}.income-key-figures strong{font-size:20px;overflow-wrap:anywhere}.income-key-figures>div+div{padding-left:12px}.income-summary-top .small,.income-summary-top .text-link{font-size:11px}.income-summary-top{gap:10px}.income-plan-tab .income-sources>.row{align-items:flex-start;gap:12px;flex-wrap:wrap}.income-plan-tab .income-sources>.row .toolbar{gap:8px}.income-plan-tab .income-sources>.row button{font-size:12px;padding:10px 12px}.income-credit-details>summary{padding:16px 18px}}
/* Paired overview cards share a baseline; content keeps its natural spacing. */
#content .dashboard-grid{align-items:start}
#content .dashboard-grid>.dashboard-spending,#content .dashboard-grid>.dashboard-checkin{align-self:start;height:auto;box-sizing:border-box}
#bankReviewAccountHelp,#bankReviewError{white-space:pre-line;line-height:1.65}
#bankReviewError:not(:empty){padding:14px 16px;background:#f6f0e7;border-left:3px solid #b28a54;border-radius:6px;color:#66523c}
.starter-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:20px 0}.starter-category-grid label{font-size:14px;margin:0;padding:10px 0}.starter-category-grid input,.category-review-row input{width:auto;margin-right:8px}.category-review-row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #e4e6dc;font-size:14px}.category-review-row .small{font-size:12px}

/* Restore the original readable phone panel sizes after desktop overrides. */
@media(max-width:700px){#content .dashboard-grid{grid-template-columns:minmax(0,1fr);gap:16px}#content .dashboard-grid>.dashboard-spending,#content .dashboard-grid>.dashboard-checkin{width:100%;padding:18px!important;min-height:0}#content .dashboard-grid h2{font-size:24px}#content .dashboard-grid .stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#content .dashboard-grid .stats>div{min-width:0;margin:0}}

/* Mobile website: health check is the fourth overview tile. Desktop stays unchanged. */
.overview-summary{display:contents}
@media(max-width:700px){
 #content .overview-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0;align-items:stretch}
 #content .overview-summary>.metric-grid{display:contents}
 #content .overview-summary>.metric-grid>.card{min-width:0;min-height:0;margin:0;padding:18px 16px}
 #content .overview-summary>.metric-grid .number{font-size:clamp(18px,6vw,28px);line-height:1.2;letter-spacing:-.045em;overflow-wrap:anywhere}
 #content .overview-summary>.metric-grid>.card:nth-child(1){order:1}
 #content .overview-summary>.metric-grid>.card:nth-child(2){order:2}
 #content .overview-summary>.metric-grid>.card:nth-child(3){order:3}
 #content .overview-summary>[data-health-check]{order:4;min-width:0;margin:0;padding:18px 16px;display:flex;align-items:stretch}
 #content .overview-summary>[data-health-check]>.row{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:12px;width:100%}
 #content .overview-summary>[data-health-check] h3{font-size:16px;line-height:1.3}
 #content .overview-summary>[data-health-check] p{font-size:11px;line-height:1.5;margin:6px 0 0}
 #content .overview-summary>[data-health-check] button{width:100%;min-height:44px;padding:8px;font-size:12px;white-space:normal}
}

/* Overview preview only: the journal retains every transaction column. */
@media(max-width:1000px){
 #content .latest-entries .tablewrap{overflow:visible;max-width:100%}
 #content .latest-entries table{width:100%;min-width:0;table-layout:fixed}
 #content .latest-entries :is(th,td):not(:nth-child(2)):not(:nth-child(7)){display:none}
 #content .latest-entries :is(th,td):nth-child(2){width:auto;white-space:normal;padding-left:0;padding-right:12px}
 #content .latest-entries :is(th,td):nth-child(7){width:106px;text-align:right;white-space:nowrap;padding-left:4px;padding-right:0}
 #content .latest-entries .merchant-description{min-width:0;gap:10px}
 #content .latest-entries .merchant-description>span{min-width:0;overflow-wrap:anywhere}
 #content .latest-entries .merchant-description .small{display:none}
 #content .latest-entries .merchant-description b{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
 #content .latest-entries .merchant-icon{flex-shrink:0}
 #content .latest-entries td{padding-top:14px;padding-bottom:14px}
}

/* Reflow with the available card width, including Duo and iPad Split View. */
.latest-entries{container-name:latest-entries;container-type:inline-size}
@container latest-entries (max-width:880px){
 #content .latest-entries .tablewrap{overflow:visible;max-width:100%}
 #content .latest-entries table{width:100%;min-width:0;table-layout:fixed}
 #content .latest-entries :is(th,td):not(:nth-child(2)):not(:nth-child(7)){display:none}
 #content .latest-entries :is(th,td):nth-child(2){width:auto;white-space:normal;padding-left:0;padding-right:12px}
 #content .latest-entries :is(th,td):nth-child(7){width:106px;text-align:right;white-space:nowrap;padding-left:4px;padding-right:0}
 #content .latest-entries .merchant-description{min-width:0;gap:10px}
 #content .latest-entries .merchant-description>span{min-width:0;overflow-wrap:anywhere}
 #content .latest-entries .merchant-description .small{display:none}
 #content .latest-entries .merchant-description b{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
 #content .latest-entries .merchant-icon{flex-shrink:0}
 #content .latest-entries td{padding-top:14px;padding-bottom:14px}
}


/* Keep mobile debt actions together, with one clear primary action. */
@media(max-width:1000px){
 html #content .debt-page-heading{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin:18px 0 14px}
 html #content .debt-page-heading>h2{margin:0;font-size:28px;line-height:1.2;letter-spacing:-.035em}
 html #content .debt-page-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin:0}
 html #content .debt-page-actions>button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;width:100%;padding:11px 12px;border-radius:12px;font-size:13px;font-weight:600;line-height:1.3;white-space:normal;letter-spacing:0}
 html #content .debt-page-actions>.ghost{background:transparent;border:1px solid var(--line);color:var(--ink);box-shadow:none}
 html #content .debt-page-actions>button:not(.ghost){background:var(--green);color:#fffef9;border:1px solid transparent;box-shadow:0 2px 5px #203b3310}
 html #content .debt-page-heading+.debt-feature-tabs{margin-top:0}
}

@media(max-width:1000px){
 html #content .loan-summary-card{padding:22px}
 html #content .loan-summary-metrics{gap:24px;margin:24px 0}
 html #content .loan-summary-metrics>div{min-width:0}
 html #content .loan-summary-metrics .small{display:block;font-size:12px;line-height:1.5;max-width:30ch}
 html #content .loan-summary-metrics .number{font-variant-numeric:tabular-nums;letter-spacing:0;font-size:clamp(26px,5vw,34px);line-height:1.25;margin-top:8px;overflow-wrap:anywhere}
 html #debt-tool-panel .calm-fold-meta{letter-spacing:normal;font-variant-numeric:tabular-nums;line-height:1.5}
}
@media(max-width:600px){
 html #content .loan-summary-metrics{grid-template-columns:minmax(0,1fr);gap:20px}
 html #content .loan-summary-metrics>div+div{border-top:1px solid var(--line);padding-top:18px}
 html #content .loan-summary-card>.row>button{display:none}
 html #content .loan-summary-card>.row h2{font-size:25px;line-height:1.25;margin:6px 0 0}
 html #content .loan-summary-card>p.small{font-size:12px;line-height:1.65}
}

/* Content starts at the top, rather than centering short pages in tall viewports. */
@media(max-width:1366px){
 html .shell>main{align-self:start;margin-top:0!important;margin-bottom:0!important}
}
html #content{container-name:ledger-content;container-type:inline-size}
@container ledger-content (max-width:900px){
 html #content .dashboard-grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px}
 html #content .dashboard-grid>.card{align-self:start;width:100%;min-height:0;height:auto}
}
@media(max-width:700px){
 html .shell>main{padding-top:14px!important}
 html main>.top{margin:0 0 12px;padding:0;gap:8px}
 html main>.top .eyebrow{display:none}
 html main>.top h1{font-size:26px;line-height:1.2;margin:0}
 html main:has(#content .dashboard-intro)>.top>div:first-child,
 html main:has(#content .debt-page-heading)>.top>div:first-child{display:none}
 html .top .header-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
 html #dailyDate{display:none}
 html .top .date-controls{min-width:0;max-width:none;flex:1}
 html .top .report-label{font-size:0;letter-spacing:0;margin:0;gap:0}
 html .top .report-period{gap:6px}
 html .top .report-period select{font-size:16px;min-height:44px;max-width:185px;padding:8px 10px}
 html .top .report-period input{font-size:16px;min-height:44px;width:70px!important;min-width:70px!important;max-width:70px!important;padding:8px!important}
 html #ledgerConnection.compact-connection{margin:0 0 14px!important;padding:6px 0 10px!important;gap:6px}
 html #content .dashboard-intro{padding:0;margin:0 0 14px;gap:10px}
 html #content .dashboard-intro .eyebrow{display:none}
 html #content .dashboard-intro h2{font-size:26px;margin:0;line-height:1.25}
}

/* Phone website workspace: one aligned surface, never loose controls. */
@media(max-width:1000px){
 html main:has(#content .dashboard-intro)>.top>div:first-child,
 html main:has(#content .debt-page-heading)>.top>div:first-child{display:none}
 html main>.top .header-tools{width:100%;justify-content:space-between}
}
@media(max-width:700px){
 html.web-compact-workspace main>.top .header-tools{display:none!important}
 html.web-compact-workspace main>.top:has(>div:first-child[hidden]){display:none}
 html.web-compact-workspace main:has(#content .dashboard-intro)>.top,
 html.web-compact-workspace main:has(#content .debt-page-heading)>.top{display:none}
 html.web-compact-workspace .web-workspace-panel{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:10px 8px;padding:14px;margin:0 0 18px;background:#fffef9;border:1px solid var(--line);border-radius:16px;box-shadow:0 2px 8px #233b3204;min-width:0}
 html.web-compact-workspace #ledgerConnection.compact-connection{grid-column:1;grid-row:1;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;gap:6px!important;background:transparent!important}
 html.web-compact-workspace #ledgerConnection .connection-primary{display:flex!important;justify-content:flex-start!important;text-align:left!important;width:auto!important;min-width:0!important;gap:7px!important}
 html.web-compact-workspace #ledgerConnection .connection-primary>span:last-child{display:block!important;align-items:start!important;width:auto!important;max-width:none!important;min-width:0!important;flex:1}
 html.web-compact-workspace #ledgerConnection .connection-primary b{display:block!important;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important;letter-spacing:0}
 html.web-compact-workspace #ledgerConnection .connection-primary small{display:block;font-size:10px;margin-top:2px;padding:0;border:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html.web-compact-workspace #ledgerConnection .connection-actions{display:flex!important;flex-wrap:nowrap!important;width:auto!important;gap:0!important;justify-content:flex-end!important}
 html.web-compact-workspace #ledgerConnection .connection-actions>button{min-height:44px;padding:8px 6px;font-size:12px;white-space:nowrap}
 html.web-compact-workspace #ledgerConnection .connection-details>summary{min-width:32px;min-height:44px;display:grid;place-items:center;padding:8px 4px}
 html.web-compact-workspace #ledgerConnection .connection-state{font-size:10px;max-width:70px;line-height:1.3}
 html.web-compact-workspace #ledgerConnection .connection-details>div{max-width:calc(100vw - 52px);right:0;z-index:40}
 html.web-compact-workspace .web-workspace-secondary{display:grid;gap:4px;border-top:1px solid var(--line);padding-top:8px;margin-top:6px}
 html.web-compact-workspace .web-workspace-secondary button{text-align:left;min-height:44px}
 html.web-compact-workspace .web-workspace-panel>#notificationBell{grid-column:2;grid-row:1;align-self:center;justify-self:end;margin:0}
 html.web-compact-workspace #notificationBell>summary{width:44px;height:44px;border:0;background:transparent}
 html.web-compact-workspace #notificationBell .bell-dropdown{position:fixed;left:12px;right:12px;top:72px;width:auto;max-width:420px;margin:auto;max-height:min(420px,60svh);z-index:1000}
 html.web-compact-workspace .web-workspace-panel>.report-label{grid-column:1/-1;grid-row:2;display:block;border-top:1px solid var(--line);padding-top:10px;margin:0;font-size:9px;font-weight:600;letter-spacing:.11em;text-align:left}
 html.web-compact-workspace .web-workspace-panel .report-period{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:8px;margin-top:6px;width:100%}
 html.web-compact-workspace .web-workspace-panel .report-period select,
 html.web-compact-workspace .web-workspace-panel .report-period input{width:100%!important;min-width:0!important;max-width:none!important;font-size:16px;min-height:44px;padding:9px 10px;margin:0;letter-spacing:0;border-radius:10px;background:#f7f8f1}
 html.web-compact-workspace .web-workspace-panel .report-period input{min-width:76px!important;max-width:76px!important}
}

/* Overview pair owns one shared row height; stacked cards retain natural height. */
html #content .dashboard-grid{align-items:stretch}
html #content .dashboard-grid>.dashboard-spending,
html #content .dashboard-grid>.dashboard-checkin{align-self:stretch;height:auto;min-height:0}
html #content .dashboard-grid>.dashboard-spending{display:flex;flex-direction:column}
html #content .dashboard-spending>.category-chart-list{margin-top:auto;padding-top:18px}
html #content .dashboard-spending>.spatial-chart{flex:1;display:flex;flex-direction:column;justify-content:center}
@container ledger-content (max-width:900px){
 html #content .dashboard-grid{grid-template-columns:minmax(0,1fr)}
 html #content .dashboard-spending>.spatial-chart{flex:initial}
 html #content .dashboard-spending>.category-chart-list{margin-top:0}
}

/* Shared default brand: compact attribution, with custom names preserved. */
.brand-wordmark{display:block;min-width:0;line-height:1.12}.brand-wordmark small{display:block;font:400 10px/1.4 system-ui,-apple-system,sans-serif;letter-spacing:.03em;margin-top:5px;color:#d8c79f}.brand img{object-fit:contain;flex-shrink:0}.footer-eyebrow small{display:block;font:400 10px/1.5 system-ui;letter-spacing:.03em;margin-top:4px}
@media(max-width:700px){.brand-wordmark small{font-size:9px;margin-top:3px}.brand-home .brand-wordmark{overflow-wrap:normal}.brand-home{min-width:0}}

/* Keep journal actions together and let the group wrap below the title on phones. */
.journal-header{flex-wrap:wrap;gap:12px}
.journal-header h2{margin:0}
.journal-actions{display:flex;flex-wrap:wrap;gap:8px}
.journal-actions button,.journal-import-options button{min-height:44px}
.journal-import-options{display:grid;gap:8px}
.journal-import-options button{text-align:left}

/* Compact journal shares the desktop table's filters and pagination. */
.journal-compact{display:none;list-style:none;margin:12px 0;padding:0}
@media(max-width:700px){
  .tablewrap.journal-desktop{display:none}
  .journal-compact{display:grid}
  .journal-compact li+li{border-top:1px solid var(--line)}
  .journal-compact button.journal-compact-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;width:100%;min-height:58px;padding:12px 4px;border:0;background:transparent;text-align:left;letter-spacing:normal}
  .journal-entry-text{min-width:0;overflow-wrap:anywhere}
  .journal-entry-amount{text-align:right}
  .journal-compact-row small{display:block;color:var(--muted);margin-top:4px;font-weight:400}
}

.household-decision-comment{white-space:pre-line;overflow-wrap:anywhere}

.checking-bank-panel{margin:14px 0 0;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.checking-bank-balance{display:grid;gap:3px;padding:13px 14px;background:color-mix(in srgb,var(--green) 12%,var(--cream));color:var(--ink)}
.checking-bank-balance .stat-label{margin-top:3px}
.checking-bank-balance .small{color:var(--muted)}
@media(hover:none) and (pointer:coarse){
  .checking-bank-balance > button.text-link{justify-self:start;text-align:left}
  .checking-bank-balance > .checking-bank-refresh-status{order:1}
}
.checking-bank-value{font-size:clamp(20px,5vw,27px);line-height:1.2;font-variant-numeric:tabular-nums}
.checking-bank-pending{padding:0 14px}
.checking-bank-pending summary,.checking-bank-pending li{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.checking-bank-pending summary{align-items:center;min-height:44px;cursor:pointer}
.checking-bank-pending summary>span::before{content:'▸';margin-right:.35em}
.checking-bank-pending[open] summary>span::before{content:'▾'}
.checking-bank-pending ul{list-style:none;margin:0;padding:0}
.checking-bank-pending li{padding:8px 0;border-top:1px solid var(--line)}
.checking-bank-pending li small{display:block;color:var(--muted)}
.checking-bank-pending strong{font-variant-numeric:tabular-nums;white-space:nowrap}

/* Keep the default debt cards compact and let each card expand independently. */
.debt-wallet-grid{align-items:start}
.debt-card-art .wallet-art-slot{max-width:220px;margin:12px auto 0}
.debt-card-balance{flex-wrap:wrap}
.debt-card-balance>span:last-child:not(:first-child){flex-basis:100%}
.debt-card .row.section{margin-top:10px}
.debt-card-details{margin:12px 0;border-top:1px solid var(--line)}
.debt-card-details>summary{padding:12px 0 2px;cursor:pointer;font-weight:650}
.debt-card-details .credit-capacity{margin-top:12px;padding-top:10px}
.debt-card .bank-card-status{margin:12px 0 0;padding-top:10px}
.debt-card .bank-refresh-time{margin:4px 0}

.debt-card-name{margin:14px 0 0}
.debt-card-flip{margin-top:12px}
.debt-card-flip>summary{cursor:pointer;color:var(--muted);font-size:12px}
.debt-card-flip:not([open]) .debt-show-balance,.debt-card-flip[open] .debt-show-image{display:none}
.debt-card:has(>.debt-card-flip[open])>.debt-card-front{display:none}
.debt-card-flip .wallet-art-slot{background:transparent}

.debt-wallet-grid>.debt-card{min-width:0;box-sizing:border-box;border:1px solid var(--line);border-radius:18px;background:none;color:inherit}
.debt-bank-note{margin:0 0 16px}
