:root{color-scheme:light;--bg:#f4f5f8;--paper:#fff;--ink:#1b1d24;--muted:#727681;--line:#e5e7ec;--blue:#087bf0;--green:#188767;--red:#d64b50;--amber:#a76b18;--teal:#268c96;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box;letter-spacing:0}
body{margin:0;background:var(--bg);color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}
button{color:inherit;cursor:pointer;border:0;background:none;-webkit-tap-highlight-color:transparent}
button:disabled{opacity:.45;cursor:not-allowed}
input,select{min-width:0}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #087bf078;outline-offset:3px}
button,a,input,select{touch-action:manipulation}
h1,h2,h3,p{margin:0}
h1{font-size:21px;font-weight:750}
h2{font-size:18px}
h3{font-size:14px}
svg{width:20px;height:20px;stroke-width:1.8;flex-shrink:0}
b,strong{font-variant-numeric:tabular-nums}
small,.muted{color:var(--muted);font-size:12px}
button:active{transform:scale(.98)}
[hidden]{display:none!important}
.app{max-width:1020px;margin:auto;padding:20px 28px 108px}
.topbar,.brand,.header-actions,.section-heading,.sheet-header,.row,.row-main,.inline-actions,.split{display:flex;align-items:center;gap:10px}
.topbar,.section-heading,.split{justify-content:space-between}
.topbar{margin-bottom:18px}
.brand-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#252b36;color:#fff}
.brand-icon svg{width:23px;height:23px}
.brand>div>span{font-size:11px;color:var(--muted)}
.demo-badge{color:var(--muted);font-size:11px;border:1px solid var(--line);padding:4px 7px;border-radius:6px}
.icon-button{display:grid;place-items:center;width:38px;height:38px;min-width:38px;border-radius:50%;background:#e9ebf0}
.icon-button:hover{background:#dfe3eb}
.eyebrow{font-size:12px;color:var(--muted);font-weight:550}
.segmented{display:flex;background:#e7e9ef;border-radius:9px;padding:3px;flex-shrink:0}
.segmented button{border-radius:7px;color:var(--muted);padding:6px 12px;font-size:12px;font-weight:650;min-height:29px}
.segmented button.active{background:#fff;color:var(--ink);box-shadow:0 1px 5px #11182712}
.wallets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:18px 0 13px;gap:12px}
.wallets button{padding:0 0 0 12px;text-align:left;border-left:2px solid #a4cafa;min-width:0}
.wallets button:nth-child(2){border-color:#e5b69c}
.wallets button:nth-child(3){border-color:#87cabc}
.wallets span{display:block;color:var(--muted);font-size:11px}
.wallets strong{display:block;margin-top:4px;font-size:15px;overflow-wrap:anywhere}
.section-heading{min-height:28px;margin-bottom:9px}
.section-heading h2{font-size:15px;font-weight:700}
.chart{height:96px;position:relative;margin:9px 0 0}
.chart canvas{width:100%;height:100%;display:block}
.track{display:block;height:4px;background:#e3e6eb;border-radius:4px;overflow:hidden;flex:1;min-width:20px}
.track>i{display:block;height:100%;width:var(--progress,0%);background:var(--progress-color,var(--blue));border-radius:inherit;transition:width .35s ease}
.tile-top{display:flex;align-items:center;gap:7px;font-size:12px;color:#555c68}
.tile-top svg{width:17px;height:17px;color:var(--tile-color,var(--blue))}
.tile-top .chevron{margin-left:auto;width:13px;color:#a1a6af}
.recent{grid-column:1/-1;margin-top:18px}
.text-button{font-size:12px;color:var(--blue);display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:5px 0}
.text-button svg{width:14px;height:14px}
.row{width:100%;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);text-align:left;min-width:0}
.row:last-child{border-bottom:0}
.row-main{min-width:0;flex:1}
.row-copy{min-width:0;flex:1}
.row-copy>b{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}
.row-copy small{display:block;font-size:11px;margin-top:4px;overflow-wrap:anywhere}
.row-amount{text-align:right;flex-shrink:0;max-width:46%;overflow-wrap:anywhere;font-size:13px}
.row-amount small{display:block;margin-top:4px}
.row-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#e8edf5;color:#5f738c;flex-shrink:0}
.row-icon svg{width:17px;height:17px}
.row-icon.income,.row-icon.borrow{background:#e4f2ec;color:var(--green)}
.row-icon.expense{background:#f7e9e9;color:var(--red)}
.row-icon.allocate{background:#e7f1ee;color:var(--green)}
.row-icon.lend{background:#f6efdf;color:var(--amber)}
.positive{color:var(--green)!important}
.negative{color:var(--red)!important}
.cancelled{opacity:.5}
.cancelled b{text-decoration:line-through}
.tabbar{position:fixed;z-index:10;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:grid;grid-template-columns:1fr 1fr 64px 1fr 1fr;align-items:center;max-width:440px;width:calc(100% - 32px);height:66px;padding:5px 10px;background:#ffffffed;border:1px solid #fff;border-radius:24px;box-shadow:0 7px 30px #232a391a;backdrop-filter:blur(22px)}
.tabbar>button{display:grid;justify-items:center;align-content:center;gap:4px;height:51px;color:#969ba6;font-size:9px}
.tabbar>button svg{width:21px;height:21px}
.tabbar>button.active{color:var(--blue)}
.tabbar>.nav-add{width:42px;height:42px;border-radius:15px;background:var(--blue);color:white;justify-self:center;box-shadow:0 3px 8px #087bf030}
.page-heading{display:flex;justify-content:space-between;align-items:center;margin:8px 0 16px;gap:8px}
.page-heading h2{font-size:24px}
.page-heading p{font-size:12px;color:var(--muted);margin-top:4px}
.toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}
.toolbar input{flex:1;min-width:140px}
.toolbar select{width:auto;max-width:100%}
.filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}
.empty{text-align:center;padding:34px 16px;color:var(--muted);font-size:13px;line-height:1.7}
.empty svg{display:block;margin:0 auto 10px;width:28px;height:28px}
.day-heading{font-size:11px;color:var(--muted);margin-top:18px;padding-bottom:3px;font-weight:600}
.summary-list{margin-top:14px}
.summary-list .split{padding:13px 0;border-bottom:1px solid var(--line);font-size:13px;align-items:flex-start}
.summary-list .split span{color:var(--muted)}
.summary-list .split b{text-align:right;overflow-wrap:anywhere;max-width:65%}
.note{font-size:11px;color:var(--muted);line-height:1.6;margin:12px 0}
.section-label{font-size:11px;color:var(--muted);font-weight:600;margin:21px 0 5px}
.list-group{border-top:1px solid var(--line)}
.status-label{font-size:10px;background:#e7f1ec;color:var(--green);padding:4px 7px;border-radius:6px}
.due-label{color:var(--amber);background:#f4edde}
.form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px 12px}
.full{grid-column:1/-1}
label{display:grid;gap:6px;font-size:12px;color:#555c68;font-weight:550;min-width:0}
input,select{width:100%;height:44px;padding:10px 12px;border:1px solid #dfe2e9;border-radius:11px;background:#fff;color:var(--ink);font-size:15px}
input::placeholder{color:#a1a7b2}
input:read-only{background:#f0f2f6}
input[type=date],input[type=month]{appearance:none;min-width:0}
input[type=checkbox]{accent-color:var(--blue);width:17px;height:17px;flex-shrink:0}
.checkbox-label{display:flex;align-items:center;gap:9px;line-height:1.45;font-size:12px}
.primary-button,.secondary-button,.danger-button{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;min-height:46px;padding:12px;border-radius:12px;font-size:14px;font-weight:650;margin-top:15px;background:var(--blue);color:white}
.secondary-button{background:#e6edf6;color:var(--blue)}
.danger-button{background:#f8e7e8;color:var(--red)}
.primary-button svg,.secondary-button svg{width:17px;height:17px}
.form-error{font-size:12px;line-height:1.6;color:var(--red);margin-top:12px}
.form-error:empty{display:none}
.form-caption{font-size:11px;color:var(--muted);line-height:1.5;margin:0 0 12px}
.suggestion-label{display:flex;justify-content:space-between;align-items:center;margin:9px 0 3px;font-size:11px;color:var(--muted)}
.suggestions{max-height:145px;overflow:auto;overscroll-behavior:contain;margin-bottom:13px;border-block:1px solid var(--line)}
.suggestion{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 1px;text-align:left;font-size:12px;border-bottom:1px solid #e9ebef}
.suggestion:last-child{border:0}
.suggestion svg{width:15px;height:15px;color:var(--blue)}
.suggestion small{font-size:10px}
.suggestion>span{min-width:0;overflow-wrap:anywhere}
.suggestion-meta{display:flex;align-items:center;gap:8px;flex-shrink:0}
.entry-kind{margin-bottom:15px}
.entry-kind select{font-size:14px;font-weight:600}
.amount-input{font-size:23px;font-weight:700;height:49px}
.fund-total{font-size:34px;margin:8px 0}
.fund-total+small{display:block}
.fund-progress{margin:18px 0;height:7px}
.double-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:470px;margin:0 auto}
.double-actions>.primary-button,.double-actions>.secondary-button{width:auto;min-width:0;margin-top:0}
.inline-actions .icon-button{width:33px;height:33px;min-width:33px;background:none;color:var(--muted)}
.inline-actions .icon-button svg{width:16px;height:16px}
.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.choice-grid button{background:white;border:1px solid var(--line);border-radius:14px;min-height:92px;text-align:left;padding:15px}
.choice-grid svg{color:var(--blue);display:block;margin-bottom:10px}
.choice-grid b{font-size:13px}
.row .text-button{flex-shrink:0;margin-left:5px}
.rate-note{font-size:10px;color:var(--muted);margin-top:8px}
dialog{padding:0;border:0;width:min(calc(100% - 24px),470px);max-height:90dvh;border-radius:23px;background:#f8f9fb;color:var(--ink);box-shadow:0 20px 70px #18213130;overflow:auto;overscroll-behavior:contain}
dialog::backdrop{background:#151d3659;backdrop-filter:blur(4px)}
.sheet-handle{width:33px;height:4px;background:#d1d5df;border-radius:4px;margin:10px auto 0}
.sheet-header{position:sticky;top:0;z-index:2;background:#f8f9bff5;padding:13px 20px 14px;border-bottom:1px solid var(--line);backdrop-filter:blur(15px)}
.sheet-header h2{font-size:17px;flex:1}
.sheet-header .icon-button{width:30px;height:30px;min-width:30px}
.sheet-header .icon-button svg{width:17px;height:17px}
.sheet-body{padding:18px 20px 23px}
.sheet-body h3{margin-bottom:8px}
.sheet-body>.row:first-child{padding-top:0}
.toast{position:fixed;z-index:100;left:50%;transform:translateX(-50%);bottom:94px;max-width:calc(100% - 32px);width:max-content;padding:12px 18px;background:#242b38;color:#fff;border-radius:12px;font-size:12px;box-shadow:0 4px 20px #0002;text-align:center}
.storage-warning{color:var(--red);font-size:12px;line-height:1.5;padding:10px 0}
.action-confirm{margin-top:15px;padding-top:13px;border-top:1px solid var(--line)}
.action-confirm p{font-size:12px;line-height:1.5}
.badge-count{font-size:11px;color:var(--muted);margin-left:5px}
body:has(dialog[open]){overflow:hidden}
.spark-updated{animation:update-flash .7s ease}
@keyframes update-flash{from{opacity:.45}to{opacity:1}}
@media(min-width:760px){.app{padding-top:32px}
.topbar{margin-bottom:32px}
.page-view{max-width:700px;margin:auto}
.chart{height:104px}}
@media(max-width:759px){.app{max-width:470px;padding:14px 18px 100px}
.topbar{margin-bottom:17px}
.wallets{margin:14px 0 12px}
.wallets strong{font-size:14px}
.chart{height:60px;margin-top:8px}
.tile-top{font-size:11px;gap:5px}
.tile-top svg{width:15px;height:15px}
.recent{margin-top:15px}
.recent .row{padding:8px 0}
.recent .row:nth-child(n+3){display:none}
.recent .section-heading{margin-bottom:4px}
.sheet-body{padding:15px 18px 22px}
.sheet-header{padding:12px 18px}
.tabbar{height:64px}
.row-amount{font-size:12px}
dialog{width:100%;max-width:470px;max-height:91dvh;margin:auto auto 0;border-radius:25px 25px 0 0;padding-bottom:env(safe-area-inset-bottom)}
.suggestions{max-height:116px}
.brand-icon{width:35px;height:35px}
.topbar .icon-button{width:34px;height:34px;min-width:34px}}
@media(max-width:360px){.app{padding-inline:13px}
.wallets{gap:6px}
.wallets button{padding-left:8px}
.wallets strong{font-size:13px}
.section-heading h2{font-size:14px}
.form-grid{gap:12px 8px}
.tile-top{font-size:10px}
.filters{gap:5px}
.filters select{padding-inline:7px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.child-goal-card{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) auto 16px;align-items:center;gap:10px;margin:10px 0 2px;padding:11px 12px;text-align:left;background:#fff;border:1px solid #e7e9ef;border-radius:16px;box-shadow:0 2px 12px #1118270a}
.child-goal-card>svg{width:16px;height:16px;color:var(--muted)}
.child-goal-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#e8f1ff;color:var(--blue);font-weight:750}
.child-goal-copy,.child-goal-meta{display:grid;gap:3px;min-width:0}
.child-goal-copy b,.child-goal-meta b{font-size:12px;overflow-wrap:anywhere}
.child-goal-copy small,.child-goal-meta small{font-size:10px;color:var(--muted)}
.child-goal-meta{text-align:right}
.child-detail-head{display:flex;align-items:center;gap:10px;margin:12px 0 2px;padding:10px 11px;background:#edf4ff;border-radius:15px}
.child-detail-head b{display:block;font-size:13px}
.child-detail-head small{display:block;margin-top:3px;color:var(--muted);font-size:11px}
.picker-field{display:grid;gap:8px;font-size:12px;color:#555c68;font-weight:550}
.icon-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.icon-picker-item{position:relative;display:grid;place-items:center;min-height:44px;border:1px solid #dfe2e9;border-radius:13px;background:#fff;color:var(--ink);cursor:pointer}
.icon-picker-item input{position:absolute;opacity:0;pointer-events:none}
.icon-picker-item span{display:grid;place-items:center}
.icon-picker-item svg{width:21px;height:21px;color:inherit}
.icon-picker-item.active,.icon-picker-item:has(input:checked){border-color:var(--blue);background:#edf4ff;color:var(--blue);box-shadow:0 0 0 3px #087bf014}
.color-control{display:grid;grid-template-columns:1fr 54px;align-items:center;gap:7px 12px}
.color-control input[type=color]{grid-row:1/3;grid-column:2;width:54px;height:44px;padding:4px;border-radius:13px;cursor:pointer}
.color-control span{font-size:11px;color:var(--muted);font-weight:400}
.goal-style-picker{display:grid;gap:10px;min-width:0;max-width:100%}
.goal-style-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.goal-picker-button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:68px;padding:10px;border:1px solid #e1e5ec;border-radius:16px;background:linear-gradient(145deg,#fff,#f7f9fc);text-align:left;transition:box-shadow .18s,border-color .18s,transform .18s}
.goal-picker-button:hover{border-color:#b8c9e8;box-shadow:0 8px 20px #17243b12}
.goal-picker-button b,.goal-picker-button small{display:block}
.goal-picker-button b{font-size:12px}
.goal-picker-button small{margin-top:3px;color:var(--muted);font-size:10px;font-weight:400}
.goal-emoji-preview{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#edf4ff;font-size:25px;line-height:1}
.goal-color-preview{display:block;width:36px;height:36px;border-radius:12px;background:var(--goal-color);box-shadow:inset 0 0 0 1px #11182720,0 3px 8px #11182718}
.goal-picker-chevron{color:var(--muted);font-size:18px;line-height:1}
.goal-emoji-picker,.goal-color-picker{padding:11px;border:1px solid #e1e5ec;border-radius:17px;background:#f8fafc;box-shadow:0 10px 28px #17243b0d}
.picker-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:9px}
.picker-title b{font-size:12px}
.picker-title small{font-size:10px;color:var(--muted);font-weight:400}
.goal-emoji-group-buttons{display:flex;gap:7px;min-width:0;max-width:100%;overflow:auto;padding:8px;border:1px solid #dce3ef;border-radius:15px;background:linear-gradient(135deg,#f4f7fc,#fff);box-shadow:0 5px 15px #17243b0d;scrollbar-width:thin}
.goal-emoji-group-buttons:before{content:"";flex:0 0 3px;border-radius:99px;background:var(--blue)}
.goal-emoji-group-buttons button{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:0;border:1px solid #dfe4ec;border-radius:11px;background:#fff;color:var(--muted);font-size:17px;line-height:1;white-space:nowrap;transition:background .15s,border-color .15s,transform .15s}
.goal-emoji-group-buttons button:hover{border-color:#b8c9e8;background:#edf4ff;transform:translateY(-1px)}
.goal-emoji-group-buttons button.active{border-color:var(--blue);background:#dceaff;color:var(--blue);font-weight:700;box-shadow:0 0 0 3px #087bf01a}
.goal-emoji-picker,.goal-emoji-sections,.goal-emoji-section,.goal-emoji-grid{min-width:0;max-width:100%;width:100%}
.goal-emoji-sections{display:grid;gap:9px;max-height:255px;overflow:auto;padding:2px}
.goal-emoji-section{display:grid;gap:6px}
.goal-emoji-section-title{display:flex;align-items:center;gap:6px;padding:3px 2px;color:var(--ink)}
.goal-emoji-section-title>span{font-size:16px;line-height:1}
.goal-emoji-section-title b{font-size:11px}
.goal-emoji-section-title small{margin-left:auto;color:var(--muted);font-size:9px;font-weight:500}
.goal-emoji-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:3px;padding:2px}
.goal-emoji-grid button{display:grid;place-items:center;min-width:0;aspect-ratio:1;border:1px solid transparent;border-radius:8px;background:#fff;font-size:20px;line-height:1;transition:background .15s,border-color .15s,transform .15s}
.goal-emoji-grid button:hover{background:#edf4ff;border-color:#c6d8f5;transform:scale(1.06)}
.goal-emoji-grid button.active{background:#dceaff;border-color:var(--blue);box-shadow:0 0 0 2px #087bf01c}
.goal-hue-control{display:grid;gap:6px;margin-bottom:13px}
.goal-hue-control .picker-title{margin-bottom:0}
.goal-hue-control output{color:var(--muted);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;font-weight:600}
.goal-hue-track{position:relative;padding:0 2px}
.goal-hue-track:before{content:"";position:absolute;left:2px;right:2px;top:50%;height:12px;border-radius:999px;transform:translateY(-50%);background:linear-gradient(90deg,#ff3b30,#ff9500,#ffd60a,#34c759,#00c7be,#0a84ff,#5856d6,#af52de,#ff2d55,#ff3b30);box-shadow:inset 0 0 0 1px #11182718}
.goal-hue-track input[type=range]{position:relative;z-index:1;width:100%;height:30px;margin:0;padding:0;appearance:none;background:transparent;border:0}
.goal-hue-track input[type=range]::-webkit-slider-runnable-track{height:12px;background:transparent}
.goal-hue-track input[type=range]::-webkit-slider-thumb{appearance:none;width:22px;height:22px;margin-top:-5px;border:3px solid #fff;border-radius:50%;background:var(--blue);box-shadow:0 2px 7px #11182745,0 0 0 1px #11182735}
.goal-hue-track input[type=range]::-moz-range-track{height:12px;background:transparent}
.goal-hue-track input[type=range]::-moz-range-thumb{width:16px;height:16px;border:3px solid #fff;border-radius:50%;background:var(--blue);box-shadow:0 2px 7px #11182745,0 0 0 1px #11182735}
.goal-hue-help{font-size:10px;color:var(--muted);font-weight:400}
.goal-color-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.goal-color-grid button{display:grid;justify-items:center;gap:4px;padding:7px 3px;border:1px solid transparent;border-radius:12px;background:#fff}
.goal-color-grid button:hover{background:#edf4ff}
.goal-color-grid button.active{border-color:var(--blue);background:#edf4ff;box-shadow:0 0 0 2px #087bf01c}
.goal-color-swatch{display:block;width:29px;height:29px;border-radius:10px;background:var(--goal-color);box-shadow:inset 0 0 0 1px #11182720,0 2px 5px #11182718}
.goal-color-grid small{font-size:8px;color:var(--muted);font-weight:500}
.row-icon.goal-icon{font-size:23px;line-height:1}
.allocation-box{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:15px;background:#fff}
.amount-equivalent{min-height:15px;font-size:10px;line-height:1.35;color:var(--muted)}
.due-pill{display:inline-flex;margin-left:5px;padding:2px 6px;border-radius:999px;font-size:10px;font-weight:700;background:#e7f1ec;color:var(--green)}
.due-pill.warning{background:#f4edde;color:var(--amber)}
.due-pill.negative{background:#f8e7e8;color:var(--red)}
.allocation-box>.split{font-size:12px;font-weight:650}
.allocation-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:10px;align-items:start;padding-top:10px;border-top:1px solid #eef0f4}
.allocation-control{display:grid;gap:6px}
.allocation-control .segmented{width:max-content}
.allocation-control .segmented button{min-height:25px;padding:4px 9px}
.allocation-control input{height:38px;font-size:14px}
.allocation-control input:disabled{background:#f0f2f6}
.note-suggestions{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.note-suggestions .suggestion{display:inline-flex;align-items:center;gap:6px;width:auto;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:#f4f6fa;font-size:11px}
.note-suggestions .suggestion svg{width:13px;height:13px;color:var(--muted)}
.note-suggestions-empty{font-size:11px;color:var(--muted)}
.user-monitor-row{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.user-monitor-row b{font-size:11px}
.user-monitor-row small{font-size:10px;text-align:right}
.note-section{margin-top:16px}
.note-section h3{font-size:12px;color:var(--muted);margin-bottom:4px}
.allocation-control small{font-size:10px;color:var(--muted);line-height:1.35}
.allocation-row.allocation-invalid input{border-color:var(--red);background:#fff2f2;color:var(--red)}
.allocation-invalid-text{color:var(--red)!important}
.sheet-header{background:#f8f9fbf5}
.trend{display:inline-flex;align-items:center;gap:3px;font-size:10px;line-height:1.25;font-weight:550;vertical-align:middle;max-width:100%}
.trend svg{width:11px;height:11px;color:inherit;flex-shrink:0}
.trend.neutral{color:var(--muted)}
.comparison-link{display:inline-flex;align-items:center;gap:2px;padding:0;font-size:inherit;color:var(--muted);text-align:left}
.comparison-link svg{width:10px;height:10px}
.comparison-dates{display:flex;flex-wrap:wrap;gap:6px 17px;margin:10px 0;color:var(--muted);font-size:11px;line-height:1.5}
.comparison-dates>span{display:inline-flex;align-items:center;gap:6px}
.legend-dot{width:7px;height:7px;flex-shrink:0;border-radius:2px;background:var(--blue)}
.legend-dot.previous{background:#b8c1cd}
.comparison-table{table-layout:fixed;width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.comparison-table th,.comparison-table td{padding:11px 5px;border-bottom:1px solid var(--line);font-size:12px;text-align:right;vertical-align:middle;overflow-wrap:anywhere}
.comparison-table th:first-child{padding-left:0;text-align:left;font-weight:550;width:24%}
.comparison-table th:last-child,.comparison-table td:last-child{padding-right:0;width:28%}
.comparison-table thead th{font-size:10px;color:var(--muted);font-weight:500}
.comparison-table td small{display:block;margin-top:4px;font-size:10px;color:var(--muted)}
.comparison-table .trend{justify-content:flex-end;font-size:10px}
.comparison-table .trend[data-trend=none] svg{display:none}
.comparison-note{margin-top:15px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.report-method{margin:14px 0 10px;color:var(--muted);font-size:11px}
.report-method summary{cursor:pointer;padding:5px 0;min-height:24px}
.report-method .note{margin:7px 0}
@media(max-width:759px){.app{padding-top:12px;padding-bottom:92px}
.topbar{margin-bottom:10px}
.brand>div>span{font-size:10px}
.wallets{margin:11px 0 8px}
.wallets strong{margin-top:3px}
.chart{height:44px;margin-top:6px}
.tile-top{font-size:11px}
.tile-top svg{width:14px;height:14px}
.recent{margin-top:10px}
.recent .section-heading{min-height:25px;margin-bottom:2px}
.recent .section-heading h2{font-size:14px}
.recent .row{padding:5px 0}}
@media(max-width:759px){.child-goal-card{display:none}
.chart{height:40px}
.tile-top{line-height:14px}
.recent .row{display:none}}
@media(max-width:759px){.comparison-dates{font-size:10px}
.comparison-table th,.comparison-table td{font-size:11px;padding-block:10px}}
@media(max-width:360px){.comparison-table th,.comparison-table td{font-size:10px;padding-inline:3px}
.comparison-table .trend,.comparison-table td small{font-size:9px}}
.toast[popover]{inset:auto auto max(94px,calc(env(safe-area-inset-bottom) + 82px)) 50%;margin:0;border:0;overflow-wrap:anywhere;pointer-events:none}
.toast::backdrop{background:transparent;pointer-events:none}
.form-grid{align-items:start}
.form-grid>label{align-content:start}
.form-grid>label>input:not([type=checkbox]):not([type=color]),.form-grid>label>select{height:49px}
.wallets{grid-template-columns:repeat(auto-fit,minmax(0,1fr))}
.choice-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-top:1px}
.choice-button{min-height:39px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);font-size:12px;font-weight:600}
.choice-button.active{background:var(--blue);border-color:var(--blue);color:#fff}
.choice-buttons input{display:none}
.quick-actions-two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:260px}
.tabbar{grid-template-columns:1fr 1fr 1fr 64px 1fr 1fr}
.tabbar>button:not(.nav-add){min-width:0}
.tabbar{grid-template-columns:1fr 1fr 64px 1fr 1fr}
.choice-grid .choice-expense{background:#fbe9e9;border-color:#f3caca}
.choice-grid .choice-expense svg{color:var(--red)}
.choice-grid .choice-income{background:#e8f5ee;border-color:#c8e8d6}
.choice-grid .choice-income svg{color:var(--green)}
.choice-grid .choice-borrow{background:#eaf1fb;border-color:#cbdcf5}
.choice-grid .choice-borrow svg{color:var(--blue)}
.choice-grid .choice-lend{background:#fbf2df;border-color:#ecd9aa}
.choice-grid .choice-lend svg{color:var(--amber)}
.note-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.note-columns .note-section{margin-top:0}
.note-columns .row{padding:10px 8px}
.note-columns .row-copy b{white-space:normal;overflow-wrap:anywhere}
.user-monitor-head,.user-monitor-row{display:grid;grid-template-columns:minmax(82px,1.35fr) repeat(4,minmax(0,1fr));gap:3px;align-items:center;width:100%}
.user-monitor-head{padding:8px 4px;background:#eef1f5;color:var(--muted);font-size:9px}
.user-monitor-head b:first-child{text-align:left}
.user-monitor-head b:not(:first-child){text-align:right;white-space:nowrap}
.user-monitor-row{padding:10px 4px;border-bottom:1px solid var(--line);font-size:9px}
.user-monitor-row:nth-child(even){background:#f5f6f8}
.user-monitor-row:nth-child(odd){background:#fff}
.user-monitor-row span{text-align:right;white-space:normal;overflow-wrap:anywhere;word-break:break-word;font-variant-numeric:tabular-nums;line-height:1.2}
.user-monitor-row b{white-space:normal;overflow-wrap:anywhere;line-height:1.2}
@media(max-width:640px){.note-columns{grid-template-columns:1fr}
.user-monitor-head,.user-monitor-row{grid-template-columns:minmax(72px,1.2fr) repeat(4,minmax(0,1fr));font-size:8px;gap:2px}
.user-monitor-row{padding-inline:2px}}
.choice-grid .choice-borrow{background:#fbf2df;border-color:#ecd9aa}
.choice-grid .choice-borrow svg{color:var(--amber)}
.choice-grid .choice-lend{background:#eaf1fb;border-color:#cbdcf5}
.choice-grid .choice-lend svg{color:var(--blue)}
.rate-header{min-height:36px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--blue);font-size:11px;font-weight:700;white-space:nowrap}
.rate-header:hover{background:#eef4fc}
.input-invalid{border-color:var(--red)!important;background:#fff1f1!important;box-shadow:0 0 0 2px #ec7c7b22}
.negative{color:var(--red)!important}
.user-monitor-collapse{margin-top:12px}
.user-monitor-collapse summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:9px 4px;border-block:1px solid var(--line);font-size:11px;font-weight:650;cursor:pointer}
.user-monitor-collapse summary::-webkit-details-marker{display:none}
.user-monitor-collapse summary:after{content:'+';font-size:17px;color:var(--muted)}
.user-monitor-collapse[open] summary:after{content:'−'}
.user-monitor-collapse summary span{color:var(--muted);font-size:10px;font-weight:500}
.amount-keypad{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:7px}
.amount-keypad button{height:36px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:15px;font-weight:650}
.amount-keypad .keypad-op{background:#eef4fc;color:var(--blue)}
.amount-keypad .keypad-clear{background:#fbeaea;color:#c84b50;border-color:#f0cacc}
.amount-keypad .keypad-ok{background:var(--blue);color:#fff;border-color:var(--blue)}
.amount-keypad-sheet{position:fixed;z-index:1000;left:50%;bottom:0;width:min(100%,470px);transform:translateX(-50%);padding:7px 18px calc(14px + env(safe-area-inset-bottom));background:#f8f9fb;border:1px solid var(--line);border-bottom:0;border-radius:23px 23px 0 0;box-shadow:0 -10px 32px #18213130;animation:keypad-rise .24s cubic-bezier(.2,.8,.2,1)}
.keypad-handle{width:36px;height:4px;margin:0 auto 9px;border-radius:4px;background:#cdd2dc}
.amount-keypad-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:13px}
.amount-keypad-head button{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#e9ebf0}
.amount-keypad-head svg{width:16px;height:16px}
@keyframes keypad-rise{from{opacity:.5;transform:translate(-50%,100%)}to{opacity:1;transform:translate(-50%,0)}}
.payment-meta{display:inline-flex;align-items:center;gap:3px;margin-left:7px}
.payment-meta svg{width:13px;height:13px;vertical-align:-2px}
.summary-list b svg{width:14px;height:14px;vertical-align:-3px;margin-right:3px}
.settings-page{max-width:520px;margin:0 auto}
.settings-page-heading{display:flex;align-items:center;gap:12px;margin:8px 0 24px}
.settings-page-heading h2{font-size:24px;margin:0}
.settings-page-heading p{font-size:12px;color:var(--muted);margin-top:4px}
.settings-back-placeholder{width:38px;height:38px;visibility:hidden}
.settings-label{font-size:11px;color:var(--muted);font-weight:700;text-transform:uppercase;margin:23px 2px 8px}
.settings-group{background:var(--paper);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.settings-item{width:100%;display:flex;align-items:center;gap:12px;padding:15px 14px;border-bottom:1px solid var(--line);background:var(--paper);text-align:left}
.settings-item:last-child{border-bottom:0}
.settings-item-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#edf4ff;color:var(--blue);flex:none}
.settings-item:nth-child(2) .settings-item-icon{background:#eaf7f1;color:var(--green)}
.settings-item:nth-child(3) .settings-item-icon{background:#f1ecff;color:#7255b9}
.settings-item:nth-child(4) .settings-item-icon{background:#fff4df;color:var(--amber)}
.settings-item-icon svg{width:18px;height:18px}
.settings-item-copy{min-width:0;flex:1}
.settings-item-copy b{display:block;font-size:14px}
.settings-item-copy small{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.settings-item>.lucide-chevron-right{color:#a3aab5}
.settings-rate-card{display:flex;align-items:center;justify-content:space-between;padding:15px 14px;background:var(--paper);border:1px solid var(--line);border-radius:16px}
.settings-rate-card b{font-size:16px}
.settings-rate-card small{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.settings-rate-card button{border:0;border-radius:9px;background:#e8f1fc;color:var(--blue);padding:9px 12px;font-weight:700}
.tile-group-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}
.goals-group .tile-top{color:#367b67}
.allocation-row{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center}
.allocation-row .checkbox-label{min-width:0}
.allocation-row .checkbox-label span{overflow-wrap:anywhere}
.allocation-row .allocation-control{min-width:0}
.allocation-row .segmented{width:100%}
.allocation-row .segmented button{flex:1;padding-inline:5px}
@media(max-width:759px){.tile-group-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
.unplanned-inline{display:block;margin-top:4px;color:var(--red);font-size:9px!important}
.period-filter{display:flex;align-items:center;gap:6px}
.period-filter .segmented{flex-shrink:0}
.period-filter .segmented button{padding-inline:7px}
.tabbar{grid-template-columns:repeat(6,minmax(0,1fr));max-width:560px}
.profile-balance{padding:15px;background:var(--paper);border:1px solid var(--line);border-radius:16px}
.profile-balance>strong{display:block;font-size:30px;margin:6px 0 14px}
.profile-wallets,.profile-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.profile-wallets{border-top:1px solid var(--line);padding-top:12px}
.profile-wallets div,.profile-metrics div{padding-left:10px;border-left:2px solid #a3caf6}
.profile-wallets div:last-child,.profile-metrics div:nth-child(2){border-color:#e5b39c}
.profile-debt-metric{display:block;width:100%;padding:0 0 0 10px;border:0;border-left:2px solid #a3caf6;background:transparent;color:inherit;text-align:left;cursor:pointer}
.profile-debt-metric:nth-child(2){border-color:#e5b39c}
.profile-debt-metric:active{opacity:.72}
.profile-wallets small,.profile-metrics small{display:block;color:var(--muted);font-size:11px}
.profile-wallets b,.profile-metrics b{display:block;margin-top:5px;font-size:15px;overflow-wrap:anywhere}
.profile-owed{color:var(--amber)!important}
.profile-chart{height:150px;margin:8px 0 12px;padding:8px 0;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.profile-chart-card{padding:13px;background:var(--paper);border:1px solid var(--line);border-radius:16px}
.profile-chart-head{display:flex;justify-content:space-between;align-items:center;font-size:14px}
.profile-chart-head small{font-size:10px;color:var(--green);font-weight:650}
.profile-legend{display:flex;gap:12px;margin-top:6px;color:var(--muted);font-size:10px}
.profile-legend span{display:flex;align-items:center;gap:4px}
.profile-legend i{width:7px;height:7px;border-radius:50%;display:inline-block}
.income-dot{background:var(--green)}
.expense-dot{background:var(--red)}
.profile-chart-card .profile-chart{border:0;margin:4px 0 0;padding:0}
.profile-chart-card{display:block!important}
.profile-chart-card + .profile-metrics{margin-top:14px}
.debt-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.debt-head>div{display:flex;align-items:center;justify-content:space-between;width:100%;color:var(--muted);font-size:12px}
.debt-summary{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px}
.debt-summary-card{padding:12px;border-radius:15px;border:1px solid var(--line)}
.debt-summary-card small,.debt-summary-card em{display:block;font-size:11px;color:var(--muted);font-style:normal}
.debt-summary-card b{display:block;font-size:18px;margin:5px 0}
.debt-summary-card.owed b{color:var(--red)}
.debt-summary-card.lent b{color:var(--green)}
.debt-tabs{display:grid;grid-template-columns:1fr 1fr;background:#edf0f5;border-radius:14px;padding:3px;margin-bottom:10px}
.debt-tabs button{min-height:38px;border-radius:11px;color:var(--muted);font-weight:700}
.debt-tabs button.active{background:var(--blue);color:#fff}
.debt-filters{display:flex;gap:7px;overflow:auto;padding-bottom:10px}
.debt-filters button{white-space:nowrap;background:#f1f4f9;border:1px solid transparent;border-radius:999px;padding:7px 10px;color:var(--muted);font-size:11px;font-weight:700}
.debt-filters button.active{background:#e7f0fd;border-color:#b9d2f5;color:var(--blue)}
.debt-list{display:grid;gap:8px}
.debt-card{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:13px;border:1px solid var(--line);border-radius:16px;background:var(--paper);text-align:left}
.debt-card-main{display:flex;align-items:center;gap:10px;min-width:0}
.debt-card-main>span:last-child{min-width:0}
.debt-card-main b,.debt-card-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.debt-card-main small{margin-top:4px;color:var(--muted);font-size:11px}
.debt-card-icon{display:grid;place-items:center;width:34px;height:34px;min-width:34px;border-radius:12px}
.debt-card-icon svg{width:17px;height:17px}
.debt-card-icon.lent{background:#e5f4ed;color:var(--green)}
.debt-card-icon.borrowed{background:#fae8e9;color:var(--red)}
.debt-card-side{text-align:right;min-width:92px}
.debt-card-side>b{display:block;font-size:14px}
.debt-status{display:block;margin-top:4px;font-size:10px;font-weight:700}
.debt-status.late{color:var(--red)}
.debt-status.soon{color:var(--amber)}
.debt-status.open{color:var(--green)}
.debt-status.closed{color:var(--muted)}
.page-view .page-heading [data-action="export-csv"]{display:none!important}
.tabbar{grid-template-columns:repeat(5,minmax(0,1fr));max-width:440px}
.profile-page .page-heading{align-items:center}
.profile-page .page-heading .icon-button{margin-left:auto}
.profile-balance>strong{white-space:nowrap;overflow:visible;overflow-wrap:normal;font-size:clamp(22px,8vw,30px)}
.entry-amount-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(106px,128px);align-items:end;gap:8px;min-width:0}
.entry-amount-row>label{min-width:0}
.entry-currency-field{min-width:0}
.entry-amount-row .choice-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;height:49px;margin:0;padding:3px;border:1px solid #dfe2e9;border-radius:11px;background:#fff}
.entry-amount-row .choice-button{min-width:0;min-height:0;height:41px;padding:7px 4px;border:0;border-radius:8px;font-size:12px;white-space:nowrap}
.entry-amount-row .choice-button.active{background:var(--blue);color:#fff}
@media(max-width:360px){.entry-amount-row{grid-template-columns:minmax(0,1fr) 104px;gap:6px}
.entry-amount-row .choice-button{font-size:11px;padding-inline:2px}}
.entry-amount-row,.entry-secondary-row{grid-template-columns:minmax(0,1fr) minmax(106px,128px);align-items:end;gap:8px}
.entry-amount-row input,.entry-secondary-row select{height:44px}
.entry-amount-row .choice-buttons,.entry-secondary-row .choice-buttons{height:44px}
.entry-amount-row .choice-button,.entry-secondary-row .choice-button{height:36px}
.entry-secondary-row{display:grid;min-width:0}
.entry-secondary-row>label{min-width:0}
@media(max-width:360px){.entry-amount-row,.entry-secondary-row{grid-template-columns:minmax(0,1fr) 104px;gap:6px}}
.entry-choice-field{display:grid;grid-template-rows:18px 44px;align-content:start;align-items:start;gap:6px;min-width:0}
.entry-choice-field .choice-buttons{width:100%;height:44px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:0;overflow:hidden;margin:0;padding:3px;border:1px solid #dfe2e9;border-radius:11px;background:#fff}
.entry-choice-field .choice-button{width:100%;height:36px;min-height:36px;display:grid;place-items:center;padding:6px 4px;border:0;border-radius:0;font-size:12px;line-height:1;white-space:nowrap}
.entry-choice-field .choice-button:first-child{border-radius:8px 0 0 8px}
.entry-choice-field .choice-button:last-of-type{border-radius:0 8px 8px 0}
.entry-choice-field .choice-button+.choice-button{border-left:1px solid #dfe2e9}
.entry-choice-field .choice-buttons[data-choice-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:360px){.entry-choice-field .choice-button{font-size:11px;padding-inline:2px}}
.entry-amount-row>label>input,.entry-secondary-row>label:first-child>select{height:44px;min-height:44px;padding:10px 12px;line-height:22px;align-self:stretch}
.profile-balance-breakdown{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 9px}
.profile-balance-breakdown div{min-width:0;padding-left:8px}
.profile-balance-breakdown b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-free-summary{display:block;margin:-8px 0 14px;color:var(--green);font-size:13px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.expense-breakdown{display:block;margin-top:6px;color:var(--muted,#7c8797)!important;font-size:10px!important;font-weight:500;line-height:1.45}
.expense-breakdown span{display:block}
.goal-spend-picker{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.goal-spend-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:0;background:#fff;text-align:left;color:var(--ink)}
.goal-spend-toggle strong{display:block;font-size:13px}
.goal-spend-toggle small{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.goal-spend-toggle small b{color:var(--green)}
.goal-spend-chevron{color:var(--muted);font-size:18px;transition:transform .2s}
.goal-spend-picker.expanded .goal-spend-chevron{transform:rotate(180deg)}
.goal-spend-list{display:none;border-top:1px solid var(--line);padding:8px;background:#fafbfd}
.goal-spend-picker.expanded .goal-spend-list{display:grid;gap:7px}
.goal-spend-row{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;align-items:center;min-width:0;padding:10px 11px;border:1px solid transparent;border-radius:11px;background:linear-gradient(90deg,color-mix(in srgb,var(--goal-color) 13%,#fff) var(--goal-fill),#fff var(--goal-fill));cursor:pointer}
.goal-spend-row:hover{border-color:#cbd8ef}
.goal-spend-row.active{border-color:#79a5ed;box-shadow:0 0 0 2px #3977da18}
.goal-spend-row.goal-spend-invalid{border-color:var(--red,#d64b50);background:linear-gradient(90deg,#fff0f0 var(--goal-fill),#fff var(--goal-fill))}
.goal-spend-check{width:20px;height:20px;display:grid;place-items:center}
.goal-spend-check input{position:absolute;opacity:0;pointer-events:none}
.goal-spend-check i{width:19px;height:19px;display:grid;place-items:center;border:1px solid #cbd2de;border-radius:5px;color:transparent;font-size:13px;font-style:normal;background:#fff}
.goal-spend-row.active .goal-spend-check i{border-color:var(--blue);background:var(--blue);color:#fff}
.goal-spend-copy{min-width:0}
.goal-spend-copy b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.goal-spend-copy small{display:block;margin-top:3px;color:var(--muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.goal-spend-copy small[data-goal-spend-preview]{color:var(--blue);font-weight:650}
.goal-spend-row.goal-spend-invalid .goal-spend-copy small[data-goal-spend-preview]{color:var(--red,#d64b50)}
.goal-spend-selected{display:block;min-height:16px;padding:0 14px 8px;color:var(--blue);font-size:10px}
.profile-balance>strong{font-size:36px}
@media(max-width:520px){.profile-balance>strong{font-size:30px}}
.sheet-header #entryTitle{flex:0 1 auto;min-width:0}
.entry-header-balance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;column-gap:14px;flex:1;min-width:116px;color:var(--muted);font-size:10px;line-height:1.25;white-space:normal;overflow:visible;text-align:left}
.entry-header-balance>span:not(.entry-goal-balance){display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;column-gap:7px;min-width:0;min-height:24px;padding-left:10px;border-left:2px solid #9cc8f7}
.entry-header-balance>span:nth-of-type(2){border-color:#e6b19a}
.entry-header-balance>span>svg{display:block;width:15px;height:15px;justify-self:center;align-self:center;margin:0;color:var(--muted);stroke-width:2}
.entry-header-balance b{display:block;min-width:0;color:var(--ink);font-size:11px;line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.entry-header-balance em{grid-column:1/-1;color:var(--red);font-style:normal;font-size:10px}
.entry-header-balance .entry-goal-balance{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;line-height:1.25}
.entry-header-balance .entry-goal-balance svg{width:15px;height:15px;flex:0 0 auto}
.entry-header-balance.negative,.entry-header-balance.negative b{color:var(--red)}
.input-with-clear{position:relative;display:block;min-width:0}
.input-with-clear>input,.input-with-clear>textarea{padding-right:38px}
.input-clear{position:absolute;top:50%;right:7px;display:grid;place-items:center;width:25px;height:25px;padding:0;transform:translateY(-50%);border-radius:50%;color:var(--muted);background:transparent}
.input-clear:hover{background:#eef0f4;color:var(--ink)}
.input-clear:active{transform:translateY(-50%) scale(.98)}
.input-clear svg{width:15px;height:15px;stroke-width:2.2}
.input-clear[hidden]{display:none}
.goal-spend-toggle{min-height:0;padding:6px 10px}
.goal-spend-toggle strong{font-size:12px}
.goal-spend-toggle small{margin-top:1px;font-size:10px;line-height:1.2}
@media(max-width:360px){.entry-header-balance{font-size:9px}
.entry-header-balance b{font-size:10px}}
.list-group>.row{min-height:60px;padding:12px 0;border-bottom:1px solid var(--line)}
.list-group>.row:last-child{border-bottom:0}
.note-columns .list-group>.row{min-height:56px;padding:10px 8px}
.user-monitor-row{min-height:38px}
.allocation-row{grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:7px;padding:5px 0;align-items:center}
.allocation-row .checkbox-label{gap:7px;line-height:1.2}
.allocation-row .checkbox-label span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.allocation-control{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(74px,.7fr);grid-template-areas:'amount modes';align-items:center;gap:4px 6px;min-width:0}
.allocation-control>input,.allocation-control>.input-with-clear{grid-area:amount;min-width:0}
.allocation-control>.segmented{grid-area:modes;width:100%;min-width:0}
.allocation-control>.segmented{height:32px;padding:2px}
.allocation-control>.segmented button{flex:1;min-width:0;min-height:26px;height:26px;padding:3px 2px;font-size:10px}
.allocation-control>input,.allocation-control>.input-with-clear>input{height:32px;min-height:32px;padding:5px 9px;font-size:13px}
.allocation-row.allocation-disabled{opacity:.58}
@media(max-width:360px){.allocation-row{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:5px}
.allocation-control{grid-template-columns:minmax(0,1.55fr) minmax(68px,.7fr);gap:3px}
.allocation-control>.segmented button{font-size:9px;padding-inline:2px}}
.entry-amount-row.full{display:block}
.entry-amount-row.full>label{width:100%}
.entry-choice-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:8px;min-width:0}
.entry-choice-row>label{min-width:0}
.entry-choice-row .choice-buttons{width:100%;height:44px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:0;overflow:hidden;margin:0;padding:3px;border:1px solid #dfe2e9;border-radius:11px;background:#fff}
.entry-choice-row .choice-button{width:100%;height:36px;min-height:36px;display:grid;place-items:center;padding:6px 4px;border:0;border-radius:0;font-size:12px;line-height:1;white-space:nowrap}
.entry-choice-row .choice-button.active{background:var(--blue);color:#fff}
.entry-choice-row .choice-button:first-child{border-radius:8px 0 0 8px}
.entry-choice-row .choice-button:last-of-type{border-radius:0 8px 8px 0}
.entry-choice-row .choice-button+.choice-button{border-left:1px solid #dfe2e9}
@media(max-width:360px){.entry-choice-row{gap:6px}
.entry-choice-row .choice-button{font-size:11px;padding-inline:2px}}
.entry-equal-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:8px;min-width:0}
.entry-equal-row>label{min-width:0}
.entry-equal-row input,.entry-equal-row select{height:44px;min-height:44px}
@media(max-width:360px){.entry-equal-row{gap:6px}}
.row-icon.release{background:#f7e9e9;color:var(--red)}
.double-actions .goal-income-button{background:#e8f5ee;color:var(--green);border-color:#c8e8d6}
.double-actions .goal-expense-button{background:#fbe9e9;color:var(--red);border-color:#f3caca}
.entry-free-balance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;column-gap:14px;row-gap:5px;margin-top:7px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#f5f7fa;color:var(--muted);font-size:11px;line-height:1.25}
.entry-free-balance>span{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;column-gap:7px;min-height:24px;padding-left:10px;border-left:2px solid #9cc8f7;min-width:0;line-height:1.25;text-align:left}
.entry-free-balance>span:nth-of-type(2){border-color:#e6b19a}
.entry-free-balance>span>svg{display:block;width:15px;height:15px;justify-self:center;align-self:center;margin:0;color:var(--muted);stroke-width:2}
.entry-free-balance b{display:block;min-width:0;color:var(--ink);font-size:12px;line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.entry-free-balance em{grid-column:1/-1;color:var(--red);font-style:normal;font-size:10px}
.entry-free-balance.negative{border-color:#efb8ba;background:#fff1f1}
.choice-button[data-choice-value="UZS"],.choice-button[data-choice-value="cash"],.choice-button[data-choice-value="planned"]{background:#eef4fc;color:#4b668c;border-color:#d6e2f4}
.choice-button[data-choice-value="UZS"].active,.choice-button[data-choice-value="cash"].active,.choice-button[data-choice-value="planned"].active{background:#dbe8fa;color:#2f5c96;border-color:#b9d1f0;box-shadow:inset 0 0 0 1px #b9d1f0}
.choice-button[data-choice-value="USD"]{background:#e8f5ee;color:#287957;border-color:#c8e8d6}
.choice-button[data-choice-value="USD"].active{background:#ccebd9;color:#17643f;border-color:#a8d9bd;box-shadow:inset 0 0 0 1px #a8d9bd}
.choice-button[data-choice-value="card"]{background:#f0eafd;color:#7255b9;border-color:#ddd0f5}
.choice-button[data-choice-value="card"].active{background:#ddcff7;color:#6040a9;border-color:#c5b0ed;box-shadow:inset 0 0 0 1px #c5b0ed}
.choice-button[data-choice-value="unplanned"]{background:#fbe9e9;color:#c84b50;border-color:#f3caca}
.choice-button[data-choice-value="unplanned"].active{background:#f4cfd1;color:#ae363d;border-color:#e7a9ad;box-shadow:inset 0 0 0 1px #e7a9ad}
.choice-button[data-choice-value="mandatory"]{background:#fff4df;color:#9a6b22;border-color:#f1dfb9}
.choice-button[data-choice-value="mandatory"].active{background:#f9e4b9;color:#805515;border-color:#e7c879;box-shadow:inset 0 0 0 1px #e7c879}
.choice-button[data-choice-value="UZS"].active,.choice-button[data-choice-value="cash"].active,.choice-button[data-choice-value="planned"].active{background:#a9c9f5;color:#173e72;border-color:#7fa9e6;box-shadow:inset 0 0 0 2px #6e9bdd,0 0 0 2px #d8e7fb;font-weight:800}
.choice-button[data-choice-value="USD"].active{background:#a5dfbb;color:#0c5834;border-color:#6fc291;box-shadow:inset 0 0 0 2px #5ab580,0 0 0 2px #d9f2e2;font-weight:800}
.choice-button[data-choice-value="card"].active{background:#c7b2f0;color:#452887;border-color:#9d7bd9;box-shadow:inset 0 0 0 2px #8c67cf,0 0 0 2px #e7defa;font-weight:800}
.choice-button[data-choice-value="unplanned"].active{background:#f0abb0;color:#8f2831;border-color:#d97880;box-shadow:inset 0 0 0 2px #cd626b,0 0 0 2px #fbe0e1;font-weight:800}
.choice-button[data-choice-value="mandatory"].active{background:#f1cd7e;color:#70480b;border-color:#d9aa42;box-shadow:inset 0 0 0 2px #c99427,0 0 0 2px #fff0c9;font-weight:800}
.choice-button[data-choice-name="currency"]:not(.active),.choice-button[data-choice-name="paymentMethod"]:not(.active),.choice-button[data-choice-name="plan"]:not(.active){background:#fff;color:var(--muted);border-color:#dfe2e9;box-shadow:none;font-weight:600}
/* ---------- Hisobot (yangi) ---------- */
.rp{max-width:560px;margin:0 auto}
.rp-top{display:flex;align-items:center;justify-content:space-between;margin:8px 0 14px}
.rp-top h2{font-size:24px}
.rp-top p{font-size:12px;color:var(--muted);margin-top:4px}
.rp-filters{display:flex;gap:8px;align-items:center;margin-bottom:10px}
.rp-periods{flex:1}
.rp-periods button{flex:1;min-height:34px}
.rp-filters select{width:auto;max-width:150px;height:40px;padding:0 10px;font-size:13px;font-weight:650}
.rp-notebar{display:flex;gap:8px;align-items:center;margin-bottom:10px;flex-wrap:wrap}
.rp-notepill{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:11px;height:38px;padding:0 12px;font-weight:650;font-size:13px}
.rp-notepill svg{width:16px;height:16px}
.rp-notepill.on{border-color:var(--blue);color:var(--blue);background:#eaf3fe}
.rp-badge{background:var(--blue);color:#fff;border-radius:999px;font-size:11px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 6px}
.rp-nchip{display:inline-flex;align-items:center;gap:6px;background:#eaf3fe;color:var(--blue);border-radius:999px;font-size:12px;font-weight:650;padding:5px 8px 5px 10px}
.rp-nchip i{font-style:normal;font-size:10px}
.rp-nclear{font-size:12px;color:var(--muted);font-weight:650;padding:6px}
.rp-nav{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:14px;padding:5px;margin-bottom:12px}
.rp-nav .icon-button{background:none;width:36px;height:36px;min-width:36px;border-radius:10px}
.rp-nav .icon-button:disabled{opacity:.3}
.rp-nav div{text-align:center}
.rp-nav b{display:block;font-size:15px}
.rp-nav small{color:var(--muted);font-size:11px}
.rp-card{background:var(--paper);border:1px solid #e9eaf0;border-radius:20px;padding:16px;margin-bottom:12px}
.rp-details{margin-bottom:12px}
.rp-details>summary{display:flex;align-items:center;gap:10px;padding:16px;background:var(--paper);border:1px solid #e9eaf0;border-radius:20px;cursor:pointer;list-style:none}
.rp-details>summary::-webkit-details-marker{display:none}
.rp-details>summary span{font-weight:700;font-size:14px}
.rp-details>summary small{flex:1;color:var(--muted);font-size:11px}
.rp-details>summary i{display:grid;transition:transform .2s ease}
.rp-details[open]>summary i{transform:rotate(180deg)}
.rp-details-body{padding-top:12px}
.rp-details-body .rp-card:last-child{margin-bottom:0}
.rp-card h3{margin:0;font-size:14px}
.rp-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:8px}
.rp-card-head small{color:var(--muted);font-size:11px}
.rp-gap{margin:18px 0 0}
.rp-muted{color:var(--muted)}
.rp-eyebrow{font-size:12px;color:var(--muted);font-weight:600}
.rp-big{font-size:34px;font-weight:780;line-height:1.1;margin:6px 0 8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.rp-big small{font-size:15px;font-weight:500;color:var(--muted);margin-left:4px}
.rp-chip{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;padding:3px 8px;border-radius:999px}
.rp-chip.good{background:#e4f3ed;color:var(--green)}
.rp-chip.bad{background:#fae7e8;color:var(--red)}
.rp-chip.flat{background:#eef0f5;color:var(--muted)}
.rp-vs{font-size:12px;color:var(--muted);margin-left:6px}
.rp-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.rp-k{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.rp-dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.rp-pair strong{display:block;font-size:19px;margin:5px 0 4px;font-variant-numeric:tabular-nums}
.rp-rate{margin-top:14px}
.rp-row{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);margin-bottom:6px}
.rp-row b{color:var(--ink)}
.rp-row-sm{font-size:11px;margin:6px 0 0}
.rp-row-sm svg{width:12px;height:12px;vertical-align:-2px}
.rp-track{height:7px;border-radius:7px;background:#eef0f5;overflow:hidden;display:flex}
.rp-track i{display:block;height:100%}
.rp-stack{margin-bottom:12px}
.rp-toggle{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.rp-switch{width:34px;height:20px;border-radius:20px;background:#cfd3dc;position:relative;transition:.15s;display:block}
.rp-switch:after{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.15s;box-shadow:0 1px 3px #0003}
.rp-toggle.on .rp-switch{background:var(--blue)}
.rp-toggle.on .rp-switch:after{left:16px}
.rp-readout{min-height:34px;margin-bottom:6px;display:flex;gap:14px;align-items:center;font-size:12px;flex-wrap:wrap}
.rp-chart{width:100%;height:auto;display:block}
.rp-legend{display:flex;gap:14px;font-size:11px;color:var(--muted);margin-top:8px;flex-wrap:wrap}
.rp-legend span{display:inline-flex;align-items:center;gap:5px}
.rp-dash{width:14px;border-top:2px dashed #727681;display:inline-block}
.rp-cat{display:grid;grid-template-columns:10px 1fr auto;gap:4px 10px;align-items:center;padding:9px 0;border-top:1px solid var(--line);width:100%;text-align:left}
.rp-card .rp-stack+.rp-cat{border-top:0}
.rp-name{font-size:13px;font-weight:600;min-width:0;overflow-wrap:anywhere}
.rp-sum{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;text-align:right}
.rp-sub{grid-column:2/4;display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:-2px}
.rp-cat-sub{padding:6px 0 6px 20px;border-top:0;background:#fbfbfd}
.rp-cat-sub .rp-name{font-weight:500;font-size:12px}
.rp-cat-sub .rp-sum{font-size:12px}
.rp-link{color:var(--blue);font-size:12px;font-weight:650;padding:8px 0 0;display:block;width:100%;text-align:center}
.rp-split{display:grid;gap:14px}
.rp-bar .rp-row{margin-bottom:6px}
.rp-plans{display:flex;gap:8px;margin-top:12px}
.rp-plan{flex:1;min-width:0;border:1px solid var(--line);border-radius:14px;padding:10px}
.rp-plan small{display:block;color:var(--muted);font-size:11px}
.rp-plan b{display:block;margin-top:3px;font-size:15px}
.rp-plan em{font-style:normal;font-size:11px;color:var(--muted)}
.rp-goal{padding:10px 0;border-top:1px solid var(--line)}
.rp-goal:first-of-type{border-top:0;padding-top:0}
.rp-goal .rp-row{margin-bottom:7px;font-size:13px}
.rp-goal .rp-row b{font-weight:600}
.rp-goal .rp-row span{font-weight:700}
.rp-debts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rp-debt{border-radius:14px;padding:12px;background:#eef0f5;text-align:left}
.rp-debt small{display:block;color:var(--muted);font-size:11px}
.rp-debt b{display:block;font-size:17px;margin:4px 0 2px;font-variant-numeric:tabular-nums}
.rp-debt em{font-style:normal;font-size:11px}
.rp-item{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--line);width:100%;text-align:left}
.rp-item:first-of-type{border-top:0}
.rp-item b{font-size:13px;display:block;overflow-wrap:anywhere}
.rp-item small{color:var(--muted);font-size:11px}
.rp-amt{font-weight:700;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--red)}
.rp-empty{text-align:center;color:var(--muted);padding:26px 10px;font-size:13px;line-height:1.7}
.rp-sheet-sub{font-size:12px;margin:0 0 4px}
.rp-grp{margin-top:12px}
.rp-gh{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.rp-gh h4{margin:0;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.rp-gh .rp-link{width:auto;padding:4px 0}
.rp-opts{background:#fff;border:1px solid #e9eaf0;border-radius:16px;overflow:hidden}
.rp-opt{display:flex;align-items:center;gap:12px;padding:12px 14px;border-top:1px solid var(--line);width:100%;text-align:left}
.rp-opts>.rp-opt:first-child,.rp-opts>.rp-hint:first-child{border-top:0}
.rp-nm{flex:1;font-size:14px;font-weight:600;min-width:0;overflow-wrap:anywhere}
.rp-am{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.rp-cb{width:22px;height:22px;border-radius:7px;border:2px solid #c4c9d4;display:grid;place-items:center;flex-shrink:0;color:#fff;font-size:13px;font-weight:800;line-height:1;background:#fff}
.rp-cb.on,.rp-cb.mix{background:var(--blue);border-color:var(--blue)}
.rp-opt.sub{padding-left:46px;background:#fbfbfd}
.rp-opt.sub .rp-nm{font-weight:500}
.rp-opt-wrap{position:relative;border-top:1px solid var(--line)}
.rp-opt-wrap .rp-opt{border-top:0;padding-right:52px}
.rp-chev{position:absolute;right:10px;top:50%;margin-top:-15px;width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:var(--muted);font-size:12px;transition:transform .15s}
.rp-chev.open{transform:rotate(90deg)}
.rp-hint{font-size:11px;color:var(--muted);padding:8px 14px;background:#fbfbfd;border-top:1px solid var(--line);line-height:1.45}
.rp-sheet-actions{display:flex;gap:10px;margin-top:16px}
.rp-sheet-actions button{margin-top:0;flex:1}
.rp-sheet-actions .primary-button{flex:1.6}
/* ---------- Tarix (yangi) ---------- */
.hist{max-width:560px;margin:0 auto}
.hist-top{display:flex;align-items:center;justify-content:space-between;margin:8px 0 12px}
.hist-top h2{font-size:24px}
.hist-top p{font-size:12px;color:var(--muted);margin-top:4px}
.hist-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 12px;height:42px;margin-bottom:10px}
.hist-search svg{width:17px;height:17px;color:var(--muted)}
.hist-search input{border:0;background:none;height:40px;padding:0;font-size:14px;outline:0}
.hist-bar{display:flex;gap:8px;align-items:center;margin-bottom:8px}
.hist-periods{display:flex;flex:1;background:#e7e9ef;border-radius:10px;padding:3px;min-width:0}
.hist-periods button{flex:1;padding:6px 2px;border-radius:7px;font-size:12px;font-weight:650;color:var(--muted);white-space:nowrap}
.hist-periods button.active{background:#fff;color:var(--ink);box-shadow:0 1px 5px #11182712}
.hist-filter-btn{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:10px;height:36px;padding:0 11px;font-size:13px;font-weight:650;flex-shrink:0}
.hist-filter-btn svg{width:16px;height:16px}
.hist-filter-btn.on{border-color:var(--blue);color:var(--blue);background:#eaf3fe}
.hist-badge{font-style:normal;background:var(--blue);color:#fff;border-radius:999px;font-size:11px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 5px}
.hist-active{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.hist-chip{display:inline-flex;align-items:center;gap:6px;background:#eaf3fe;color:var(--blue);border-radius:999px;font-size:12px;font-weight:650;padding:5px 9px}
.hist-chip i{font-style:normal;font-size:10px}
.hist-clear{font-size:12px;color:var(--muted);font-weight:650;padding:6px}
.hist-day{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:var(--muted);font-weight:650;margin:16px 2px 6px}
.hist-day b{font-size:12px}
.hist-group{background:var(--paper);border:1px solid #e9eaf0;border-radius:16px;overflow:hidden}
.hist-row{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:10px 12px;border-top:1px solid var(--line);min-width:0}
.hist-group>.hist-row:first-child{border-top:0}
.hist-row:active{background:#f6f7fa}
.hist-copy{flex:1;min-width:0}
.hist-copy b{display:block;font-size:13.5px;font-weight:620;overflow-wrap:anywhere}
.hist-copy small{display:block;font-size:11px;margin-top:2px;color:var(--muted);overflow-wrap:anywhere}
.hist-amt{text-align:right;flex-shrink:0;max-width:46%}
.hist-amt b{display:block;font-size:13.5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.hist-amt small{display:block;font-size:10.5px;margin-top:2px;color:var(--muted)}
.hist-row.cancelled{opacity:.5}
.hist-row.cancelled b{text-decoration:line-through}
.hist-more{display:block;width:100%;margin-top:12px;padding:12px;border-radius:12px;background:#e6edf6;color:var(--blue);font-weight:650;font-size:13px}
.hist-more small{font-weight:500;color:var(--muted)}
.hist-pills{display:flex;flex-wrap:wrap;gap:8px}
.hist-pill{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 13px;font-size:13px;font-weight:600}
.hist-pill.on{background:var(--blue);border-color:var(--blue);color:#fff}
/* ---------- Umumiy (yangi) ---------- */
.gn{max-width:560px;margin:0 auto}
.gn-top{margin:8px 0 12px}
.gn-top h2{font-size:24px}
.gn-top p{font-size:12px;color:var(--muted);margin-top:4px}
.gn-card{display:block;width:100%;background:var(--paper);border:1px solid #e9eaf0;border-radius:20px;padding:16px;margin-bottom:12px;text-align:left}
.gn-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:8px}
.gn-head h3{margin:0;font-size:14px}
.gn-head small{color:var(--muted);font-size:11px}
.gn-link{display:inline-flex;align-items:center;gap:2px;color:var(--blue);font-size:12px;font-weight:650}
.gn-link svg{width:14px;height:14px}
.gn-eyebrow{font-size:11px;color:var(--muted);font-weight:650;letter-spacing:.04em;text-transform:uppercase}
.gn-big{font-size:34px;font-weight:780;line-height:1.1;margin:6px 0 4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.gn-big small{font-size:15px;font-weight:500;color:var(--muted);margin-left:4px}
.gn-sub{font-size:12px;color:var(--muted)}
.gn-split{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.gn-split>div{background:#eef0f5;border-radius:14px;padding:11px 12px;min-width:0}
.gn-split small{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}
.gn-split svg{width:14px;height:14px}
.gn-split b{display:block;font-size:17px;margin-top:4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.gn-foot{display:flex;justify-content:space-between;gap:10px;margin-top:12px;padding-top:11px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);flex-wrap:wrap}
.gn-foot b{color:var(--ink)}
.gn-foot button{text-align:left;font-size:12px;color:var(--muted)}
.gn-foot b.positive{color:var(--green)}
.gn-foot b.negative{color:var(--red)}
.gn-trio{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;text-align:center}
.gn-trio small{display:block;color:var(--muted);font-size:11px}
.gn-trio b{display:block;font-size:15px;margin-top:3px;font-variant-numeric:tabular-nums}
.gn-limit{margin-top:12px}
.gn-row{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);margin-bottom:6px}
.gn-row b{color:var(--ink);font-size:13px}
.gn-track{height:7px;border-radius:7px;background:#eef0f5;overflow:hidden}
.gn-track i{display:block;height:100%}
.gn-chip{font-style:normal;font-size:11px;font-weight:700;padding:2px 7px;border-radius:999px;background:#fae7e8;color:var(--red)}
.gn-users{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gn-user{border:1px solid var(--line);border-radius:16px;padding:12px;min-width:0}
.gn-uname{font-size:12px;color:var(--muted);font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gn-uval{font-size:17px;font-weight:750;margin:4px 0 6px;font-variant-numeric:tabular-nums}
.gn-usub{display:grid;gap:3px;font-size:11px;color:var(--muted)}
.gn-usub span{white-space:nowrap}
.gn-usub svg{width:12px;height:12px;vertical-align:-2px}
.gn-rem{display:flex;align-items:center;gap:10px;width:100%;padding:10px 0;border-top:1px solid var(--line);text-align:left}
.gn-head+.gn-rem{border-top:0;padding-top:0}
.gn-ico{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;flex-shrink:0;background:#eaf1fb;color:var(--blue)}
.gn-ico.late{background:#fae7e8;color:var(--red)}
.gn-ico svg{width:17px;height:17px}
.gn-rc{flex:1;min-width:0}
.gn-rc b{display:block;font-size:13px;overflow-wrap:anywhere}
.gn-rc small{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.gn-amt{font-weight:700;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.gn-goal{display:block;width:100%;padding:9px 0;text-align:left}
.gn-goal-main{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px}
.gn-goal-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:color-mix(in srgb,var(--goal-color) 14%,white);font-size:22px;line-height:1}
.gn-goal-body{display:block;min-width:0}
.gn-goal .gn-row{margin-bottom:7px;font-size:13px;color:var(--ink)}
.gn-goal .gn-row span{font-weight:700}
.gn-goal small{font-weight:500;color:var(--muted)}
.gn-recent{margin:0 -6px}
.gn-recent .hist-row{padding-left:6px;padding-right:6px}
.gn-recent .hist-row:first-child{border-top:0}

/* Davr/filtr paneli aylantirilganda tepada qotib turadi */
.sticky-bar{position:sticky;top:0;z-index:6;background:var(--bg);padding:8px 0 2px;margin-top:-4px}
.sticky-bar>:last-child{margin-bottom:6px}
.sticky-bar .hist-search{margin-bottom:8px}
.sticky-bar .rp-filters{margin-bottom:8px}
.sticky-bar .rp-nav{margin-bottom:6px}
.sticky-bar .hist-bar{margin-bottom:6px}
