/* Shared presentation for the existing financial flows. */
body.live-ready{
 --bg:#f3f5f4;--card:#fff;--ink:#142d28;--muted:#687c76;
 --line:#dfe7e3;--green:#236653;--soft:#eaf3ee;
 font-family:'DM Sans',sans-serif;line-height:1.45;
}
body.live-ready.dark{
 --bg:#11231f;--card:#19312a;--ink:#edf5f0;--muted:#a4b9af;
 --line:#345147;--green:#9cdbb6;--soft:#284c3c;
}
body.live-ready *{box-sizing:border-box}
body.live-ready main{min-width:0}
body.live-ready .card{border:1px solid var(--line);box-shadow:0 5px 20px #102b201f;border-radius:22px}
body.live-ready h1{font-weight:750;letter-spacing:-.04em;line-height:1.15;font-size:clamp(27px,3vw,36px)}
body.live-ready h2{font-size:19px;letter-spacing:-.025em;line-height:1.3}
body.live-ready h3{font-size:15px;line-height:1.35}
body.live-ready strong{font-variant-numeric:tabular-nums}
body.live-ready header{margin-bottom:20px;gap:16px}
body.live-ready header>div:first-child{min-width:0}
body.live-ready header .eyebrow{font-size:10px;letter-spacing:.12em}
body.live-ready header #subtitle{font-size:13px;margin-top:6px}
body.live-ready .notice{border:0;background:transparent;padding:0 3px 10px;margin-bottom:15px;font-size:11px}
body.live-ready .notice .live-navlink{font-size:11px}
body.live-ready .btn,body.live-ready .choice,body.live-ready .iconbtn{
 font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s;
}
body.live-ready .btn{font-weight:600;font-size:13px;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:13px;background:var(--card);color:var(--ink)}
body.live-ready .btn.primary{background:#194b3c;border-color:#194b3c;color:#fff}
body.live-ready .btn.danger{color:#a32d3c;background:transparent}
body.live-ready .btn:hover{border-color:var(--green);box-shadow:0 2px 8px #163e2114}
body.live-ready .btn:disabled{opacity:.45;cursor:default;box-shadow:none}
body.live-ready :is(button,a,input,select,summary):focus-visible{outline:3px solid #6fae8a;outline-offset:2px}
body.live-ready .field label{color:var(--muted);font-size:12px;font-weight:600}
body.live-ready :is(input,select,textarea){font-family:inherit;min-width:0;border:1px solid var(--line);border-radius:13px;background:var(--bg);color:var(--ink);min-height:44px}
body.live-ready .choice{display:block;width:100%;text-align:left;padding:15px;margin:7px 0;border:1px solid var(--line);border-radius:15px;background:var(--card);color:var(--ink);text-decoration:none}
body.live-ready .choice>.sub{display:block;margin-top:4px;font-size:12px;line-height:1.4}
body.live-ready .sub{color:var(--muted)}
body.live-ready .heroNote{background:var(--soft);border-radius:15px;padding:13px;font-size:14px;line-height:1.6}
body.live-ready .negative{color:#b23845}
body.live-ready.dark .negative{color:#ffabb4}
body.live-ready #sidenav button{display:flex;gap:12px;align-items:center;border-radius:13px;min-height:46px;font-size:14px}
body.live-ready #sidenav .pf-nav-icon{width:21px;height:21px;flex:none}
body.live-ready #sidenav button>span{font-size:14px}
body.live-ready .pf-movement-top{margin-bottom:12px}
body.live-ready .month-switch{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:4px;max-width:360px;width:100%;padding:4px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
body.live-ready .month-switch .btn{padding:0;border:0;background:transparent}
body.live-ready .month-switch select{width:100%!important;max-width:none!important;background:transparent;border:0;text-align:center}
body.live-ready .pf-segments{gap:4px;padding:4px;background:var(--line);border-radius:15px}
body.live-ready .pf-segments .btn{border:0;box-shadow:none;background:transparent;border-radius:11px}
body.live-ready .pf-segments .btn.primary{background:var(--card);color:var(--ink);box-shadow:0 2px 6px #0000000d}
.pf-movement-search{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px;margin:12px 0}
.pf-movement-search input,.pf-movement-search select{width:100%;padding:10px}
body.live-ready .pf-movement-controls{margin:12px 0 16px;gap:8px;align-items:end}
.pf-movement-more{position:relative;margin-left:auto}
.pf-movement-more>summary{cursor:pointer;list-style:none;padding:11px 14px;border:1px solid var(--line);border-radius:13px;min-height:44px;font-size:13px;font-weight:600;background:var(--card)}
.pf-movement-more>summary::after{content:'⌄';margin-left:8px}
.pf-movement-more[open]>.actions{position:absolute;right:0;top:48px;width:min(330px,85vw);padding:12px;display:grid;gap:7px;background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 35px #10291f29;z-index:20}
.pf-movement-more .btn{text-align:left;width:100%}
body.live-ready .pf-movement-group{padding:14px 18px}
body.live-ready .pf-movement-group>.sectiontop{padding-bottom:9px}
body.live-ready .pf-movement-group h2{font-size:14px;color:var(--muted);font-weight:650}
body.live-ready .pf-transaction.account-item{padding:8px 0;gap:8px 12px}
body.live-ready .pf-transaction .pf-compact{min-height:48px}
body.live-ready .pf-compact strong{font-size:14px}
body.live-ready .pf-compact small{font-size:12px;line-height:1.4}
body.live-ready .pf-transaction .account-actions .btn{padding:7px 11px;font-size:12px;min-height:38px}
body.live-ready .pf-transaction .account-actions .btn:not(.mobile-options){background:var(--soft);border-color:var(--soft);color:var(--green)}
body.live-ready .pf-completed summary{font-size:13px}
body.live-ready #modal{width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 28px);padding:24px;border:1px solid var(--line);box-shadow:0 24px 100px #081b2740;border-radius:26px;overscroll-behavior:contain}
body.live-ready #modal::backdrop{background:#0e211c7a;backdrop-filter:blur(4px)}
body.live-ready #modal h2{font-size:22px;margin:0 0 14px}
body.live-ready #modal form{display:grid;gap:14px;margin-top:14px}
body.live-ready #modal .formgrid{gap:12px}
body.live-ready #modal .field{display:grid;gap:5px;margin:0}
body.live-ready #modal .actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:15px}
body.live-ready #modal .actions .btn{flex:0 1 auto}
body.live-ready #modal .pf-date-controls{gap:5px}
body.live-ready #modal .account-item{gap:10px}
body.live-ready #modal .account-item h3{font-size:14px}
body.live-ready #modal .account-actions{width:auto}
body.live-ready .pf-detail-actions{padding:10px 0;border:0;z-index:2}
.pf-summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:16px 0}
.pf-summary-strip>div{background:var(--bg);border-radius:13px;padding:10px;min-width:0}
.pf-summary-strip dt{font-size:11px;color:var(--muted);line-height:1.35}
.pf-summary-strip dd{margin:5px 0 0;font-weight:750;font-size:clamp(13px,3.7vw,18px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.pf-bill-items{margin-top:14px}
body.live-ready #modal .pf-bill-items .account-actions{max-width:none;justify-content:flex-end}
body.live-ready #modal .pf-bill-items .account-item{display:grid;grid-template-columns:minmax(0,1fr) auto}
body.live-ready #modal .pf-bill-items .account-item>div:first-child{min-width:0}
.pf-external{color:var(--ink);text-decoration:none}
body.live-ready .pf-forecast-link{background:transparent;color:inherit;border:0;font-size:11px;text-decoration:underline;text-underline-offset:3px;min-height:30px;padding:2px 0;cursor:pointer}
body.live-ready .pf-home-balance{background:linear-gradient(130deg,#153b30,#102c25);color:#fff;border:0}
body.live-ready .pf-home-balance .pf-home-month-flow>div{background:#ffffff14}
body.live-ready .pf-home-balance h2{color:#c7dbd1}
body.live-ready .pf-home-forecast{gap:4px 12px}
body.live-ready .pf-home-forecast h2{font-size:12px}
body.live-ready .pf-home-forecast .pf-forecast-link{flex:0 1 auto;text-align:left;color:#c7dbd1;font-size:12px;text-decoration:none;min-height:32px}
body.live-ready #app.pf-dashboard{gap:12px}
body.live-ready .pf-home-next.pf-home-due{font-family:inherit}
body.live-ready .pf-home-due-row{min-height:35px;font-size:13px}
body.live-ready .pf-home-due-total{border-radius:12px}
body.live-ready .pf-home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
body.live-ready .pf-home-shortcuts>.btn{min-height:44px;font-size:12px}
body.live-ready .pf-home-shortcuts>.btn:nth-child(4){grid-column:auto}
body.live-ready .pf-home-shortcuts>.btn:last-child:nth-child(odd){grid-column:1/-1}
.pf-day-explorer{margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}
.pf-day-explorer .field{margin-bottom:10px}
.pf-day-explorer select{width:100%;padding:10px}
.pf-day-reasons{padding:0;list-style:none;font-size:12px}
.pf-day-reasons li{padding:8px 0;border-top:1px solid var(--line)}
.pf-day-reasons strong{display:block;margin-top:3px}
body.live-ready .pf-month-chart{min-height:140px;background:var(--bg)}
body.live-ready .pf-category summary{min-height:48px;font-size:13px}
body.live-ready .rec-card{padding:16px;margin-top:12px;border:1px solid var(--line);border-radius:18px;background:var(--card)}
body.live-ready .rec-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
body.live-ready .rec-actions .btn{flex:1;font-size:12px;min-width:100px}
body.live-ready .pf-people-view .person{box-shadow:none;border:1px solid var(--line)}
body.live-ready .pf-people-view .person:hover{border-color:var(--green);background:var(--soft)}
body.live-ready .person-month{margin-top:16px;padding-top:16px}
body.live-ready .bottom{box-shadow:0 -4px 24px #152c1d0a;border-top:1px solid var(--line)}
@media(min-width:701px){
 body.live-ready main{padding:32px clamp(24px,4vw,60px)}
 body.live-ready #app.pf-dashboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
 body.live-ready .pf-dashboard .pf-home-balance{display:grid;grid-template-columns:minmax(0,1fr);padding:28px;align-content:center;gap:18px}
 body.live-ready .pf-dashboard .pf-home-balance .amount{font-size:44px}
 body.live-ready .pf-home-month-flow{grid-row:auto;grid-column:auto}
 body.live-ready .pf-home-forecast{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;border-top:1px solid #ffffff30;padding-top:12px}
 body.live-ready .pf-dashboard .pf-today{margin:0;padding:24px}
 body.live-ready .pf-home-shortcuts{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}
 body.live-ready .pf-home-shortcuts>.btn:last-child:nth-child(odd){grid-column:auto}
 body.live-ready .pf-movement-search{max-width:720px}
 body.live-ready .pf-people-view .person{padding:20px}
}
@media(max-width:700px){
 body.live-ready main{padding:18px 16px 98px}
 body.live-ready header .eyebrow{display:none}
 body.live-ready header h1{font-size:25px}
 body.live-ready header .tools{gap:4px}
 body.live-ready header .avatar{display:none}
 body.live-ready header #privacy-values{font-size:0;width:40px;padding:0;min-height:40px}
 body.live-ready header #privacy-values::before{content:'◉';font-size:18px}
 body.live-ready main:has(.pf-dashboard){padding:14px 16px calc(84px + env(safe-area-inset-bottom))}
 body.live-ready main:has(.pf-dashboard)>.pf-dashboard{gap:9px}
 body.live-ready .pf-dashboard .pf-home-balance{padding:16px;gap:9px}
 body.live-ready .pf-dashboard .pf-home-forecast{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center}
 body.live-ready .pf-dashboard .pf-home-balance .amount{font-size:32px}
 body.live-ready .pf-dashboard .pf-home-month-flow dt{font-size:11px}
 body.live-ready .pf-dashboard .pf-home-month-flow dd{font-size:16px}
 body.live-ready .pf-dashboard .pf-today{padding:14px}
 body.live-ready .pf-home-due-row{min-height:28px;font-size:12px}
 body.live-ready .pf-movement-total{padding:13px}
 body.live-ready .pf-movement-total strong{font-size:21px}
 body.live-ready .pf-movement-search{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:8px}
 body.live-ready .pf-movement-search .field label{font-size:11px}
 body.live-ready .pf-movement-search :is(input,select){font-size:14px!important}
 body.live-ready .pf-movement-controls .field{flex:1 1 120px;min-width:0}
 body.live-ready .pf-movement-controls>.btn.primary{padding:10px 12px}
 body.live-ready .pf-movement-more{margin-left:0}
 body.live-ready .pf-movement-group{padding:12px 14px}
 body.live-ready .pf-transaction.account-item{grid-template-columns:minmax(0,1fr);gap:1px;padding:7px 0}
 body.live-ready .pf-transaction .account-actions{padding:0 0 3px;justify-content:flex-end}
 body.live-ready .pf-transaction .account-actions .btn{flex:0 0 auto;min-height:36px;padding:6px 13px}
 body.live-ready #modal{padding:20px 16px}
 body.live-ready #modal .actions .btn{flex:1 1 auto}
 body.live-ready #modal .pf-bill-items .account-item{grid-template-columns:minmax(0,1fr)}
 body.live-ready #modal .pf-bill-items .account-actions{width:100%;justify-content:flex-end}
 body.live-ready #modal .pf-bill-items .account-actions .btn{flex:0 0 auto;min-height:40px}
 body.live-ready .pf-summary-strip{gap:5px}
 body.live-ready .pf-summary-strip>div{padding:9px 7px}
 body.live-ready .bottom button.active{background:var(--soft);color:var(--green)}
}
@media(max-width:700px) and (max-height:740px){
 body.live-ready main:has(.pf-dashboard){padding-top:8px}
 body.live-ready .pf-dashboard .pf-home-balance{padding:10px 13px;gap:6px}
 body.live-ready .pf-dashboard .pf-home-balance .amount{font-size:26px}
 body.live-ready .pf-dashboard .pf-home-month-flow>div{padding:5px 7px}
 body.live-ready .pf-dashboard .pf-today{padding:10px 12px}
 body.live-ready .pf-home-due-heading{padding-bottom:4px}
 body.live-ready .pf-home-due-row{min-height:24px;padding:2px 0}
 body.live-ready .pf-home-due-total{padding:6px 9px;margin-top:4px}
 body.live-ready .pf-home-shortcuts>.btn{min-height:40px;padding:5px 8px}
 body.live-ready .pf-home-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.live-ready .pf-home-shortcuts>.btn:last-child:nth-child(odd){grid-column:1/-1}
 body.live-ready .pf-home-shortcuts>.btn{font-size:11px;padding:5px 4px}
 body.live-ready main:has(.pf-dashboard) .notice{margin-bottom:8px;padding-bottom:4px}
 body.live-ready .pf-dashboard .pf-home-month-flow dt{font-size:10px}
 body.live-ready .pf-dashboard .pf-home-month-flow dd{font-size:14px}
 body.live-ready .pf-dashboard .pf-home-balance{gap:4px;padding-top:8px;padding-bottom:8px}
 body.live-ready .pf-dashboard .pf-home-forecast{padding-top:4px}
}
@media(prefers-reduced-motion:reduce){
 body.live-ready *,body.live-ready *::before,body.live-ready *::after{transition:none!important;scroll-behavior:auto!important}
}
