@import"https://fonts.bunny.net/css?family=inter:400,500,600,700,800|playfair-display:500,600,700|noto-sans-arabic:400,500,600,700|noto-serif-arabic:500,600,700";:root{--color-primary: #285746;--color-primary-dark: #183d31;--color-sage: #8fa99a;--color-ivory: #f1f4f3;--color-white: #fbfcfb;--color-cream: #f2eee5;--color-text: #26332d;--color-muted: #7d857f;--color-negative: #b85c5c;--color-positive: #3d8068;--brand: var(--color-primary);--brand-dark: var(--color-primary-dark);--brand-soft: color-mix(in srgb, var(--color-primary) 10%, transparent);--accent: var(--color-sage);--amber: #b99455;--ink: var(--color-text);--muted: var(--color-muted);--surface: var(--color-white);--paper: var(--color-ivory);--line: color-mix(in srgb, var(--color-sage) 34%, var(--color-white));--shadow: 0 8px 24px rgba(38, 51, 45, .07);--shadow-soft: 0 4px 14px rgba(38, 51, 45, .05);--panel-soft: var(--color-ivory);--sidebar-bg: var(--color-white);--header-bg: var(--color-white);--menu-bg: var(--color-white);--input-bg: var(--color-white);--toggle-bg: color-mix(in srgb, var(--color-primary) 10%, transparent);--radius-card: 20px;--radius-control: 12px;--space-page: 24px;--space-card: 24px;--space-control: 12px 16px;--font-ui: "Inter", sans-serif;--font-display: "Playfair Display", Georgia, serif;--font-arabic-ui: "Noto Sans Arabic", sans-serif;--font-arabic-display: "Noto Serif Arabic", serif;--font-size-body: .9375rem;--font-size-small: .8125rem;--font-size-value: clamp(1.45rem, 3vw, 2.35rem);--line-height-body: 1.55;--line-height-heading: 1.15}html{font-family:var(--font-ui);font-size:16px;line-height:var(--line-height-body);text-rendering:optimizeLegibility}body{font-family:var(--font-ui);font-size:var(--font-size-body);font-weight:400;letter-spacing:0;line-height:var(--line-height-body)}h1,h2,h3,h4,h5,h6,.ds-heading,.ds-value{font-family:var(--font-display);font-weight:600;letter-spacing:0;line-height:var(--line-height-heading)}.ds-body,.ds-ui{font-family:var(--font-ui)}.ds-heading{margin:0;color:var(--color-text);font-size:clamp(1.5rem,4vw,2.25rem)}.ds-value{color:var(--color-text);font-size:var(--font-size-value);font-variant-numeric:tabular-nums}.ds-caption{color:var(--color-muted);font-family:var(--font-ui);font-size:var(--font-size-small);line-height:1.45}html[lang^=ar],html[dir=rtl],[dir=rtl]{font-family:var(--font-arabic-ui)}html[lang^=ar] body,html[dir=rtl] body,[dir=rtl]{font-family:var(--font-arabic-ui);direction:rtl;text-align:right}html[lang^=ar] h1,html[lang^=ar] h2,html[lang^=ar] h3,html[lang^=ar] h4,html[lang^=ar] h5,html[lang^=ar] h6,html[lang^=ar] .ds-heading,html[lang^=ar] .ds-value,html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3,html[dir=rtl] h4,html[dir=rtl] h5,html[dir=rtl] h6,html[dir=rtl] .ds-heading,html[dir=rtl] .ds-value,[dir=rtl] .ds-heading,[dir=rtl] .ds-value{font-family:var(--font-arabic-display);line-height:1.35}[dir=rtl] .ds-ui,[dir=rtl] .ds-body,[dir=rtl] .ds-caption{font-family:var(--font-arabic-ui)}[dir=rtl] .ds-button,[dir=rtl] .ds-input,[dir=rtl] .ds-select,[dir=rtl] .ds-textarea{text-align:right}[dir=rtl] .ds-value,[dir=rtl] .ds-amount--positive,[dir=rtl] .ds-amount--negative{font-variant-numeric:tabular-nums;direction:ltr;text-align:right}.ds-page{min-height:100%;background:var(--color-ivory);color:var(--color-text)}.ds-card{padding:var(--space-card);border:1px solid color-mix(in srgb,var(--color-sage) 28%,var(--color-white));border-radius:var(--radius-card);background:var(--color-white);box-shadow:var(--shadow)}.ds-card--cream{background:var(--color-cream)}.ds-card--forest{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-white)}.ds-stack{display:flex;flex-direction:column;gap:16px}.ds-grid{display:grid;gap:16px}.ds-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-label{color:var(--color-muted);font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.ds-title{margin:0;color:var(--color-text);font-size:clamp(1.5rem,4vw,2.25rem);line-height:1.1}.ds-text-muted{color:var(--color-muted)}.ds-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:var(--space-control);border:1px solid transparent;border-radius:var(--radius-control);font:inherit;font-weight:800;text-decoration:none;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease}.ds-button:hover{transform:translateY(-1px)}.ds-button--primary{background:var(--color-primary);color:var(--color-white)}.ds-button--primary:hover{background:var(--color-primary-dark)}.ds-button--secondary{background:var(--color-white);border-color:var(--color-sage);color:var(--color-primary-dark)}.ds-button--quiet{background:var(--color-cream);color:var(--color-primary-dark)}.ds-button--danger{background:color-mix(in srgb,var(--color-negative) 10%,var(--color-white));border-color:color-mix(in srgb,var(--color-negative) 24%,var(--color-white));color:var(--color-negative)}.ds-input,.ds-select,.ds-textarea{width:100%;min-height:44px;padding:var(--space-control);border:1px solid color-mix(in srgb,var(--color-sage) 36%,var(--color-white));border-radius:var(--radius-control);background:var(--color-white);color:var(--color-text);font:inherit}.ds-input:focus,.ds-select:focus,.ds-textarea:focus,.ds-button:focus-visible{outline:3px solid color-mix(in srgb,var(--color-sage) 35%,transparent);outline-offset:2px}.ds-badge{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:var(--color-cream);color:var(--color-primary-dark);font-size:.75rem;font-weight:800}.ds-badge--positive{background:color-mix(in srgb,var(--color-positive) 12%,var(--color-white));color:var(--color-positive)}.ds-badge--negative{background:color-mix(in srgb,var(--color-negative) 12%,var(--color-white));color:var(--color-negative)}.ds-amount--positive{color:var(--color-positive)}.ds-amount--negative{color:var(--color-negative)}.profile-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.4fr);gap:18px}.profile-hero{display:flex;align-items:center;gap:16px;min-height:220px}.profile-avatar{display:grid;flex:0 0 74px;place-items:center;width:74px;height:74px;border:2px solid rgba(255,255,255,.28);border-radius:24px;background:#ffffff24;color:var(--color-white);font-family:var(--font-display);font-size:2rem}.profile-hero .ds-label,.profile-hero h2,.profile-hero p{color:var(--color-white)}.profile-hero h2,.profile-section-heading h2{margin:5px 0 0;font-family:var(--font-display);font-size:1.45rem}.profile-hero p{margin:6px 0 0;opacity:.78;overflow-wrap:anywhere}.profile-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--line)}.profile-detail-list{display:grid;gap:0;margin:0}.profile-detail-list>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}.profile-detail-list dt{color:var(--muted);font-size:.8rem}.profile-detail-list dd{margin:0;color:var(--ink);font-weight:700;text-align:right;overflow-wrap:anywhere}.profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.profile-edit-card{grid-column:1 / -1}.profile-edit-form{display:grid;gap:16px;margin-top:20px}.profile-form-field{display:grid;gap:6px}.profile-form-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.profile-form-divider:after{content:"";height:1px;flex:1;background:var(--line)}.profile-form-help{color:var(--muted);font-size:.75rem}.profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-save-button{width:fit-content;min-width:150px;border:0}@media(max-width:640px){.profile-layout{grid-template-columns:1fr;gap:12px}.profile-hero{min-height:148px;padding:18px}.profile-avatar{flex-basis:60px;width:60px;height:60px;border-radius:18px;font-size:1.6rem}.profile-hero h2{font-size:1.25rem}.profile-details{padding:18px}.profile-detail-list>div{align-items:flex-start;flex-direction:column;gap:4px}.profile-detail-list dd{text-align:left}.profile-actions{display:grid;grid-template-columns:1fr}.profile-actions .ds-button{width:100%}.profile-form-grid{grid-template-columns:1fr;gap:16px}.profile-save-button{width:100%}}@media(max-width:640px){:root{--space-page: 16px;--space-card: 18px}.ds-grid--two{grid-template-columns:1fr}}body[data-theme=dark]{--brand: #59d4c8;--brand-dark: #37b9ae;--brand-soft: rgba(89, 212, 200, .12);--accent: #ff8e72;--amber: #f7c871;--ink: #edf6f7;--muted: #9fb9ba;--surface: #16222c;--paper: #071b23;--line: rgba(176, 206, 212, .18);--shadow: 0 20px 40px rgba(2, 6, 10, .42);--panel-soft: #172933;--sidebar-bg: rgba(14, 22, 30, .96);--header-bg: rgba(7, 17, 23, .96);--menu-bg: rgba(18, 27, 34, .98);--input-bg: #101b22;--toggle-bg: rgba(89, 212, 200, .12)}body[data-theme=dark]{background:radial-gradient(circle at top right,rgba(89,212,200,.08),transparent 26%),var(--paper)}body[data-theme=dark] .topbar{background:#e4e9ebf5;border-color:#8c9ea659;box-shadow:0 10px 28px #040e136b}body[data-theme=dark] .topbar h1,body[data-theme=dark] .topbar small,body[data-theme=dark] .topbar .status-pill{color:#12242d}body[data-theme=dark] .topbar small{color:#5a6b6f}body[data-theme=dark] .app-header{background:#08181ff5;border-bottom-color:#b0ced424;box-shadow:0 8px 24px #01080c57}body[data-theme=dark] .header-currency select,body[data-theme=dark] .user-block{background:#12262df0;border-color:#b0ced433;color:#edf6f7}body[data-theme=dark] .header-icon{background:#12262db8;border-color:#b0ced433;color:#b9d7d8}body[data-theme=dark] .header-action-btn{background:linear-gradient(135deg,#59d4c833,#59d4c861);border-color:#59d4c859;color:#0a2d35;box-shadow:0 8px 18px #59d4c82e}body[data-theme=dark] .sidebar{background:linear-gradient(180deg,#0b141bf5,#091118eb);border-right-color:#b0ced41f}body[data-theme=dark] .nav-link{color:#edf6f7b8}body[data-theme=dark] .nav-link.active{background:#59d4c81a;color:#78e7dd}body[data-theme=dark] .metric-card{background:linear-gradient(145deg,#102b34,#0d202a 58%,#0a1922);border-color:#63d8ce2e;box-shadow:0 18px 32px #02080c4d,inset 0 1px #ffffff0a}body[data-theme=dark] .metric-card .metric-icon{background:#59d4c81f;color:#79e5d9}body[data-theme=dark] .metric-value,body[data-theme=dark] .metric-foot,body[data-theme=dark] .metric-label{color:#edf6f7}body[data-theme=dark] .metric-foot{opacity:.8}body[data-theme=dark] .topbar{background:linear-gradient(120deg,#17343d,#102831 58%,#0e212b);border-color:#63d8ce33;box-shadow:0 18px 34px #01080c4d,inset 0 1px #ffffff0d}body[data-theme=dark] .topbar h1{color:#effafa}body[data-theme=dark] .topbar small{color:#a9c7c7}body[data-theme=dark] .panel{background:#0c151df5;border-color:#b0ced41f;box-shadow:0 18px 26px #02080c38}body[data-theme=dark] .smart-reports{background:linear-gradient(145deg,#0e2028fa,#09161dfa);border-color:#63d8ce29;box-shadow:0 20px 34px #01080c4d,inset 0 1px #ffffff0a}body[data-theme=dark] .report-card{background:linear-gradient(145deg,#1a3942,#142c35 55%,#10242d);border-color:#b0ced42e;color:#e1f0ef;box-shadow:0 10px 20px #01080c38,inset 0 1px #ffffff0d}body[data-theme=dark] .report-card .report-card-header,body[data-theme=dark] .report-card p,body[data-theme=dark] .report-card h4{color:#d9eeec}body[data-theme=dark] .report-card .report-card-header strong{color:#63d8ce}body[data-theme=dark] .report-card.highlight{background:linear-gradient(145deg,#185c59d1,#0f343cfa);border-color:#63d8ce4d}body[data-theme=dark] .report-card .report-card-header strong.negative{color:#ffad8d}body[data-theme=dark] .data-table{background:#0d1f27d1;border-color:#b0ced429}body[data-theme=dark] .data-table thead th{background:#59d4c814;color:#a9c7c7}body[data-theme=dark] .data-table th,body[data-theme=dark] .data-table td{border-bottom-color:#b0ced41f;color:#d9eeec}body[data-theme=dark] .data-table tbody tr:hover{background:#59d4c80f}body[data-theme=dark] .badge.income{background:#59d4c829;border:1px solid rgba(89,212,200,.16);color:#63d8ce}body[data-theme=dark] .badge.expense{background:#ff8e7229;border:1px solid rgba(255,142,114,.18);color:#ffad8d}body[data-theme=dark] .amount.positive{color:#35c78c}body[data-theme=dark] .amount.negative{color:#ff806f}body[data-theme=dark] .status-pill{background:#59d4c81f;border:1px solid rgba(89,212,200,.15);color:#7fe8da}body[data-theme=dark] .data-table th,body[data-theme=dark] .data-table td,body[data-theme=dark] .account-box,body[data-theme=dark] .account-summary-card,body[data-theme=dark] .modal-panel{border-color:#b0ced41f}body[data-theme=dark] .account-box,body[data-theme=dark] .account-summary-card{background:#111d24f5}body[data-theme=dark] .account-filter-bar{background:linear-gradient(145deg,#122c34f5,#0c1d25f5);border-color:#63d8ce29;box-shadow:inset 0 1px #ffffff0a}body[data-theme=dark] .filter-chip{background:#12262dd6;border-color:#b0ced429;color:#a9c7c7}body[data-theme=dark] .filter-chip:hover,body[data-theme=dark] .filter-chip.active{background:#59d4c824;border-color:#59d4c847;color:#63d8ce}body[data-theme=dark] .modal-backdrop{background:#050a0c9e}body[data-theme=dark] .modal-panel{background:#0d161dfa;box-shadow:0 24px 60px #01060880}body[data-theme=dark] .tab-switcher{background:#ffffff0a;border-color:#b0ced41f}body[data-theme=dark] .tab-btn.active{background:#59d4c81f;color:#79e5d9}body[data-theme=dark] .badge.income{background:#59d4c824;color:#7ee6d9}body[data-theme=dark] .badge.expense{background:#ff8e7224;color:#ffad8d}body[data-theme=dark] .mobile-dashboard-section-heading h2{color:#cfe8e6}body[data-theme=dark] .mobile-dashboard-section-heading a,body[data-theme=dark] .mobile-dashboard-section-heading>span,body[data-theme=dark] .mobile-dashboard-account-icon,body[data-theme=dark] .mobile-dashboard-account-copy b,body[data-theme=dark] .mobile-dashboard-card-arrow{color:#63d8ce}body[data-theme=dark] .mobile-dashboard-account-card{background:linear-gradient(145deg,#142c35,#10242d);border-color:#b0ced429;box-shadow:0 8px 18px #01080c3d}body[data-theme=dark] .mobile-dashboard-account-icon{background:#59d4c824}body[data-theme=dark] .mobile-dashboard-account-copy strong{color:#e1f0ef}body[data-theme=dark] .mobile-dashboard-account-copy small,body[data-theme=dark] .mobile-dashboard-transaction-copy small{color:#91b5b6}body[data-theme=dark] .mobile-dashboard-transactions{border-top-color:#b0ced429;background:#0d1f27c7}body[data-theme=dark] .mobile-dashboard-transaction{border-bottom-color:#b0ced429}body[data-theme=dark] .mobile-dashboard-transaction-copy strong{color:#d9eeec}body[data-theme=dark] .mobile-dashboard-transaction-icon.income{background:#59d4c824;color:#63d8ce}body[data-theme=dark] .mobile-dashboard-transaction-icon.expense{background:#ff8e7224;color:#ffad8d}body[data-theme=dark] .mobile-transaction-card{background:linear-gradient(145deg,#142c35,#10242d);border-color:#b0ced42e;box-shadow:0 8px 18px #01080c47,inset 0 1px #ffffff0d}body[data-theme=dark] .mobile-transaction-card:hover,body[data-theme=dark] .mobile-transaction-card:focus-visible,body[data-theme=dark] .mobile-transaction-card[aria-expanded=true]{border-color:#59d4c857;box-shadow:0 12px 24px #01080c61,inset 0 1px #ffffff12}body[data-theme=dark] .mobile-transaction-topline strong{color:#e1f0ef}body[data-theme=dark] .mobile-transaction-bottomline,body[data-theme=dark] .mobile-transaction-detail-row{color:#91b5b6}body[data-theme=dark] .mobile-transaction-amount.positive{color:#63d8ce}body[data-theme=dark] .mobile-transaction-amount.negative{color:#ff806f}body[data-theme=dark] .mobile-transaction-arrow{color:#63d8ce}body[data-theme=dark] .mobile-transaction-details{border-top-color:#b0ced424}body[data-theme=dark] .mobile-transaction-detail-row{border-bottom-color:#b0ced424}body[data-theme=dark] .mobile-transaction-detail-row strong{color:#d9eeec}body[data-theme=dark] .mobile-transaction-edit{background:linear-gradient(135deg,#159b91,#087d77);border-color:#087d77}body[data-theme=dark] .mobile-transaction-delete{background:#ff8e7224;border-color:#ff8e7238;color:#ffad8d}body[data-theme=dark] .mobile-nav-item{color:#89a9aa}body[data-theme=dark] .mobile-nav-item.active{color:#63d8ce}body[data-theme=dark] .mobile-bottom-nav{background:#0e2229f5;border-color:#b0ced433;box-shadow:0 12px 28px #01080c6b}body[data-theme=dark] .mobile-account-item{background:linear-gradient(145deg,#142c35,#10242d);border-color:#b0ced42e;box-shadow:0 8px 18px #01080c47,inset 0 1px #ffffff0f}body[data-theme=dark] .mobile-account-item:has(.mobile-account-details:not([hidden])){box-shadow:0 12px 24px #01080c61,inset 0 1px #ffffff14}body[data-theme=dark] .mobile-account-copy strong{color:#e1f0ef}body[data-theme=dark] .mobile-account-copy span,body[data-theme=dark] .mobile-account-copy small{color:#91b5b6}body[data-theme=dark] .mobile-account-balance,body[data-theme=dark] .mobile-account-balance.positive{color:#63d8ce}body[data-theme=dark] .mobile-account-balance.negative{color:#ff8e72}body[data-theme=dark] .mobile-account-toggle{background:#59d4c824;color:#63d8ce}body[data-theme=dark] .mobile-account-toggle:hover{background:#59d4c83d}body[data-theme=dark] .mobile-account-details{border-top-color:#b0ced424;background:#08181f57}body[data-theme=dark] .mobile-account-detail-row{border-bottom-color:#b0ced424;color:#a8c5c5}body[data-theme=dark] .mobile-account-detail-row strong{color:#d9eeec}body[data-theme=dark] .mobile-account-view{background:#59d4c824;border-color:#59d4c833;color:#7fe8da}body[data-theme=dark] .mobile-account-delete{background:#ff8e7224;border-color:#ff8e7238;color:#ffad8d}body[data-theme=dark] .mobile-category-card{background:linear-gradient(145deg,#142c35,#10242d);border-color:#b0ced42e;box-shadow:0 8px 18px #01080c47,inset 0 1px #ffffff0f}body[data-theme=dark] .mobile-category-color{box-shadow:0 0 0 4px #59d4c81f}body[data-theme=dark] .mobile-category-copy strong{color:#e1f0ef}body[data-theme=dark] .mobile-category-copy small,body[data-theme=dark] .mobile-category-stats span{color:#91b5b6}body[data-theme=dark] .mobile-category-arrow{color:#63d8ce}body[data-theme=dark] .mobile-category-stats{border-top-color:#b0ced424}body[data-theme=dark] .mobile-category-stats strong.positive{color:#63d8ce}body[data-theme=dark] .mobile-category-stats strong.negative{color:#ffad8d}body[data-theme=dark] .mobile-category-edit{background:linear-gradient(135deg,#159b91,#087d77);border-color:#087d77;color:#fff;box-shadow:0 4px 10px #0f8b822e}body[data-theme=dark] .mobile-category-delete{background:#ff8e7224;border-color:#ff8e7238;color:#ffad8d}body[data-theme=dark] .mobile-currency-card{background:linear-gradient(145deg,#142c35,#10242d);border-color:#b0ced42e;box-shadow:0 8px 18px #01080c47,inset 0 1px #ffffff0f}body[data-theme=dark] .mobile-currency-symbol{background:#59d4c824;color:#63d8ce}body[data-theme=dark] .mobile-currency-copy strong{color:#e1f0ef}body[data-theme=dark] .mobile-currency-copy small,body[data-theme=dark] .mobile-currency-stats span{color:#91b5b6}body[data-theme=dark] .mobile-currency-arrow{color:#63d8ce}body[data-theme=dark] .mobile-currency-stats{border-top-color:#b0ced424}body[data-theme=dark] .mobile-currency-stats strong{color:#d9eeec}body[data-theme=dark] .mobile-currency-edit{background:linear-gradient(135deg,#159b91,#087d77);border-color:#087d77;color:#fff;box-shadow:0 4px 10px #0f8b822e}body[data-theme=dark] .mobile-currency-delete{background:#ff8e7224;border-color:#ff8e7238;color:#ffad8d}*{box-sizing:border-box}html,body{margin:0;padding:0;min-height:100%;overflow-x:hidden}body{font-family:Segoe UI,sans-serif;background:radial-gradient(circle at top right,rgba(15,139,130,.12),transparent 26%),var(--paper);color:var(--ink);transition:background-color .2s ease,color .2s ease}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.auth-body{position:relative;overflow:hidden;min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--paper);padding:32px 20px}.auth-body:before{content:"";position:fixed;inset:0;background-image:url(/ChatGPT%20Image%20Sep%2024,%202026,%2009_04_21%20AM.png);background-position:left center;background-repeat:no-repeat;background-size:cover;opacity:.2;pointer-events:none}.auth-card{position:relative;z-index:1;width:min(100%,450px);background:#fffffff0;border:1px solid rgba(143,169,154,.3);border-radius:24px;box-shadow:0 18px 42px #26332d24;padding:38px 30px 30px}.auth-brand{display:flex;flex-direction:column;align-items:center;gap:14px;margin-bottom:24px;text-align:center}.auth-mark{width:92px;height:92px;border-radius:24px;display:grid;place-items:center;color:var(--color-primary-dark);font-family:var(--font-display);font-weight:600;font-size:22px;letter-spacing:.04em;background:var(--color-cream);border:1px solid rgba(40,87,70,.22);box-shadow:0 8px 18px #183d3124,inset 0 1px #ffffffbf}.auth-mark img{display:block;width:78px;max-height:78px;object-fit:contain}.auth-brand h1{margin:0;color:var(--color-primary-dark);font-family:var(--font-display);font-size:1.75rem;font-weight:600}.auth-brand p{margin:4px 0 0;color:var(--muted);font-size:.82rem}.form-row{margin-bottom:18px}.label{display:block;margin-bottom:8px;color:var(--muted);font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.input,.select,.textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:12px 14px;background:var(--input-bg);color:var(--ink);font-size:1rem}.input:focus,.select:focus,.textarea:focus{outline:3px solid rgba(15,139,130,.12);border-color:var(--brand)}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:12px 20px;font-weight:700;transition:transform .2s ease,opacity .2s ease}.btn:hover{transform:translateY(-1px)}.btn-primary{width:100%;background:linear-gradient(135deg,var(--brand) 0%,var(--brand-dark) 100%);color:#fff}.table-actions .btn,.topbar-actions .header-action-btn{width:auto;min-width:fit-content;white-space:nowrap}.table-actions .btn-primary,.topbar-actions .header-action-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;padding:12px 18px;border-radius:12px;font-size:1.05rem;line-height:1.2;box-shadow:0 8px 18px #0f8b822e}.table-actions .btn-primary{width:auto;background:linear-gradient(135deg,var(--brand) 0%,var(--brand-dark) 100%)}.table-actions .btn-primary.account-overview-add-button{min-height:42px;gap:8px;padding:10px 16px;border:1px solid color-mix(in srgb,var(--brand-dark) 35%,transparent);border-radius:10px;font-size:.9rem;font-weight:700;box-shadow:0 4px 10px #183d3129;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.table-actions .btn-primary.account-overview-add-button:hover{transform:translateY(-1px);box-shadow:0 6px 14px #183d3138}.table-actions .btn-primary.account-overview-add-button:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 35%,transparent);outline-offset:2px}.account-overview-add-button span{font-size:1.2rem;font-weight:500;line-height:1}.auth-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;font-size:.85rem;color:var(--muted)}.checkbox{display:flex;align-items:center;gap:8px}.mt-2{margin-top:12px}.alert{margin-bottom:16px;padding:12px 14px;border-radius:10px;border:1px solid #cfe9df;background:#edfdf7;color:#0f766e;font-size:.9rem}.alert-success{border-color:#cfe9df;background:#edfdf7;color:#0f766e}.app-header{position:fixed;top:0;left:0;right:0;z-index:20;height:92px;background:var(--header-bg);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:18px 28px;box-shadow:0 6px 18px #1018280a}.header-currency{display:flex;align-items:center;gap:14px;min-width:260px}.mobile-header-center{display:contents}.mobile-greeting,.dashboard-greeting-subtitle{display:none}.header-currency label{font-size:.8rem;font-weight:800;letter-spacing:.1em;color:var(--muted);text-transform:uppercase}.header-currency select{width:210px;height:52px;border:1px solid var(--line);border-radius:10px;background:var(--input-bg);color:var(--ink);padding:0 16px;font-size:1.1rem;font-weight:700;outline:none}.header-user{display:flex;align-items:center;gap:18px;margin-left:auto}.header-icon{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:transparent;display:grid;place-items:center;color:var(--ink)}.header-icon svg{width:22px;height:22px;fill:currentColor}.user-menu-wrap{position:relative}.user-block{display:flex;align-items:center;gap:12px;padding:6px 12px 6px 6px;border:1px solid var(--line);border-radius:999px;background:var(--surface);cursor:pointer}.user-menu-toggle{appearance:none;border:1px solid var(--line)}.user-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--brand) 0%,var(--brand-dark) 100%);display:grid;place-items:center;color:#fff;font-weight:800;border:2px solid rgba(15,139,130,.15)}.user-meta{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2;text-align:left}.user-meta strong{font-size:1rem}.user-meta span{color:var(--muted);font-size:.8rem}.user-menu{position:absolute;right:0;top:calc(100% + 10px);width:248px;padding:10px;border:1px solid rgba(15,139,130,.12);border-radius:18px;background:var(--menu-bg);box-shadow:0 20px 42px #0f232329,0 4px 10px #0f23230d;z-index:20}.user-menu:before{content:"";position:absolute;top:-6px;right:24px;width:11px;height:11px;border-top:1px solid rgba(15,139,130,.12);border-left:1px solid rgba(15,139,130,.12);background:var(--menu-bg);transform:rotate(45deg)}.user-menu-theme{display:grid;gap:8px;padding:12px 12px 10px;margin:4px 0 6px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.user-menu-label{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.user-menu-theme-options{display:flex;gap:8px}.theme-choice{flex:1;min-height:42px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:var(--input-bg);color:var(--ink);font-weight:700;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease}.theme-choice:hover{border-color:#0f8b8259;transform:translateY(-1px)}.theme-choice.active{background:linear-gradient(180deg,#0f8b821f,#0f8b820d);border-color:#0f8b824d;color:var(--brand-dark);box-shadow:inset 0 0 0 1px #0f8b820f}.user-menu form{margin:0}.user-menu-item{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:42px;padding:10px 13px;border:0;border-radius:10px;background:transparent;color:var(--ink);text-decoration:none;font-size:.96rem;font-weight:700;text-align:left;cursor:pointer}.user-menu-item:hover{background:linear-gradient(90deg,#0f8b821a,#0f8b820a);color:var(--brand-dark)}.user-menu-logout{width:100%;border:0;margin-top:2px;background:transparent;color:#b14949}.user-menu-logout:hover{background:#b1494914;color:#a43c3c}.page-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh;padding-top:92px;min-width:0}.sidebar{position:sticky;top:92px;align-self:start;height:calc(100vh - 92px);background:#f4f6f5;border-right:1px solid var(--line);padding:26px 18px;min-width:0}.brand-row{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:28px;padding:8px 10px;min-height:132px}.brand-logo{width:120px;height:120px;object-fit:contain;flex-shrink:0}.brand-badge{width:120px;height:120px;border-radius:28px;background:linear-gradient(135deg,var(--brand) 0%,var(--brand-dark) 100%);display:grid;place-items:center;color:#fff;font-weight:700;flex-shrink:0}.brand-row h2,.brand-row small{display:none}.nav-menu{display:flex;flex-direction:column;gap:8px}.nav-link{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:10px;color:var(--muted);font-weight:700;transition:all .2s ease}.nav-link:hover{background:#0f8b8229;color:var(--brand-dark)}.nav-link.active{background:#0f8b8217;color:var(--brand-dark)}.nav-link span{width:24px;height:24px;border-radius:8px;background:#0f8b8214;display:inline-flex;align-items:center;justify-content:center;font-size:.75rem}.nav-link .nav-icon{width:34px;height:34px;border:1px solid transparent;font-size:.8rem;font-weight:800}.nav-link .nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-icon-dashboard{background:#d9f3ee!important;border-color:#b9e5dc!important;color:#087d77}.nav-icon-accounts{background:#e0efff!important;border-color:#c6e1fb!important;color:#1769aa}.nav-icon-categories{background:#fff0d8!important;border-color:#f5d9a8!important;color:#aa6a05}.nav-icon-currencies{background:#e8e7ff!important;border-color:#d4d2f8!important;color:#5650a8}.nav-icon-reports{background:#ffe3e0!important;border-color:#f5c8c2!important;color:#b14b42}.nav-icon-settings{background:#e5e9ed!important;border-color:#d1d9df!important;color:#52606d}.sidebar-footer{margin-top:32px;padding-top:18px;border-top:1px solid var(--line)}.logout-btn{width:100%;background:transparent;border:1px solid var(--line);border-radius:10px;padding:10px 12px;color:var(--ink);font-weight:700}.workspace{padding:28px;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;background:#fffc;border:1px solid var(--line);border-radius:18px;padding:18px 22px;box-shadow:var(--shadow);margin-bottom:24px}.topbar h1{margin:0;font-size:clamp(1.8rem,2vw,2.5rem)}.dashboard-title-with-greeting{font-family:var(--font-display);font-weight:600;letter-spacing:0}.topbar small{color:var(--muted)}.topbar-actions{display:flex;align-items:center;gap:12px}.header-action-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(15,139,130,.2);background:#0f8b821a;color:var(--brand-dark);border-radius:12px;padding:10px 16px;min-height:44px;font-weight:800;font-size:.96rem;box-shadow:inset 0 0 0 1px #0f8b820a;width:auto;max-width:fit-content}.header-action-btn span{font-size:1.1rem;line-height:1}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.dashboard-desktop-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:18px 20px}.metric-label{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.metric-icon{width:28px;height:28px;border-radius:8px;display:inline-grid;place-items:center;background:#0f8b821a;color:var(--brand-dark);font-weight:700}.metric-value{margin-top:18px;font-size:clamp(1.5rem,2vw,2.1rem);font-weight:800;letter-spacing:-.04em}.metric-foot{margin-top:8px;color:var(--muted);font-size:.8rem}.metric-foot strong.positive{color:#1a9b65}.metric-foot strong.negative{color:#d75b4f}.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px}.smart-reports{padding:20px}.smart-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:16px}.report-card{background:linear-gradient(180deg,#fff,#f7fbfb);border:1px solid var(--line);border-radius:16px;padding:18px 16px;min-height:160px}.report-card.highlight{background:linear-gradient(135deg,#0f8b821f,#fffffff5);border-color:#0f8b8233}.report-card-header{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.report-card h4{margin:18px 0 10px;font-size:clamp(1.4rem,2vw,2rem);letter-spacing:-.04em}.report-card p{margin:0;color:var(--muted);font-size:.9rem}.panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:20px}.panel h3{margin:0 0 18px;font-size:1.2rem}.inline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-help{margin-top:8px;color:var(--muted);font-size:.8rem}.table-panel{overflow:hidden}.desktop-account-table{display:block}.account-card-grid{display:none!important}.mobile-account-list{display:none}.table-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.table-head h3{margin:0}.table-wrap{overflow-x:auto}.mobile-transaction-list,.mobile-dashboard-content,.mobile-category-list,.mobile-currency-list{display:none}.data-table{width:100%;border-collapse:separate;border-spacing:0;min-width:720px;background:#fffc;border:1px solid var(--line);border-radius:18px;overflow:hidden}.data-table th,.data-table td{text-align:left;padding:16px 14px;border-bottom:1px solid var(--line);vertical-align:middle}.data-table thead th{background:#0f8b820a;color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.data-table tbody tr{transition:background .2s ease}.data-table tbody tr:hover{background:#0f8b8208}.data-table tbody tr:last-child td{border-bottom:none}.badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-weight:700;font-size:.72rem}.badge.income{background:#1a9b651a;color:#1a9b65}.badge.expense{background:#d75b4f1a;color:#d75b4f}.amount.positive{color:#1a9b65;font-weight:800}.amount.negative{color:#d75b4f;font-weight:800}.table-actions-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.transaction-table-actions{display:flex;align-items:center;gap:10px}.transaction-select-checkbox{width:16px;height:16px;accent-color:var(--brand);cursor:pointer}.transaction-row.transaction-return-highlight>td{background:color-mix(in srgb,var(--brand) 10%,var(--surface))}.mobile-transaction-card.transaction-return-highlight{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 18%,transparent)}#bulk-delete-selected-button[hidden]{display:none}.table-actions-vertical{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:220px;flex-wrap:wrap}.action-btn{display:inline-flex;align-items:center;justify-content:center;min-width:68px;min-height:42px;padding:10px 14px;border:1px solid transparent;border-radius:12px;font-size:.95rem;font-weight:700;color:var(--ink);text-decoration:none;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.action-btn:hover{transform:translateY(-1px)}.action-btn-light{background:#ffffffb3;border-color:#12202714;color:#1d2f2f}.action-btn-primary{background:linear-gradient(135deg,var(--brand) 0%,var(--brand-dark) 100%);color:#fff;box-shadow:0 8px 18px #0f8b822e}.action-btn-danger{background:#d75b4f14;border-color:#d75b4f2e;color:#b14b42}.account-name-cell{display:flex;flex-direction:column;gap:4px}.account-name-cell strong{font-size:.96rem;color:var(--ink)}.account-name-cell span{color:var(--muted);font-size:.76rem}.status-pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:6px 10px;background:#0f8b8214;color:var(--brand-dark);font-weight:700;font-size:.75rem}.status-pill:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}.muted-copy{margin:0 0 18px;color:var(--muted);font-size:.9rem}.transaction-panel{display:flex;flex-direction:column;justify-content:center}.btn-secondary{background:#0f8b820f;color:var(--ink);border:1px solid var(--line)}.modal-backdrop{position:fixed;inset:0;background:#0f23236b;display:flex;align-items:center;justify-content:center;padding:20px;z-index:100;overflow-y:auto}.modal-backdrop.hidden{display:none}.modal-panel{width:min(100%,720px);max-width:calc(100vw - 40px);max-height:calc(100vh - 40px);overflow-y:auto;background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:0 24px 60px #0a14142e;padding:22px}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.modal-header h3{margin:4px 0 0;font-size:1.6rem}.modal-kicker{display:inline-flex;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.modal-close{border:1px solid var(--line);background:transparent;width:34px;height:34px;border-radius:50%;font-size:1.5rem;line-height:1;color:var(--ink)}.tab-switcher{display:inline-flex;width:100%;background:linear-gradient(180deg,#0f8b820a,#0f8b8205);border:1px solid rgba(15,139,130,.12);border-radius:14px;padding:5px;margin-bottom:18px;box-shadow:inset 0 1px #ffffffa6}.entry-action{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:9px;min-height:46px;padding:11px 18px;color:#fff;font-size:.96rem;font-weight:800;letter-spacing:.01em;cursor:pointer;box-shadow:0 7px 14px #1c2b2c24,inset 0 1px #fff3;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease}.entry-action:hover{filter:brightness(1.06) saturate(1.08);transform:translateY(-2px);box-shadow:0 10px 18px #1c2b2c33,inset 0 1px #ffffff3d}.entry-action:active{transform:translateY(0);box-shadow:0 4px 8px #1c2b2c24,inset 0 2px 3px #0000001f}.entry-action:focus-visible{outline:3px solid rgba(15,139,130,.28);outline-offset:3px}.entry-action-income{background:linear-gradient(135deg,#159b20,#087d13);border-color:#087d13}.entry-action-expense{background:linear-gradient(135deg,#c01820,#a0080e);border-color:#a0080e}.entry-action-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;border:1.5px solid currentColor;border-radius:50%;font-size:1rem;font-weight:500;line-height:1}.confirmation-panel{max-width:460px}.confirmation-message{margin:4px 0 8px;color:var(--muted)}.tab-btn{flex:1;border:0;background:transparent;border-radius:10px;padding:12px 16px;font-weight:800;letter-spacing:.01em;color:var(--muted);cursor:pointer;transition:all .2s ease}.tab-btn:hover{color:var(--brand-dark);background:#0f8b8214}.tab-btn.active{background:linear-gradient(180deg,#fffffffa,#ecf8f7f5);color:var(--brand-dark);box-shadow:0 4px 12px #0f8b821f,inset 0 0 0 1px #0f8b8214}.modal-tab-content{display:none}.modal-tab-content.active{display:block}.transaction-form{display:grid;gap:8px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}.modal-actions .btn{width:auto;min-width:150px}.account-list{display:grid;gap:12px}.account-card-slider{display:flex;gap:16px;overflow-x:auto;padding:2px 2px 12px;scroll-snap-type:x mandatory;scrollbar-width:thin}.account-slider-card{flex:0 0 min(360px,100%);scroll-snap-align:start;color:inherit;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.account-slider-card:hover{border-color:#0f8b824d;box-shadow:0 14px 28px #0d201e1a;transform:translateY(-2px)}.account-slider-name{min-height:2.4em;color:var(--ink);font-size:1.15rem;font-weight:800;overflow-wrap:anywhere}.account-slider-balance{display:flex;flex-direction:column;gap:6px;margin-top:18px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.account-slider-balance span,.account-slider-metric span{color:var(--muted);font-size:.74rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.account-slider-balance strong{color:var(--ink);font-size:1.35rem;font-weight:800}.account-slider-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.account-slider-metric{display:flex;flex-direction:column;gap:6px;min-width:0;padding:10px;border-radius:10px;background:#0f8b820d}.account-slider-metric strong{overflow-wrap:anywhere;font-size:.9rem;font-weight:800}.account-slider-income strong{color:#1a9b65}.account-slider-expense strong{color:#d75b4f}.account-box{padding:16px;border:1px solid var(--line);border-radius:12px;background:#f9fdfd}.account-box-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:10px}.account-company{font-weight:800;font-size:1rem}.account-meta{color:var(--muted);font-size:.8rem}.account-balance{font-size:1.5rem;font-weight:800;letter-spacing:-.04em}.category-name-wrap{display:flex;align-items:center;gap:10px;font-weight:700}.category-dot,.color-swatch{display:inline-block;width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 2px #ffffffb3}.table-actions{display:flex;align-items:center;gap:12px}.account-card-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:18px}.account-summary-card{border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fff,#f7fbfb);padding:16px;box-shadow:0 10px 24px #0d201e0a}.account-summary-link{display:block;color:inherit;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.account-summary-link:hover{transform:translateY(-2px);box-shadow:0 14px 28px #0d201e1a;border-color:#0f8b824d}.account-card-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}.account-card-header small{display:inline-block;margin-bottom:8px;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.account-card-header h4{margin:0;font-size:1.2rem}.account-card-meta{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.8rem;margin-bottom:18px}.account-card-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.mini-metric{border:1px solid var(--line);border-radius:12px;padding:12px 10px;background:#fff}.mini-metric span{display:block;font-size:.72rem;color:var(--muted);margin-bottom:8px}.mini-metric strong{font-size:1rem}.mini-metric.positive strong{color:#1a9b65}.mini-metric.negative strong{color:#d75b4f}.account-card-balance{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:14px;border-top:1px solid var(--line)}.account-card-balance span{color:var(--muted);font-size:.8rem}.account-card-balance strong{font-size:1.1rem;color:var(--ink)}.account-card-balance strong.negative{color:var(--color-negative)}.page-banner{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:26px 28px 22px;margin-bottom:22px;min-height:150px;background:#ffffffb8;border:1px solid var(--line);border-radius:18px;box-shadow:none}.page-banner-copy{display:flex;flex-direction:column;gap:8px}.page-banner-copy small{color:var(--muted);font-size:.9rem;font-weight:600;letter-spacing:.01em}.page-banner-copy h2{margin:0;font-size:clamp(2.4rem,4vw,4rem);line-height:.96;letter-spacing:-.06em;color:var(--ink)}.page-banner-actions{display:flex;align-items:center;justify-content:flex-end}.page-banner-actions .btn{min-height:50px;padding:0 22px;border-radius:14px;font-size:1.05rem;font-weight:800}.account-detail-panel{margin-bottom:24px}.account-detail-header{align-items:flex-end}.account-filter-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;min-height:120px;margin:20px 0 18px;padding:18px 18px 16px;border:1px solid var(--line);border-radius:16px;background:#f1f7f5;box-shadow:inset 0 0 0 1px #0f172a03}.summary-title-row{margin-bottom:16px}.filter-sidebar-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;flex:1}.filter-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.filter-toolbar{display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;flex-wrap:nowrap;flex:1.7;transition:all .2s ease}.filter-type-group{flex-direction:column;align-items:flex-start;min-width:220px}.filter-type-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.filter-field-group{flex-direction:column;align-items:flex-start;min-width:150px}.filter-group label{color:var(--muted);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.filter-chip{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 16px;border:1px solid rgba(15,139,130,.15);border-radius:999px;background:#ffffffa6;color:var(--muted);font-size:.8rem;font-weight:700;transition:all .2s ease}.filter-chip:hover{border-color:#0f8b8247;color:var(--brand-dark)}.filter-chip.active{background:#0f8b8226;border-color:#0f8b8247;color:var(--brand-dark);box-shadow:inset 0 0 0 1px #0f8b821f}.filter-select,.filter-input{width:100%;min-height:46px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font-size:.92rem;box-shadow:0 2px 6px #26332d09;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease,transform .2s ease}.filter-select:hover,.filter-input:hover{border-color:color-mix(in srgb,var(--brand) 32%,var(--line))}.filter-select:focus,.filter-input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 16%,transparent),0 3px 8px #26332d0f}.filter-input::placeholder{color:var(--muted);opacity:.85}.filter-select{min-width:160px}.filter-search-group{min-width:200px;flex:1}.filter-actions{display:flex;flex-direction:column;gap:10px;margin-top:18px;min-width:140px}.filter-actions .btn{width:100%;min-height:46px;border-radius:12px;font-weight:800;font-size:1rem}.filter-actions .btn-secondary{background:#94a3b81f;border:1px solid rgba(148,163,184,.18);color:var(--ink)}.filter-actions .btn-secondary:hover{background:#94a3b82e}.filter-toggle{display:none}.filter-control-group{display:flex;align-items:center;gap:10px;margin-left:auto}.filter-import-menu{position:relative}.filter-import-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 14px;border:1px solid rgba(15,139,130,.15);border-radius:10px;background:#0f8b821f;color:var(--brand-dark);font-weight:800;cursor:pointer;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}.filter-import-menu.is-open .filter-import-toggle,.filter-import-toggle:hover{background:#0f8b8233;border-color:#0f8b8247;box-shadow:0 6px 14px #0f8b821a}.filter-import-toggle span{font-size:1rem;line-height:1}.filter-import-options{position:absolute;top:calc(100% + 8px);right:0;z-index:10;display:grid;min-width:140px;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 16px 30px #0f232324}.filter-import-options[hidden]{display:none}.filter-import-options a,.filter-import-options button{display:block;width:100%;min-height:40px;padding:9px 12px;border:0;border-radius:7px;background:transparent;color:var(--ink);font-size:.85rem;font-weight:700;text-align:left;white-space:nowrap}.filter-import-options a:hover,.filter-import-options button:hover{background:var(--brand-soft);color:var(--brand-dark)}@media(max-width:980px){.page-banner{flex-direction:column;align-items:flex-start;padding:22px 20px 18px;min-height:auto}.page-banner-actions{width:100%;justify-content:flex-start}.account-filter-bar{display:block;min-height:auto}.filter-sidebar-row{width:100%;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}.filter-control-group{margin-left:auto}.filter-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:110px;min-height:38px;padding:8px 14px;border:1px solid rgba(15,139,130,.15);border-radius:10px;background:#0f8b821f;color:var(--brand-dark);font-weight:800;cursor:pointer}.filter-import-toggle{min-width:94px;min-height:38px}.filter-toolbar{display:none;flex-direction:column;align-items:stretch;gap:12px;width:100%;margin-top:4px;padding-top:8px}.filter-toolbar.is-open{display:flex}.filter-field-group,.filter-type-group{width:100%;min-width:0}.filter-type-options,.filter-search-group{width:100%}.filter-actions{margin-top:0;min-width:0}}@media(min-width:981px){.dashboard-desktop-summary{align-items:start}.account-filter-bar{display:block;min-height:auto}.filter-sidebar-row{width:100%;margin-bottom:12px}.filter-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:90px;min-height:36px;padding:7px 12px;border:1px solid rgba(15,139,130,.15);border-radius:10px;background:#0f8b821f;color:var(--brand-dark);font-size:.88rem;font-weight:800;cursor:pointer}.filter-import-toggle{min-height:36px;padding:7px 12px;font-size:.88rem}.filter-toolbar{display:grid;grid-template-columns:minmax(190px,1.15fr) repeat(2,minmax(130px,1fr)) minmax(170px,1.2fr) 170px;align-items:end;gap:12px;width:100%;flex:none}.filter-type-group,.filter-field-group,.filter-search-group{min-width:0}.filter-type-options{flex-wrap:nowrap}.filter-chip{min-height:34px;padding:7px 13px}.filter-actions{flex-direction:row;gap:8px;min-width:0;margin-top:18px}.filter-actions .btn{min-height:40px;padding:8px 12px;font-size:.88rem}.dashboard-desktop-summary .metric-label{font-family:var(--font-ui);font-size:.76rem;letter-spacing:.07em}.dashboard-desktop-summary .metric-card{position:relative;overflow:hidden;min-height:0;padding:20px 24px 18px;border-radius:20px;background:linear-gradient(145deg,#fffffffa,#f1f7f5f5);box-shadow:0 14px 30px #26332d14}.dashboard-desktop-summary .metric-card:before{position:absolute;inset:0 auto 0 0;width:4px;content:"";background:var(--brand)}.dashboard-desktop-summary .metric-card:last-child:before{background:var(--amber)}.dashboard-desktop-summary .metric-icon{width:36px;height:36px;border-radius:10px;font-size:.9rem}.dashboard-desktop-summary .metric-value{margin-top:18px;font-family:var(--font-ui);font-size:clamp(1.7rem,2vw,2.2rem);font-weight:800;letter-spacing:-.025em}.dashboard-desktop-summary .metric-foot{margin-top:8px;font-size:.8rem}.dashboard-desktop-content .account-slider-name{font-family:var(--font-ui);font-size:1.2rem;letter-spacing:0}.dashboard-desktop-content .account-slider-balance strong{font-family:var(--font-ui);font-size:1.55rem;letter-spacing:-.02em}.dashboard-desktop-content .account-slider-metric strong{font-family:var(--font-ui);font-size:.96rem;letter-spacing:0}}.account-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:0}.accounts-summary-grid{grid-template-columns:minmax(0,1fr)}.accounts-summary-grid .metric-card{grid-column:1 / -1}.empty-state{grid-column:1 / -1;padding:18px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);background:#0f8b8205}.settings-list{display:grid;gap:12px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#f9fdfd;min-height:62px}.setting-row span{color:var(--muted);font-weight:600}.setting-row strong{font-size:1.02rem;font-weight:700;color:var(--ink)}body[data-theme=dark] .settings-list{gap:14px}body[data-theme=dark] .setting-row{background:#ffffff08;border-color:#b0ced42e;border-radius:14px;padding:18px;min-height:68px}body[data-theme=dark] .setting-row span{color:#dfeff0;font-size:1.08rem;font-weight:500}body[data-theme=dark] .setting-row strong{color:#edf6f7;font-size:1.04rem}body[data-theme=dark] .table-head .status-pill{background:#59d4c81f;color:#79e5d9}.branding-settings-panel{padding:20px;background:#091219f5;border-color:#b0ced41f}.branding-form{display:grid;gap:20px}.settings-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.setting-field{display:grid;gap:8px}.setting-field .label{font-size:.76rem;letter-spacing:.12em;color:#edf6f7b3;text-transform:uppercase}.mode-options{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mode-option{display:inline-flex;align-items:center;gap:10px;min-width:180px;padding:12px 16px;border:1px solid rgba(176,206,212,.24);border-radius:12px;background:#ffffff05;color:var(--ink);font-weight:600;cursor:pointer}.mode-option input{accent-color:var(--brand-dark);width:18px;height:18px}.mode-option span{color:var(--ink);font-size:1rem}.import-date-format{display:grid;gap:8px;margin:0 0 18px;padding:0;border:0}.import-date-format legend{margin-bottom:8px}.import-date-format-options{display:flex;gap:10px;flex-wrap:wrap}.import-date-format-option{display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:9px 13px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);color:var(--ink);font-weight:600;cursor:pointer}.import-date-format-option:has(input:checked){border-color:color-mix(in srgb,var(--brand) 48%,var(--line));background:color-mix(in srgb,var(--brand) 9%,var(--surface))}.import-date-format-option:focus-within{outline:3px solid color-mix(in srgb,var(--brand) 20%,transparent);outline-offset:2px}.import-date-format-option input{width:17px;height:17px;margin:0;accent-color:var(--brand)}.color-setting-control{display:flex;align-items:center;gap:12px}.color-setting-control .color-input{flex:0 0 58px;width:58px;height:44px;padding:4px;cursor:pointer}.color-setting-control span{color:var(--muted);font-family:monospace;font-size:.82rem}.file-upload-wrap{display:flex;align-items:center;gap:12px}.file-upload-shell{flex:1 1 auto;min-width:0}.file-upload{display:flex;align-items:center;gap:16px;width:100%;min-height:56px;padding:0 16px 0 0;background:#ffffff0a;border:1px solid rgba(176,206,212,.2);border-radius:12px;cursor:pointer;overflow:hidden}.file-upload-preview{width:68px;height:68px;flex:0 0 68px;display:flex;align-items:center;justify-content:center;border-radius:12px;overflow:hidden;border:1px solid rgba(176,206,212,.22);background:#ffffff08}.file-upload-preview img{width:100%;height:100%;object-fit:contain;display:block}.file-upload-preview-icon{width:52px;height:52px;flex-basis:52px}.file-upload-btn{display:inline-flex;align-items:center;justify-content:center;height:100%;padding:0 18px;min-width:140px;border-right:1px solid rgba(176,206,212,.2);background:#ffffff08;color:var(--ink);font-weight:700;white-space:nowrap}.file-upload-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#edf6f7b3;font-size:1rem;padding-left:4px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.settings-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:8px}.settings-actions .btn{width:auto;min-width:140px}body[data-theme=lite] .branding-settings-panel{background:#fffffff5;border-color:var(--line)}body[data-theme=lite] .setting-field .label{color:var(--muted)}body[data-theme=lite] .mode-option{background:#0f8b8208;border-color:var(--line)}body[data-theme=lite] .mode-option span,body[data-theme=lite] .file-upload-name,body[data-theme=lite] .file-upload-btn{color:var(--ink)}body[data-theme=lite] .file-upload{background:#0f8b8205;border-color:var(--line)}body[data-theme=lite] .file-upload-btn{border-right-color:var(--line);background:#0f8b820a}.hint-box{background:#0f8b820f;border:1px solid rgba(15,139,130,.12);border-radius:12px;padding:12px 14px;color:var(--ink);font-size:.9rem}.trend-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;align-items:end;min-height:240px}.trend-item{display:flex;flex-direction:column;align-items:center;gap:10px;height:100%}.trend-label{font-weight:700;color:var(--muted)}.trend-bars{width:100%;height:150px;display:flex;align-items:flex-end;justify-content:center;gap:8px;background:linear-gradient(to top,#0f8b820a,#0f8b8200);border-radius:14px;padding:10px 8px 0}.trend-bar{width:20px;min-height:18px;border-radius:8px 8px 0 0}.trend-bar.income{background:linear-gradient(180deg,#1a9b65,#0f8b82)}.trend-bar.expense{background:linear-gradient(180deg,#d75b4f,#eb8e79)}.trend-values{display:flex;flex-direction:column;gap:4px;align-items:center;font-size:.75rem}@media(max-width:1100px){.account-card-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media(max-width:900px){.app-header{height:auto;padding:16px 18px;gap:14px;flex-wrap:wrap}.header-currency{width:100%;justify-content:space-between}.header-currency select{width:min(100%,220px)}.page-shell{grid-template-columns:1fr;padding-top:120px}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line);padding-bottom:16px}.nav-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:1fr}}.mobile-menu-toggle{display:none;width:42px;height:42px;border:1px solid var(--line);border-radius:10px;background:#f4f7f7;padding:10px 8px;flex-shrink:0;cursor:pointer}.mobile-bottom-nav{display:none}.mobile-menu-toggle span{display:block;width:100%;height:2px;background:#1d2f2f;border-radius:999px;margin:4px 0}@media(max-width:640px){.workspace{padding:18px 14px}.topbar{position:relative;overflow:hidden;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:84px;padding:16px 14px 16px 18px;border-radius:18px;background:linear-gradient(135deg,#fff,#f1f9f7);box-shadow:0 8px 22px #1d474312}.topbar:before{content:"";position:absolute;top:0;left:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--brand) 0%,var(--brand-dark) 100%)}.topbar>div:first-child{min-width:0;padding-left:2px}.topbar h1{overflow:hidden;font-size:clamp(1.45rem,7vw,1.8rem);line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.dashboard-greeting{display:block;margin-bottom:2px;font-size:.65rem;letter-spacing:0;text-transform:none}.dashboard-title-with-greeting{font-family:var(--font-display);font-size:1.55rem;font-weight:600;letter-spacing:0}.account-detail-topbar h1{font-size:clamp(1.05rem,5vw,1.35rem);line-height:1.1}.dashboard-greeting-subtitle{display:block;margin:2px 0 0;color:var(--muted);font-size:.65rem;line-height:1.1}.topbar small{display:block;margin-bottom:5px;color:var(--brand-dark);font-size:.66rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.topbar-actions{position:relative;z-index:1;flex-shrink:0;margin-left:auto}.header-action-btn{min-height:42px;padding:10px 13px;border-radius:11px;background:linear-gradient(135deg,#0f8b821f,#0f8b820d);box-shadow:0 5px 12px #0f8b821a,inset 0 0 0 1px #0f8b820a;font-size:.84rem;white-space:nowrap}.header-action-btn:hover{background:linear-gradient(135deg,#0f8b822e,#0f8b8214);transform:translateY(-1px)}.header-action-btn span{display:inline-grid;place-items:center;width:18px;height:18px;border:1px solid currentColor;border-radius:50%;font-size:.9rem}.header-action-btn .header-action-label{display:inline;width:auto;height:auto;border:0;border-radius:0;font-size:inherit}.account-detail-add-trigger{width:42px;min-width:42px;padding:0;gap:0}.account-detail-add-trigger .header-action-label{display:none}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.content-grid{gap:14px}.smart-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:14px;border-radius:16px}.inline-grid{grid-template-columns:1fr}}@media(max-width:640px){body{background:var(--paper)}.dashboard-desktop-summary,.dashboard-desktop-reports,.dashboard-desktop-content{display:none!important}.branding-settings-panel{padding:14px;border-radius:18px}.branding-settings-panel .table-head{align-items:flex-start;margin-bottom:14px}.branding-settings-panel .table-head h3{font-size:1.08rem}.branding-form{gap:16px}.settings-form-grid{grid-template-columns:1fr;gap:14px}.setting-field{gap:6px}.setting-field .label{font-size:.68rem}.mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mode-option{min-width:0;padding:10px;border-radius:10px}.mode-option span{font-size:.82rem}.file-upload-wrap{align-items:stretch;flex-direction:column;gap:8px}.file-upload{min-height:48px;gap:8px;padding-right:10px}.file-upload-btn{min-width:112px;padding:0 12px;font-size:.78rem}.file-upload-name{font-size:.78rem}.file-upload-preview,.file-upload-preview-icon{width:58px;height:58px;flex-basis:58px}.settings-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.settings-actions .btn{width:100%;min-width:0}.category-desktop-table,.currency-desktop-table{display:none}.mobile-currency-list{display:flex;flex-direction:column;gap:10px}.mobile-currency-card{padding:13px;border:1px solid #dfeae7;border-radius:14px;background:linear-gradient(180deg,#fff,#f4faf8);box-shadow:0 4px 12px #1d47430a}.mobile-currency-main{display:flex;align-items:center;gap:10px}.mobile-currency-symbol{display:grid;flex:0 0 34px;place-items:center;width:34px;height:34px;border-radius:10px;background:#0f8b821a;color:#087d77;font-size:1rem;font-weight:800}.mobile-currency-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.mobile-currency-copy strong{color:#173b38;font-size:.9rem}.mobile-currency-copy small{overflow:hidden;color:#78908b;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.mobile-currency-arrow{color:#087d77;font-size:1.45rem;line-height:.7}.mobile-currency-stats{display:flex;flex-direction:column;gap:6px;margin-top:12px;padding-top:10px;border-top:1px solid #e0ebe8}.mobile-currency-stats span{display:flex;justify-content:space-between;gap:8px;color:#78908b;font-size:.68rem}.mobile-currency-stats strong{color:#24403e;font-size:.7rem;text-align:right}.mobile-currency-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:11px}.mobile-currency-actions form{min-width:0}.mobile-currency-action{width:100%;min-height:34px;padding:7px 10px;border:1px solid transparent;border-radius:8px;font-size:.75rem;font-weight:800;cursor:pointer}.mobile-currency-edit{background:#0f8b82;border-color:#087d77;color:#fff}.mobile-currency-delete{background:#b149491a;border-color:#b1494933;color:#a43c3c}.mobile-category-list{display:flex;flex-direction:column;gap:10px}.mobile-category-card{padding:13px;border:1px solid #dfeae7;border-radius:14px;background:linear-gradient(180deg,#fff,#f4faf8);box-shadow:0 4px 12px #1d47430a}.mobile-category-card-main{display:flex;align-items:center;gap:10px}.mobile-category-color{flex:0 0 12px;width:12px;height:12px;border-radius:50%;box-shadow:0 0 0 4px #0f8b8214}.mobile-category-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.mobile-category-copy strong{overflow:hidden;color:#173b38;font-size:.9rem;text-overflow:ellipsis;white-space:nowrap}.mobile-category-copy small{color:#78908b;font-size:.7rem}.mobile-category-arrow{color:#087d77;font-size:1.45rem;line-height:.7}.mobile-category-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid #e0ebe8}.mobile-category-stats span{display:flex;justify-content:space-between;gap:6px;color:#78908b;font-size:.68rem}.mobile-category-stats strong{font-size:.7rem}.mobile-category-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:11px}.mobile-category-actions form{min-width:0}.mobile-category-action{width:100%;min-height:34px;padding:7px 10px;border:1px solid transparent;border-radius:8px;font-size:.75rem;font-weight:800;cursor:pointer}.mobile-category-edit{background:#0f8b82;border-color:#087d77;color:#fff}.mobile-category-delete{background:#b149491a;border-color:#b1494933;color:#a43c3c}.mobile-dashboard-content{display:block;margin-top:2px}.mobile-dashboard-balance{display:block;position:relative;overflow:hidden;margin-bottom:22px;padding:18px 18px 16px;border-radius:16px;background-image:linear-gradient(135deg,#123f35c2,#1e66579e),url(/current_dashboard.png);background-position:center;background-size:cover;background-repeat:no-repeat;color:#fff;box-shadow:0 12px 24px #123f3533}.mobile-dashboard-section-label{display:flex;align-items:center;justify-content:space-between;color:#ffffffd1;font-size:.86rem;font-weight:700}.mobile-dashboard-section-label span{font-size:1.7rem;font-weight:400;line-height:.6}.mobile-dashboard-balance-value{position:relative;z-index:1;margin-top:8px;font-size:1.8rem;font-weight:800;letter-spacing:.01em}.mobile-dashboard-balance-meta{position:relative;z-index:1;margin-top:4px;color:#ffffffb8;font-size:.72rem}.mobile-dashboard-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 10px}.mobile-dashboard-section-heading h2{margin:0;color:#173b38;font-size:1.05rem}.mobile-dashboard-section-heading a,.mobile-dashboard-section-heading>span{color:#087d77;font-size:.75rem;font-weight:800;text-decoration:none}.mobile-dashboard-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}.mobile-dashboard-account-card{position:relative;display:flex;align-items:center;gap:8px;min-width:0;min-height:78px;padding:11px 9px;border:1px solid #e0ebe8;border-radius:12px;background:#fff;box-shadow:0 4px 12px #1d47430a;color:inherit;text-decoration:none}.mobile-dashboard-account-icon{display:grid;flex:0 0 30px;place-items:center;width:30px;height:30px;border-radius:9px;background:#0f8b821a;color:#087d77;font-size:.78rem;font-weight:800}.mobile-dashboard-account-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.mobile-dashboard-account-copy strong,.mobile-dashboard-account-copy small,.mobile-dashboard-account-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-dashboard-account-copy strong{color:#193b39;font-size:.75rem}.mobile-dashboard-account-copy small{color:#78908b;font-size:.64rem}.mobile-dashboard-account-copy b{color:#087d77;font-size:.77rem}.mobile-dashboard-card-arrow{color:#087d77;font-size:1.2rem}.mobile-dashboard-transactions-heading{margin-top:2px}.mobile-dashboard-transactions{overflow:hidden;border-top:1px solid #e0ebe8;background:#ffffff70}.mobile-dashboard-transaction{display:flex;align-items:center;gap:9px;min-height:58px;padding:8px 2px;border-bottom:1px solid #e0ebe8;color:inherit;text-decoration:none}.mobile-dashboard-transaction-icon{display:grid;flex:0 0 30px;place-items:center;width:30px;height:30px;border-radius:9px;font-size:1rem;font-weight:800}.mobile-dashboard-transaction-icon.income{background:#0f8b821a;color:#087d77}.mobile-dashboard-transaction-icon.expense{background:#b149491a;color:#b14949}.mobile-dashboard-transaction-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.mobile-dashboard-transaction-copy strong,.mobile-dashboard-transaction-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-dashboard-transaction-copy strong{color:#24403e;font-size:.78rem}.mobile-dashboard-transaction-copy small{color:#78908b;font-size:.67rem}.mobile-dashboard-transaction-amount{flex-shrink:0;font-size:.78rem;font-weight:800}.mobile-dashboard-transaction-amount.positive{color:#087d77}.mobile-dashboard-transaction-amount.negative{color:#b14949}.mobile-dashboard-empty{grid-column:1 / -1;padding:18px 4px;color:#78908b;font-size:.82rem;text-align:center}.workspace{padding-bottom:calc(180px + env(safe-area-inset-bottom))}.account-card-grid{display:none!important}.desktop-account-table{display:none}.table-panel>.table-wrap{display:none}.mobile-transaction-list{display:flex;flex-direction:column;gap:14px}.mobile-transaction-select-all{display:inline-flex;align-items:center;align-self:flex-start;gap:8px;color:var(--ink);font-size:.85rem;font-weight:600;cursor:pointer}.mobile-transaction-card{min-height:96px;padding:16px 13px 13px;border:1px solid #c8dcd8;border-radius:12px;background:#f8fbfa;box-shadow:0 4px 12px #1d47430a;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.mobile-transaction-card:hover,.mobile-transaction-card:focus-visible{border-color:#0f8b826b;box-shadow:0 8px 18px #1d47431a;outline:none;transform:translateY(-1px)}.mobile-transaction-card[aria-expanded=true]{border-color:#0f8b8257;box-shadow:0 8px 18px #1d47431a}.mobile-transaction-topline,.mobile-transaction-bottomline{display:flex;align-items:center;justify-content:space-between;gap:12px}.mobile-transaction-topline strong{min-width:0;overflow:hidden;color:#102f2f;font-size:.92rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.mobile-transaction-bottomline{margin-top:22px;color:#587471;font-size:.76rem;font-weight:600}.mobile-transaction-date-select{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.mobile-transaction-amount{flex-shrink:0;font-size:.94rem;font-weight:800;white-space:nowrap}.mobile-transaction-amount.positive{color:#087d77}.mobile-transaction-amount.negative{color:#b14949}.mobile-transaction-arrow{color:#087d77;font-size:1.65rem;font-weight:400;line-height:.7;transition:transform .2s ease}.mobile-transaction-card[aria-expanded=true] .mobile-transaction-arrow{transform:rotate(90deg)}.mobile-transaction-details{margin-top:13px;padding-top:8px;border-top:1px solid #d5e5e1}.mobile-transaction-detail-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:8px 0;color:#587471;font-size:.76rem}.mobile-transaction-detail-row strong{max-width:65%;color:#183c3a;font-weight:700;text-align:right}.mobile-transaction-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.mobile-transaction-actions form{min-width:0}.mobile-transaction-action{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:34px;padding:7px 10px;border:1px solid transparent;border-radius:8px;font-size:.76rem;font-weight:800;cursor:pointer}.mobile-transaction-edit{background:#0f8b82;border-color:#087d77;color:#fff}.mobile-transaction-delete{background:#b149491a;border-color:#b1494933;color:#a43c3c}.mobile-account-list{display:flex;flex-direction:column;gap:12px}.mobile-account-item{border:1px solid #d5e5e1;border-radius:18px;background:linear-gradient(180deg,#fff,#f2f9f7);overflow:hidden;box-shadow:0 8px 18px #1d474312,inset 0 1px #fffc;transition:transform .2s ease,box-shadow .2s ease}.mobile-account-item:has(.mobile-account-details:not([hidden])){box-shadow:0 12px 24px #223a4e1f,inset 0 1px #fff6}.mobile-account-main{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;min-height:96px;padding:15px 14px 13px}.mobile-account-copy{display:flex;flex-direction:column;min-width:0;flex:1;flex-basis:100%;gap:5px}.mobile-account-copy strong{font-size:1.08rem;font-weight:800;color:#2b3440;white-space:normal;overflow-wrap:anywhere}.mobile-account-copy span,.mobile-account-copy small{color:#26323ac7;font-size:.74rem}.mobile-account-copy small{color:#26323aad}.mobile-account-side{display:flex;align-items:center;gap:8px;width:100%;justify-content:flex-end;flex-shrink:0;align-self:center}.mobile-account-balance{font-size:1rem;font-weight:800;letter-spacing:.01em}.mobile-account-balance{font-size:1rem;font-weight:800;white-space:nowrap;color:#0d8aa8}.mobile-account-balance.positive{color:#0d8aa8}.mobile-account-balance.negative{color:var(--color-negative)}.mobile-account-toggle{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:50%;background:#0f8b821f;color:#087d77;padding:0;cursor:pointer;transition:background .2s ease,transform .2s ease}.mobile-account-toggle:hover{background:#0f8b8233}.mobile-account-toggle span{display:inline-block;font-size:1.3rem;line-height:1;transition:transform .2s ease}.mobile-account-details{padding:0 14px 14px;border-top:1px solid rgba(17,35,60,.08);background:#ffffff38}.mobile-account-detail-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid rgba(17,35,60,.08);color:#26323acc;font-size:.8rem}.mobile-account-detail-row strong{color:#2a3440}.mobile-account-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.mobile-account-actions form{min-width:0}.mobile-account-action{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:34px;padding:7px 8px;border:1px solid transparent;border-radius:9px;font-size:.76rem;font-weight:800;text-decoration:none;cursor:pointer;transition:transform .2s ease,filter .2s ease,background .2s ease}.mobile-account-action:hover{filter:brightness(1.05);transform:translateY(-1px)}.mobile-account-view,.mobile-account-edit{background:#0f8b8224;border-color:#0f8b8233;color:#086f6a}.mobile-account-edit{background:linear-gradient(135deg,#159b91,#087d77);border-color:#087d77;color:#fff;box-shadow:0 4px 10px #0f8b822e}.mobile-account-delete{background:#b149491a;border-color:#b149492e;color:#a43c3c}.app-header{position:fixed;top:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;min-height:72px;background:#ffffffe0;border:0;box-shadow:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mobile-header-center{display:flex;min-width:0;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px}.mobile-greeting{display:flex;min-width:0;flex-direction:column;line-height:1.08}.mobile-greeting small,.mobile-greeting>span{color:var(--muted);font-size:.65rem}.mobile-greeting strong{overflow:hidden;color:var(--ink);font-family:var(--font-display);font-size:1.08rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.mobile-greeting strong span{font-family:var(--font-ui);font-size:.85rem}.mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;width:42px;height:42px;padding:10px 8px;background:#e8ecece6;border:1px solid var(--line);border-radius:12px;box-shadow:inset 0 1px #fffc;flex-shrink:0}.mobile-menu-toggle span{width:100%;height:2px;margin:2px 0;background:#1f2d2d;border-radius:999px}.header-currency{display:flex;align-items:center;justify-content:center;min-width:0;width:min(100%,150px);margin:0}.header-currency label{display:none}.header-currency select{width:100%;min-width:0;height:30px;font-size:.72rem;border-radius:9px;background:#f5f7f7e6;border:1px solid var(--line);padding:0 12px;color:var(--ink);box-shadow:inset 0 1px #fffc}.header-user{display:flex;align-items:center;justify-content:flex-end;gap:8px;width:auto;margin-left:0}.header-icon{display:grid;width:36px;height:36px;padding:0;border:0;background:transparent;color:var(--ink)}.header-icon svg{width:23px;height:23px}.user-block{display:flex;align-items:center;gap:0;border:0;background:transparent;border-radius:50%;padding:0;box-shadow:none;margin-left:auto}.user-meta{display:none}.user-meta strong{font-size:.76rem;font-weight:700;white-space:nowrap}.user-meta span{display:none}.user-avatar{display:grid;place-items:center;width:34px;height:34px;font-size:.7rem;border-radius:50%;background:linear-gradient(135deg,var(--brand) 0%,var(--brand-dark) 100%);color:#fff}.workspace{padding-bottom:142px}.mobile-bottom-nav{position:fixed;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translate(-50%);display:flex;align-items:center;justify-content:space-between;width:calc(100% - 16px);max-width:420px;height:76px;padding:10px 10px 8px;border:1px solid rgba(25,38,38,.08);border-radius:22px;background:#fafcfcf5;box-shadow:0 10px 24px #0f15151f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:80}.mobile-nav-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:100%;color:#78908b;text-decoration:none;font-size:.62rem;line-height:1.1;font-weight:700}.mobile-nav-item svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-nav-item.active{color:var(--brand-dark)}.mobile-nav-add{flex:0 0 58px;width:58px;height:58px;border:0;border-radius:50%;background:linear-gradient(180deg,var(--brand) 0%,var(--brand-dark) 100%);color:#fff;box-shadow:0 14px 26px #0f8b8240;margin:0 4px;padding:0;cursor:pointer}.mobile-nav-add span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:2.2rem;line-height:1;font-weight:300;color:#fff}.page-shell{padding-top:72px}.sidebar{position:fixed;top:72px;left:0;bottom:0;width:82%;max-width:280px;z-index:40;transform:translate(-105%);transition:transform .2s ease;box-shadow:16px 0 28px #0a19191f;padding:16px 12px 10px}body.sidebar-open .sidebar{transform:translate(0)}.brand-row{margin-bottom:18px;min-height:126px;padding:4px 6px}.brand-logo,.brand-badge{width:110px;height:110px;border-radius:26px}.brand-row h2{font-size:.96rem}.brand-row small{font-size:.7rem}.nav-menu{grid-template-columns:1fr;gap:6px}.nav-link{padding:10px;font-size:.9rem}.nav-link span{width:20px;height:20px;font-size:.68rem}.workspace{padding:14px 14px 142px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-summary-grid .metric-card:last-child{grid-column:1 / -1}.metric-card{padding:14px 16px}.metric-value{margin-top:12px;font-size:clamp(.9rem,4.6vw,1.1rem);letter-spacing:0;overflow-wrap:anywhere}.account-summary-grid .metric-value{font-size:clamp(.72rem,3.5vw,.95rem);line-height:1.15;letter-spacing:0;overflow-wrap:anywhere}.content-grid{gap:14px}.table-head,.setting-row,.account-box-header,.account-card-header,.account-card-meta,.account-card-balance,.table-actions{flex-direction:column;align-items:flex-start}.table-head{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;margin-bottom:14px;gap:10px}.table-head h3{font-size:1.05rem;line-height:1.2;margin:0;flex:1}.table-actions{width:auto;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:8px;margin-left:auto}.table-actions .btn-primary{min-width:124px;min-height:44px;border-radius:12px;padding:10px 18px;font-size:.98rem;font-weight:800;background:linear-gradient(135deg,var(--brand) 0%,var(--brand-dark) 100%);box-shadow:0 10px 22px #0f8b822e}.status-pill{display:inline-flex;align-items:center;gap:8px;padding:4px 8px;font-size:.75rem;margin-left:0}.btn{min-height:42px;padding:10px 16px;font-size:.92rem}.account-card-grid{grid-template-columns:1fr;gap:12px}.account-summary-card{padding:12px;border-radius:14px}.account-card-header h4{font-size:1.1rem}.account-card-meta{margin-bottom:14px}.account-card-metrics{grid-template-columns:1fr;gap:8px}.mini-metric{padding:10px 12px}.account-card-balance{padding-top:12px}.status-pill{padding:5px 9px;font-size:.7rem}.modal-backdrop{padding:10px 6px;align-items:flex-start;background:#0f232380}.modal-panel{width:min(100%,430px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 20px);padding:16px 12px 12px;border-radius:20px;box-shadow:0 18px 44px #0a14143d}.modal-header{margin-bottom:12px;align-items:flex-start}.modal-header h3{max-width:240px;font-size:1.35rem;line-height:1.12}.modal-kicker{font-size:.64rem}.modal-close{flex:0 0 32px;width:32px;height:32px;font-size:1.3rem}.transaction-form,.transaction-form .inline-grid{gap:6px}.transaction-form .mt-2{margin-top:6px}.transaction-form .label{margin-bottom:4px;font-size:.64rem}.transaction-form .input,.transaction-form .select,.transaction-form .textarea{min-height:42px;padding:10px 12px;font-size:.86rem}.transaction-form .textarea{min-height:82px}.entry-action{min-height:44px;font-size:.9rem}.modal-actions{flex-direction:row;flex-wrap:wrap;position:relative;z-index:1}.modal-actions .btn{width:100%}.modal-actions .btn-secondary{order:3}.modal-actions .entry-action-income{order:1;width:auto;min-width:0}.modal-actions .entry-action-expense{order:2;width:auto;min-width:0}.modal-actions .entry-action{flex:1 1 calc(50% - 6px)}.modal-actions .btn-secondary{flex:0 0 100%;width:100%}.trend-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:420px){.header-currency{flex:1 1 auto;min-width:0}.user-meta strong{font-size:.72rem}.user-menu{right:-4px;width:min(248px,calc(100vw - 20px));padding:9px;border-radius:16px}.user-menu:before{right:20px}.metric-grid,.smart-report-grid{grid-template-columns:1fr}.workspace{padding:12px 12px calc(180px + env(safe-area-inset-bottom))}.topbar{padding:14px 15px;min-height:74px}.topbar-actions{flex-shrink:0}.header-action-btn{padding:8px 12px;font-size:.9rem;min-height:40px}.topbar h1{font-size:1.5rem}.metric-card{padding:12px 14px}.metric-value{font-size:clamp(.8rem,3.5vw,1rem);line-height:1.15;overflow-wrap:anywhere}.form-row,.form-row.mt-2{margin-bottom:12px}}
