:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0b1314;background:#f3f7f7;font-synthesis:none;text-rendering:optimizeLegibility;--background: oklch(.972 .004 205);--surface: oklch(1 0 0);--surface-soft: oklch(.956 .006 205);--text: oklch(.18 .012 205);--muted: oklch(.44 .01 205);--separator: oklch(.89 .006 205);--petroleum: oklch(.45 .11 205);--petroleum-text: oklch(.36 .1 205);--petroleum-soft: oklch(.935 .027 205);--negative: oklch(.46 .12 30);--negative-soft: oklch(.96 .03 30);--positive: oklch(.43 .09 155);--positive-soft: oklch(.94 .035 155);--shadow: 0 8px 24px oklch(.18 .012 205 / .06)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--background)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid oklch(.65 .11 205 / .45);outline-offset:2px}.app-shell{display:flex;min-height:100vh}.sidebar{width:246px;flex:0 0 246px;display:flex;flex-direction:column;padding:22px 14px 16px;border-right:1px solid var(--separator);background:#ecf1f2}.sidebar-brand{display:flex;gap:11px;align-items:center;padding:2px 10px 26px}.sidebar-brand strong,.sidebar-brand span{display:block}.sidebar-brand strong{font-size:.93rem;letter-spacing:-.01em}.sidebar-brand span{margin-top:3px;color:var(--muted);font-size:.77rem}.app-logo{display:block;flex:0 0 auto;border-radius:12px;box-shadow:0 5px 12px #0b13141f}.app-logo-small{width:40px;height:40px}.app-logo-medium{width:52px;height:52px}.nav-group{margin-bottom:20px}.nav-group-label{display:block;padding:0 12px 7px;color:var(--muted);font-size:.69rem;font-weight:700;letter-spacing:.04em}.nav-item{display:flex;align-items:center;gap:11px;width:100%;min-height:42px;padding:9px 12px;border:0;border-radius:9px;color:var(--muted);background:transparent;text-align:left;font-size:.88rem;transition:background .16s ease,color .16s ease}.nav-item:hover{color:var(--text);background:#ffffffbf}.nav-item-active{color:var(--petroleum-text);background:var(--petroleum-soft);font-weight:700}.nav-symbol{display:inline-grid;place-items:center;width:19px;color:currentColor;font-size:1.12rem;line-height:1}.sidebar-footer{display:flex;align-items:center;gap:8px;margin-top:auto;padding:14px 10px 0;border-top:1px solid var(--separator);color:var(--muted);font-size:.72rem;line-height:1.4}.sync-dot{width:7px;height:7px;border-radius:50%;background:var(--positive)}.app-content{min-width:0;flex:1}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:12px clamp(22px,4vw,48px);border-bottom:1px solid oklch(.89 .006 205 / .75);background:#f3f7f7f2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar-title{display:flex;flex-direction:column;gap:3px}.topbar-status,.mobile-house-name{color:var(--muted);font-size:.76rem}.mobile-house-name{display:none;color:var(--text);font-size:.88rem;font-weight:700}.profile-wrap{position:relative}.profile-button{display:flex;align-items:center;gap:9px;min-height:40px;padding:4px 6px 4px 5px;border:1px solid transparent;border-radius:9px;color:var(--text);background:transparent}.profile-button:hover{border-color:var(--separator);background:var(--surface)}.profile-email{max-width:190px;overflow:hidden;color:var(--muted);font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;color:var(--petroleum-text);background:var(--petroleum-soft);font-size:.75rem;font-weight:800}.profile-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:30;display:flex;flex-direction:column;min-width:190px;padding:9px;border:1px solid var(--separator);border-radius:10px;background:var(--surface);box-shadow:var(--shadow)}.profile-menu-email{overflow:hidden;padding:8px;color:var(--muted);font-size:.73rem;text-overflow:ellipsis;white-space:nowrap}.menu-action{padding:9px 8px;border:0;border-radius:7px;color:var(--negative);background:transparent;text-align:left;font-size:.84rem}.menu-action:hover{background:var(--negative-soft)}.main-content{width:min(100%,1360px);margin:0 auto;padding:clamp(28px,4vw,52px) clamp(22px,4vw,58px) 80px}.page-stack{display:flex;flex-direction:column;gap:30px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:22px}.eyebrow{display:block;margin-bottom:7px;color:var(--petroleum-text);font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}h1,h2,p{margin:0}h1{max-width:720px;font-size:clamp(1.72rem,2.6vw,2.3rem);letter-spacing:-.035em;line-height:1.12}h2{font-size:1.02rem;letter-spacing:-.012em}.page-description{max-width:650px;margin-top:8px;color:var(--muted);font-size:.94rem;line-height:1.55}.page-action{flex:0 0 auto}.recurring-header-actions{display:flex;align-items:end;flex-wrap:wrap;justify-content:flex-end;gap:9px}.month-control{width:145px;gap:4px;font-size:.68rem}.month-control input{min-height:42px}.month-nav-button{min-width:42px;min-height:42px;border:1px solid var(--separator);background:var(--surface);font-size:1rem}.date-chip,.source-badge,.status-label{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border-radius:999px;color:var(--petroleum-text);background:var(--petroleum-soft);font-size:.71rem;font-weight:700}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.button-row-stacked{flex-direction:column;align-items:stretch}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border:1px solid transparent;border-radius:9px;font-weight:700;font-size:.81rem;transition:background .16s ease,border-color .16s ease,transform .16s ease}.button:hover:not(:disabled){transform:translateY(-1px)}.button-primary{color:#fff;background:var(--petroleum)}.button-primary:hover:not(:disabled){background:#005058;background:oklch(.39 .1 205)}.button-secondary{border-color:var(--separator);color:var(--text);background:var(--surface)}.button-secondary:hover:not(:disabled){border-color:#9cb7ba;background:var(--surface-soft)}.button-danger{border-color:#f4b1a6;color:var(--negative);background:var(--negative-soft)}.button-small{min-height:34px;padding:7px 11px;font-size:.74rem}.text-link{padding:0;border:0;color:var(--petroleum-text);background:transparent;font-weight:700}.summary-surface,.equation-surface{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:clamp(22px,4vw,34px);border:1px solid oklch(.78 .04 205);border-radius:14px;background:var(--petroleum-soft)}.wealth-summary{align-items:center}.surface-kicker{display:block;color:var(--petroleum-text);font-size:.74rem;font-weight:800}.summary-number{display:block;margin-top:9px;color:var(--petroleum-text);font-size:clamp(2rem,5vw,3.2rem);letter-spacing:-.055em;line-height:1}.summary-surface p,.equation-surface p{margin-top:11px;color:var(--muted);font-size:.78rem}.summary-equation{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:.78rem;text-align:right}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--separator);border-radius:12px;background:var(--separator)}.metric{min-height:120px;padding:21px;background:var(--surface)}.metric-label,.metric-hint{display:block;color:var(--muted);font-size:.75rem}.metric-value{display:block;margin-top:13px;font-size:1.15rem;letter-spacing:-.025em}.metric-hint{margin-top:5px;font-size:.69rem}.metric-positive,.text-positive{color:var(--positive)}.metric-negative,.text-negative{color:var(--negative)}.content-section{display:flex;flex-direction:column;gap:13px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.section-heading p{margin-top:5px;color:var(--muted);font-size:.77rem}.list-surface{overflow:hidden;border:1px solid var(--separator);border-radius:12px;background:var(--surface)}.list-row,.reconciliation-row{display:flex;align-items:center;gap:14px;min-height:68px;padding:12px 17px;border-bottom:1px solid var(--separator)}.list-row:last-child,.reconciliation-row:last-child{border-bottom:0}.recurring-candidate-trigger{display:flex;align-items:center;gap:14px;min-width:0;flex:1;padding:0;border:0;color:var(--text);background:transparent;text-align:left}.recurring-candidate-trigger:hover .row-main strong{color:var(--petroleum-text)}.recurring-candidate-trigger:focus-visible{border-radius:8px;outline-offset:5px}.recurring-candidate-amount{flex:0 0 auto;font-size:.84rem;white-space:nowrap}.recurring-candidate-arrow{flex:0 0 auto;color:var(--petroleum-text);font-size:1.15rem}.transaction-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;min-height:68px;padding:12px 17px;border-bottom:1px solid var(--separator)}.transaction-row:last-child{border-bottom:0}.transaction-title{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}.transaction-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-recurring{color:var(--positive);background:var(--positive-soft)}.status-manual{color:var(--petroleum-text);background:var(--petroleum-soft)}.transaction-edit-button{white-space:nowrap;font-size:.74rem}.transaction-editor{grid-column:1 / -1;display:flex;flex-direction:column;gap:13px;padding:15px;border:1px solid var(--separator);border-radius:10px;background:var(--surface-soft)}.transaction-editor-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px}.checkbox-label{flex-direction:row;align-items:center;gap:8px;min-height:42px;white-space:nowrap}.checkbox-label input{width:16px;height:16px}.transaction-editor-actions{display:flex;justify-content:flex-end;gap:8px}.row-icon{display:grid;place-items:center;flex:0 0 33px;width:33px;height:33px;border-radius:9px;color:var(--petroleum-text);background:var(--petroleum-soft);font-weight:800}.account-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:11px;color:var(--petroleum-text);background:var(--petroleum-soft)}.account-icon img,.account-icon svg{width:23px;height:23px}.account-icon img{object-fit:contain}.account-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.account-icon-savings{color:#036639;background:var(--positive-soft)}.account-icon-card{color:#565190;background:#ececff;background:oklch(.95 .03 285)}.account-icon-other{color:var(--muted);background:var(--surface-soft)}.row-institution{display:flex!important;align-items:center;gap:6px}.row-icon-success{color:var(--positive);background:var(--positive-soft)}.row-icon-debt{color:var(--negative);background:var(--negative-soft)}.row-main{min-width:0;flex:1}.row-main strong,.row-main span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-main strong{font-size:.84rem}.row-main span{margin-top:4px;color:var(--muted);font-size:.72rem}.row-value-stack{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.row-value-stack strong,.list-row>strong{font-size:.84rem;white-space:nowrap}.list-footer-action{display:flex;align-items:center;justify-content:space-between;width:100%;padding:13px 17px;border:0;color:var(--petroleum-text);background:var(--surface-soft);font-size:.77rem;font-weight:700;text-align:left}.list-footer-action:hover{background:var(--petroleum-soft)}.attention-row{display:flex;align-items:center;width:100%;gap:13px;min-height:70px;padding:11px 14px;border:1px solid var(--separator);border-radius:12px;color:var(--text);background:var(--surface);text-align:left}.attention-row:hover{border-color:#94b9bd;background:var(--surface-soft)}.attention-count{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:9px;color:var(--petroleum-text);background:var(--petroleum-soft);font-size:.73rem;font-weight:800}.attention-row strong,.attention-row small{display:block}.attention-row strong{font-size:.82rem}.attention-row small{margin-top:4px;color:var(--muted);font-size:.72rem}.row-arrow{margin-left:auto;color:var(--petroleum-text);font-size:1.25rem}.state-block{display:flex;align-items:center;justify-content:center;gap:10px;min-height:130px;padding:24px;border:1px dashed var(--separator);border-radius:12px;color:var(--muted);font-size:.82rem}.state-block.state-error{flex-direction:column;color:var(--negative);border-style:solid;border-color:#f6c3ba;background:var(--negative-soft);text-align:center}.state-error span{color:var(--muted)}.spinner{width:16px;height:16px;border:2px solid oklch(.45 .11 205 / .25);border-top-color:var(--petroleum);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:27px 22px;border:1px dashed var(--separator);border-radius:12px;color:var(--muted)}.empty-state strong{color:var(--text);font-size:.84rem}.empty-state span:last-of-type{font-size:.75rem;line-height:1.5}.empty-dot{width:9px;height:9px;margin-bottom:5px;border-radius:50%;background:var(--separator)}.equation-surface{display:block}.equation-grid{display:flex;align-items:stretch;gap:12px;margin-top:22px}.equation-cell{display:flex;flex:1 1 0;flex-direction:column;gap:8px;min-width:0}.equation-cell span{color:var(--muted);font-size:.69rem}.equation-cell strong{font-size:.9rem;white-space:nowrap}.equation-emphasis{padding:13px;border-radius:9px;background:#ffffffbf}.equation-emphasis strong{color:var(--petroleum-text);font-size:1.06rem}.equation-operator{display:grid;place-items:center;color:var(--petroleum-text);font-size:1.1rem;font-weight:700}.allocation-list{display:flex;flex-direction:column;gap:17px;padding:7px 2px}.allocation-row{display:grid;grid-template-columns:minmax(130px,190px) minmax(100px,1fr) 42px;align-items:center;gap:17px}.allocation-label{display:flex;justify-content:space-between;gap:10px;font-size:.76rem}.allocation-label span{color:var(--muted)}.allocation-track{height:8px;overflow:hidden;border-radius:999px;background:var(--separator)}.allocation-track span{display:block;height:100%;border-radius:inherit;background:var(--petroleum)}.allocation-percent{color:var(--muted);font-size:.75rem;text-align:right}.reconciliation-action{display:flex;align-items:center;gap:16px}.recurring-bill-summary{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid oklch(.78 .04 205);border-radius:12px;color:var(--petroleum-text);background:var(--petroleum-soft)}.recurring-bill-summary span{font-size:.76rem;font-weight:700}.recurring-bill-summary strong{font-size:1.15rem;letter-spacing:-.03em}.recurring-bill-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:14px;min-height:76px;padding:12px 17px;border-bottom:1px solid var(--separator)}.recurring-bill-row:last-child{border-bottom:0}.recurring-bill-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}.recurring-bill-action{padding:7px 3px;font-size:.72rem;white-space:nowrap}.status-bill-active,.status-bill-reconciled{color:var(--positive);background:var(--positive-soft)}.status-bill-matched{color:var(--petroleum-text);background:var(--petroleum-soft)}.status-bill-overdue{color:var(--negative);background:var(--negative-soft)}.status-bill-skipped,.status-bill-paused{color:var(--muted);background:var(--surface-soft)}.recurring-bill-candidate-list{max-height:min(360px,42vh);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--separator);border-radius:10px}.recurring-bill-candidate{display:flex;align-items:center;gap:12px;min-height:70px;padding:11px 13px;border-bottom:1px solid var(--separator);color:var(--text);background:var(--surface);cursor:pointer}.recurring-bill-candidate:last-child{border-bottom:0}.recurring-bill-candidate:hover{background:var(--surface-soft)}.recurring-bill-candidate input{flex:0 0 auto;width:18px;height:18px;margin:0}.recurring-bill-selection{margin-top:14px;color:var(--petroleum-text);font-size:.76rem;line-height:1.45}.recurring-bill-reconciliation-actions{position:sticky;bottom:-24px;z-index:1;margin-right:-24px;margin-left:-24px;padding:16px 24px 24px;border-top:1px solid var(--separator);background:var(--surface)}.info-banner{display:flex;align-items:center;gap:10px;padding:13px 15px;border:1px solid oklch(.78 .04 205);border-radius:10px;color:var(--petroleum-text);background:var(--petroleum-soft);font-size:.76rem;line-height:1.45}.info-icon{display:grid;place-items:center;flex:0 0 19px;width:19px;height:19px;border:1px solid currentColor;border-radius:50%;font-weight:800}.invite-panel{display:flex;flex-direction:column;gap:12px;padding:17px;border:1px solid var(--separator);border-radius:12px;background:var(--surface)}.institution-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.institution-card{display:flex;flex-direction:column;gap:6px;min-height:130px;padding:17px;border:1px solid var(--separator);border-radius:12px;background:var(--surface)}.institution-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.institution-logo{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;overflow:hidden;border-radius:9px;color:var(--petroleum-text);background:var(--petroleum-soft);font-size:.78rem;font-weight:800}.institution-logo img{display:block;width:100%;height:100%;object-fit:contain}.institution-logo-fallback{letter-spacing:-.03em}.row-institution .institution-logo{flex-basis:18px;width:18px;height:18px;border-radius:5px;font-size:.53rem}.institution-card strong{font-size:.85rem}.institution-card>span:last-child{color:var(--muted);font-size:.72rem}.status-ok{color:var(--positive);background:var(--positive-soft)}.status-warning{color:var(--negative);background:var(--negative-soft)}.household-message{color:var(--positive);background:var(--positive-soft)}.section-inline-action{display:flex;justify-content:flex-end}.household-people-list{display:flex;flex-direction:column;gap:12px}.person-card{overflow:hidden;border:1px solid var(--separator);border-radius:12px;background:var(--surface)}.person-card-selected{border-color:#9abfc4;box-shadow:0 3px 14px #0b13140a}.person-card-trigger{display:flex;align-items:center;width:100%;min-height:75px;gap:12px;padding:12px 16px;border:0;color:var(--text);background:var(--surface);text-align:left}.person-card-trigger:hover{background:var(--surface-soft)}.person-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;color:var(--petroleum-text);background:var(--petroleum-soft);font-weight:800}.person-card-title{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.person-card-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem}.person-card-title span,.person-form>div:first-child span,.institution-form>div:first-child span{color:var(--muted);font-size:.73rem;line-height:1.45}.person-card-details{display:flex;flex-direction:column;gap:15px;padding:0 16px 17px}.person-card-actions,.institution-list-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-status-ok,.profile-status-warning{margin:0;color:var(--positive);font-size:.74rem}.profile-status-warning{color:var(--negative)}.institution-list{overflow:hidden;border:1px solid var(--separator);border-radius:10px;background:var(--surface-soft)}.institution-list-header{padding:12px 13px;border-bottom:1px solid var(--separator)}.institution-list-header strong,.institution-list-header span{display:block}.institution-list-header strong{font-size:.78rem}.institution-list-header span{margin-top:4px;color:var(--muted);font-size:.7rem}.institution-detail-row{display:flex;align-items:center;gap:10px;min-height:60px;padding:9px 13px;border-bottom:1px solid var(--separator);background:var(--surface)}.institution-detail-row:last-child{border-bottom:0}.institution-detail-row .institution-logo{flex-basis:30px;width:30px;height:30px;border-radius:8px}.institution-detail-row .row-main span{font-size:.68rem}.institution-detail-row .status-label{flex:0 0 auto}.institution-detail-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.institution-edit-form{flex-basis:100%;display:flex;flex-direction:column;gap:10px;padding-top:8px}.institution-empty{padding:16px 13px;color:var(--muted);font-size:.74rem}.person-form,.institution-form{display:flex;flex-direction:column;gap:14px;padding:16px;border:1px solid var(--separator);border-radius:11px;background:var(--surface-soft)}.person-form>div:first-child,.institution-form>div:first-child{display:flex;flex-direction:column;gap:4px}.person-form>div:first-child strong,.institution-form>div:first-child strong{font-size:.82rem}.person-form-compact{padding:14px;background:var(--surface)}.auth-page{display:grid;place-items:center;min-height:100vh;padding:22px;background:var(--background)}.auth-card{width:min(100%,430px);padding:clamp(28px,7vw,48px);border:1px solid var(--separator);border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}.auth-card .app-logo{margin-bottom:28px}.auth-card h1{font-size:clamp(1.7rem,5vw,2.25rem)}.muted{color:var(--muted);line-height:1.6}.auth-card>.muted{margin-top:14px;font-size:.87rem}.google-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;margin-top:28px;padding:10px 16px;border:1px solid var(--separator);border-radius:9px;color:var(--text);background:var(--surface);font-size:.84rem;font-weight:700}.google-button:hover{border-color:#93aeb1;background:var(--surface-soft)}.google-g{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:#fff;background:#c13c3b;font-size:.76rem;font-weight:800}.auth-note{margin-top:16px;color:var(--muted);font-size:.7rem;text-align:center}.form-error,.inline-message{color:var(--negative);font-size:.78rem;line-height:1.5}.inline-message{padding:11px 13px;border-radius:9px;background:var(--negative-soft)}.icon-button{display:grid;place-items:center;min-width:36px;min-height:36px;padding:5px;border:0;border-radius:8px;color:var(--muted);background:transparent;font-size:1.15rem}.icon-button:hover{color:var(--text);background:var(--surface-soft)}.mobile-menu-button,.mobile-nav,.sidebar-backdrop{display:none}.modal-layer{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:18px;background:#0b131452}.modal-card{width:min(100%,600px);max-height:min(720px,calc(100vh - 36px));overflow-y:auto;padding:24px;border-radius:14px;background:var(--surface);box-shadow:0 8px 28px #0b13142e}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.modal-header h2{font-size:1.3rem}.modal-subtitle{max-width:480px;margin-top:7px;color:var(--muted);font-size:.78rem;line-height:1.45}.modal-header-actions{display:flex;align-items:flex-start;gap:8px}.occurrence-modal-card{width:min(100%,700px)}.occurrence-modal-header{margin-bottom:13px}.occurrence-helper{margin-bottom:13px;color:var(--muted);font-size:.75rem}.occurrence-message{margin-bottom:13px;color:var(--positive);background:var(--positive-soft)}.occurrence-list{overflow:hidden;border:1px solid var(--separator);border-radius:10px}.occurrence-row{display:flex;align-items:center;gap:12px;min-height:70px;padding:11px 13px;border-bottom:1px solid var(--separator);color:var(--text);background:var(--surface);cursor:pointer}.occurrence-row:last-child{border-bottom:0}.occurrence-row:hover{background:var(--surface-soft)}.occurrence-row input{flex:0 0 auto;width:18px;height:18px;margin:0}.occurrence-content{min-width:0;flex:1}.occurrence-content strong,.occurrence-content span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.occurrence-content strong{font-size:.82rem}.occurrence-content span{margin-top:5px;color:var(--muted);font-size:.72rem}.occurrence-amount{flex:0 0 auto;font-size:.79rem;white-space:nowrap}.form-stack{display:flex;flex-direction:column;gap:15px}label{display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:.74rem;font-weight:700}input,select,textarea{width:100%;border:1px solid var(--separator);border-radius:8px;color:var(--text);background:var(--surface);font-weight:400}input,select{min-height:42px;padding:9px 11px}textarea{min-height:110px;padding:10px 11px;resize:vertical;line-height:1.5}input::placeholder,textarea::placeholder{color:#5d6566}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.draft-confidence{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;padding:12px 13px;border-radius:9px;color:var(--petroleum-text);background:var(--petroleum-soft);font-size:.76rem}.evidence-box{display:flex;flex-direction:column;gap:5px;margin-top:18px;padding:13px;border-radius:9px;color:var(--muted);background:var(--surface-soft);font-size:.74rem}.evidence-box strong{color:var(--text)}@media(max-width:1023px){.sidebar{width:74px;flex-basis:74px;padding:18px 10px}.sidebar-brand{justify-content:center;padding:2px 0 25px}.sidebar-brand>div:last-child,.nav-group-label,.nav-item span:last-child,.sidebar-footer{display:none}.nav-item{justify-content:center;padding:9px}.nav-symbol{width:24px;font-size:1.25rem}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.sidebar{position:fixed;inset:0 auto 0 0;z-index:50;width:min(82vw,286px);padding:22px 14px;transform:translate(-102%);transition:transform .18s ease;box-shadow:var(--shadow)}.sidebar.sidebar-open{transform:translate(0)}.sidebar-brand{justify-content:flex-start;padding:2px 10px 26px}.sidebar-brand>div:last-child,.nav-group-label,.nav-item span:last-child,.sidebar-footer{display:block}.nav-item{justify-content:flex-start;padding:9px 12px}.sidebar-backdrop{position:fixed;inset:0;z-index:45;display:block;border:0;background:#0b13144d}.mobile-menu-button{display:grid}.topbar{min-height:62px;padding:10px 16px}.topbar-title{flex:1;margin-left:10px}.mobile-house-name{display:block}.topbar-status,.profile-email{display:none}.profile-button{padding-right:0}.profile-button>span:last-child{display:none}.main-content{padding:28px 17px calc(90px + env(safe-area-inset-bottom))}.page-stack{gap:25px}.page-header{align-items:flex-start;flex-direction:column;gap:15px}.page-action,.page-action .button-row{width:100%}.page-action .recurring-header-actions{justify-content:stretch;width:100%}.recurring-header-actions .button{flex:1}.month-control{flex:1 1 100%;width:100%}.month-nav-button{flex:0 0 42px!important}.page-action .button{flex:1}h1{font-size:1.75rem}.summary-surface,.equation-surface{align-items:flex-start;flex-direction:column;padding:22px}.summary-number{font-size:2.3rem}.summary-surface .button{width:100%}.summary-equation{width:100%;text-align:left}.metric{min-height:105px;padding:16px}.metric-value{margin-top:10px;font-size:.98rem}.equation-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.equation-operator{display:none}.equation-emphasis{grid-column:span 2}.allocation-row{grid-template-columns:1fr 42px;gap:9px 12px}.allocation-label{grid-column:span 2}.allocation-track{grid-column:1}.allocation-percent{grid-column:2}.list-row,.reconciliation-row,.transaction-row{gap:10px;padding:12px}.transaction-row{grid-template-columns:minmax(0,1fr) auto;align-items:start}.transaction-edit-button{grid-column:1 / -1;justify-self:start}.transaction-editor-fields{grid-template-columns:1fr;align-items:stretch}.checkbox-label{min-height:0}.transaction-editor-actions{flex-direction:column-reverse}.transaction-editor-actions .button{width:100%}.recurring-candidate-amount{font-size:.77rem}.reconciliation-row{align-items:flex-start}.reconciliation-action{flex-direction:column;align-items:flex-end;gap:9px}.recurring-bill-row{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:12px}.recurring-bill-row .row-value-stack{grid-column:2;align-items:flex-start}.recurring-bill-actions{grid-column:1 / -1;justify-content:flex-start}.recurring-bill-summary{align-items:flex-start;flex-direction:column;gap:6px}.recurring-bill-candidate{align-items:flex-start}.mobile-nav{position:fixed;right:0;bottom:0;left:0;z-index:20;display:grid;grid-template-columns:repeat(6,1fr);padding:7px 5px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--separator);background:#fffffff5;box-shadow:0 -4px 14px #0b13140a}.nav-item-mobile{min-height:48px;flex-direction:column;justify-content:center;gap:3px;padding:4px 2px;border-radius:7px;font-size:.61rem;text-align:center}.nav-item-mobile .nav-symbol{width:auto;font-size:1rem}.form-grid{grid-template-columns:1fr}.modal-card{padding:20px}.recurring-bill-reconciliation-actions{bottom:-20px;margin-right:-20px;margin-left:-20px;padding:16px 20px 20px}.occurrence-modal-header{flex-direction:column}.modal-header-actions{align-items:center;justify-content:space-between;width:100%;order:-1}.occurrence-modal-header>div:first-child{width:100%}.occurrence-row{align-items:flex-start}.occurrence-amount{margin-top:2px}.modal-actions{flex-direction:column-reverse}.modal-actions .button{width:100%}.institution-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
