:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--muted:#526259}
::selection{background:#dce7b7;color:#233f36}input,textarea{caret-color:var(--green)}a{text-underline-offset:3px}
[hidden]{display:none!important}h1{font-size:28px;letter-spacing:-.6px}h2{font-size:19px}h3{font-size:16px}
.eyebrow{display:none}.card{border-radius:14px}.notice{border:0;border-radius:10px}.empty-mark{display:none}
button:hover:not(:disabled){filter:brightness(.96)}button.ghost{min-width:44px}.sidebar nav{display:grid;gap:6px}.sidebar nav button{display:flex;gap:12px;align-items:center}.sidebar .nav-bottom button{width:100%}.desktop-title{font-size:14px;color:var(--muted)}.topbar{padding:24px 0}.header-tools{display:flex;align-items:center;gap:8px}.intro{margin-bottom:18px}.intro p{font-size:14px}.fab{display:flex;align-items:center;gap:7px;border:0}.mobile-nav svg{flex-shrink:0}.page-note{font-size:14px;color:var(--muted);line-height:1.55;max-width:70ch}.recording-state{font-size:14px;line-height:1.5;padding:16px;background:#e9ede3;border-radius:12px;margin-bottom:16px}.recording-state p{margin:5px 0 0;color:#435748;font-size:13px}.primary-actions{display:flex;gap:10px;margin:0 0 26px;flex-wrap:wrap}.primary-actions button{display:flex;align-items:center;justify-content:center;gap:7px}.spending-list{margin:24px 0 28px}.spending-list>h2{margin-bottom:8px}.spending-list .section-title{margin:0 0 8px}.budget-row,.transaction-row,.task-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;background:transparent;color:var(--green);border-radius:0;border-bottom:1px solid var(--line);padding:16px 0;font-weight:400;min-width:0}.budget-row:hover,.transaction-row:hover,.task-row:hover{background:#edf0e7;filter:none!important}.budget-row>span:first-child,.transaction-row>span:first-child,.task-row>span:first-child{min-width:0;flex:1}.budget-row strong,.transaction-row strong,.task-row strong{display:block;font-size:14px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}.budget-row small,.transaction-row small,.task-row small{display:block;margin-top:4px;font-size:12px;line-height:1.5}.row-value{font-size:15px;font-variant-numeric:tabular-nums;text-align:right;max-width:40%;flex-shrink:0}.row-value small{font-size:11px}.list-note{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0}.next-tasks{margin-top:32px}.next-tasks h2{margin-bottom:0}.task-row{padding:18px 0}.budget-group{padding:0;border-top:0;border-bottom:1px solid var(--line)}summary{min-height:44px;padding:10px 0;align-content:center}summary:focus-visible{outline:3px solid #a87728;outline-offset:3px}.budget-group>summary{font-size:15px;padding:18px 0}.budget-group>summary>span{float:right;font-size:12px;font-weight:400;color:var(--muted);margin-top:3px}.budget-group[open]>summary{margin:0}.budget-group .budget-row{padding-left:8px;padding-right:8px}.plan-tools{margin-top:32px}.plan-tools .toolbar{margin-top:18px}.search-line{display:flex;gap:8px;align-items:flex-end}.search-line .field{flex:1;min-width:0;margin:0}.search-line button{min-height:46px}.filter-options{margin:10px 0 0;padding:0;border:0}.filter-options summary{font-size:14px}.filter-chips{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.filter-chips button{font-size:12px;padding:8px 11px;min-height:44px}.activity-list{margin:12px 0 24px}.form-section{margin:26px 0 14px}.check-control{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:400;line-height:1.4;min-height:44px;margin:0 0 16px}.check-control input{flex-shrink:0;margin-right:0}.dialog-head .ghost{min-width:44px}.dialog-body>.footnote:last-child{margin-bottom:0}#purchase-fields,#transfer-fields,#refund-fields,#receipt-fields{margin-bottom:16px}#split-editor{padding-bottom:16px}#split-total{margin:12px 0}.purchase-option{display:block;text-align:left;width:100%;margin:8px 0}.purchase-option small{display:block}.amount-input{font-size:28px;padding:10px 12px}.dialog-body .field{margin-bottom:14px}.dialog-body .inline-fields{gap:12px}.dialog-actions{flex-wrap:wrap}.dialog-actions button{min-width:0}.dialog-body details{padding:5px 0}.dialog-body>details:last-of-type{margin-top:12px}.dialog-body .page-note{font-size:13px}.dialog-body{padding-top:16px}.split-row{margin:12px 0}.dialog-body .notice{margin:12px 0}#content:focus{outline:none}
@media(max-width:760px){.shell{padding:0 18px 165px}.topbar{padding:18px 0 24px}.desktop-title{display:none}.topbar .brand{font-size:21px}.brand-icon{width:30px;height:30px}.topbar select{max-width:139px}.header-tools{gap:2px}.primary-actions{gap:8px}.primary-actions button{font-size:13px;padding:10px 12px}.budget-row,.transaction-row{gap:10px;padding:15px 0}.budget-row strong,.transaction-row strong{font-size:13px}.row-value{font-size:14px;max-width:39%}.spending-list{margin-top:22px}.mobile-nav button{font-size:11px;gap:4px}.budget-group>summary>span{font-size:11px}.dialog-body{padding:16px}.dialog-head{padding:12px 16px}.dialog-head h2{font-size:19px}.dialog-actions{padding:12px 16px max(12px,env(safe-area-inset-bottom))}.dialog-actions button{font-size:13px;padding:10px 12px}.dialog-body .footnote{font-size:11px}dialog{border-radius:16px;width:calc(100% - 16px);max-height:94dvh}.inline-fields .field label{font-size:12px}}
@media(prefers-reduced-motion:no-preference){dialog[open]{animation:task-open 160ms cubic-bezier(.16,1,.3,1)}@keyframes task-open{from{transform:translateY(6px)}to{transform:none}}}
