:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html{-moz-text-size-adjust:100%;text-size-adjust:100%;height:auto;overflow:clip auto}html,body{color:#0f172a;background:radial-gradient(circle at 100% 0,#dbeafe,#f8fafc 38%,#eef2ff);width:100%;max-width:100%;margin:0;padding:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{-webkit-overflow-scrolling:touch;min-height:100dvh;overflow:clip auto}.container{width:100%;min-width:0;max-width:1200px;margin:0 auto;padding:48px 20px 64px}.app-shell{flex:auto;min-width:0;display:flex}.app-shell-sidebar{display:none}.app-shell-main{flex-direction:column;flex:auto;min-width:0;display:flex}.pwa-install-banner{z-index:45;padding:10px 12px max(10px, env(safe-area-inset-top));background:linear-gradient(#eff6ff 0%,#f8fafc 100%);border-bottom:1px solid #bfdbfe;align-items:flex-start;gap:8px;margin:0;display:flex;position:sticky;top:0;box-shadow:0 1px #0f172a0a}.pwa-install-banner-body{flex:auto;min-width:0}.pwa-install-banner-title{color:#1e3a8a;margin:0 0 4px;font-size:.92rem;font-weight:700}.pwa-install-banner-lead{color:#334155;margin:0 0 8px;font-size:.82rem;line-height:1.35}.pwa-install-banner-btn{width:100%;max-width:220px;padding:8px 12px;font-size:.85rem}.pwa-install-ios-steps{color:#1e293b;margin:0;padding-left:1.15rem;font-size:.82rem;line-height:1.45}.pwa-install-ios-steps li+li{margin-top:4px}.pwa-install-banner-dismiss{color:#64748b;cursor:pointer;background:#ffffffd9;border:none;border-radius:999px;flex:none;width:32px;height:32px;font-size:1.25rem;line-height:1}.pwa-install-banner-dismiss:hover{color:#0f172a;background:#fff}@media (min-width:769px){.pwa-install-banner{display:none}}.app-shell-content{flex:auto;min-width:0}.app-shell-content .container{padding-bottom:24px}.app-shell-bottom-nav{z-index:40;box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:6px 4px max(8px, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff0;border-top:1px solid #dbe5f5;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;display:grid;position:sticky;bottom:0}.app-shell-bottom-link{color:#64748b;border-radius:10px;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:6px 2px;font-size:.68rem;font-weight:600;line-height:1.2;text-decoration:none;display:flex;overflow:hidden}.app-shell-bottom-label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.app-shell-bottom-link.active{color:#1d4ed8;background:#eff6ff}.app-shell-bottom-icon{background:#f8fafc;border:1px solid #cbd5e1;border-radius:5px;width:18px;height:18px}.app-shell-bottom-link.active .app-shell-bottom-icon{background:#dbeafe;border-color:#60a5fa}.hero-section{margin-bottom:8px}.hero,.hero-section,.hero-home-compact{min-width:0;max-width:100%}.hero h1,.hero .subtitle,.hero .muted,.home-hero-compact-title,.home-hero-compact-subtitle,.card h2,.card h3,.card p,.card li,.card-lead{overflow-wrap:anywhere;word-break:break-word}.hero-auth-row .muted{max-width:100%}.more-section-nav{z-index:25;-webkit-overflow-scrolling:touch;scrollbar-width:none;background:linear-gradient(#f8fafc 70%,#f8fafc00);flex-wrap:wrap;gap:10px;margin:0 0 18px;padding:4px 0 12px;display:flex;position:sticky;top:0;overflow-x:auto}.more-section-nav::-webkit-scrollbar{display:none}.more-section-nav-link{color:#1e40af;white-space:nowrap;box-sizing:border-box;background:#eef2ff;border:1px solid #c7d2fe;border-radius:8px;flex:none;justify-content:center;align-items:center;min-height:44px;padding:0 14px;font-size:.88rem;font-weight:600;line-height:1.25;text-decoration:none;display:inline-flex}.more-section-nav-link:hover{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.more-section-nav-link.active{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;box-shadow:0 6px 14px #2563eb47}.section-headline{margin:0 0 8px;font-size:clamp(1.45rem,2.2vw,1.9rem);line-height:1.2}.section-quick-link{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.home-quick-actions{flex-wrap:wrap;gap:10px;margin:0 0 18px;display:flex}.home-quick-action{justify-content:center;align-items:center;min-height:44px;text-decoration:none;display:inline-flex}.hero-home-compact{padding-bottom:12px}.home-hero-compact-title{margin:0 0 4px;font-size:clamp(1.35rem,3vw,1.65rem)}.home-hero-compact-subtitle{margin:0 0 8px;font-size:.92rem}.home-trends-preview{gap:8px;margin:12px 0 0;display:grid}.home-show-trends-btn{margin-top:12px}.home-trends-expanded-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.home-trends-expanded-head .timeseries-heading{margin:0}.home-hide-trends-btn{flex-shrink:0}.tx-mobile-list{gap:10px;margin:0 0 12px;padding:0;list-style:none;display:none}.tx-mobile-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px}.tx-mobile-card-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.tx-mobile-card-meta{margin:6px 0 0;font-size:.86rem;line-height:1.4}@media (min-width:981px){.app-shell{gap:16px}.app-shell-sidebar{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffffb8;border-right:1px solid #dbe5f5;flex-direction:column;flex-shrink:0;align-self:flex-start;width:188px;min-height:100dvh;padding:20px 12px;display:flex;position:sticky;top:0}.app-shell-main,.app-shell-content{flex:auto;min-width:0}.app-shell-brand{color:#1e40af;letter-spacing:-.02em;margin:0 0 14px;padding:0 10px;font-weight:700;text-decoration:none;display:block}.app-shell-brand:hover{color:#1d4ed8;text-decoration:underline}.app-shell-side-nav{flex-direction:column;gap:4px;display:flex}.app-shell-side-link{color:#475569;border-left:2px solid #0000;border-radius:10px;padding:10px 12px;font-size:.92rem;font-weight:600;text-decoration:none;display:block}.app-shell-side-link.active{color:#1d4ed8;background:#eff6ff;border-left-color:#2563eb}.app-shell-bottom-nav{display:none}.app-shell-content .container{padding:32px 32px 48px 8px}}@media (max-width:640px){.app-shell-bottom-nav{padding-left:max(2px, env(safe-area-inset-left));padding-right:max(2px, env(safe-area-inset-right))}.app-shell-bottom-link{gap:2px;padding:5px 1px;font-size:.62rem}.app-shell-bottom-icon{width:16px;height:16px}.app-shell-content .container{padding-bottom:max(80px, calc(64px + env(safe-area-inset-bottom)))}.tx-mobile-list{flex-direction:column;display:flex}.tx-desktop-table{display:none}.home-quick-actions{flex-direction:column}.home-quick-action{width:100%}.more-section-nav{flex-direction:column}.more-section-nav-link{width:100%}.receipts-tab-toolbar,.budgets-tab-shell>.receipts-tab-toolbar{flex-direction:column;align-items:stretch}.receipts-tab-toolbar .primary-btn{width:100%;min-height:44px}}.hero h1{letter-spacing:-.02em;margin:0 0 10px;font-size:clamp(2rem,2.8vw,2.7rem);line-height:1.2}.badge{color:#1d4ed8;background:#dbeafe;border-radius:999px;margin:0 0 10px;padding:6px 12px;font-weight:600;display:inline-block}.subtitle{color:#334155;max-width:840px;margin:0;font-size:1.02rem}.hero-locale-row,.auth-locale-row{flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:12px;display:flex}.farmer-steps-card{background:linear-gradient(#f0fdf4 0%,#fff 42%);border:1px solid #86efac;margin-top:20px}.farmer-steps-list{gap:14px;margin:0;padding:0;list-style:none;display:grid}.farmer-step{background:#fff;border:1px solid #dcfce7;border-radius:10px;padding:12px 14px}.farmer-step-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.farmer-step-audio-btn{flex-shrink:0}.audio-help-btn-compact{height:32px;padding:0 10px;font-size:.85rem}.farmer-step p{color:#334155;margin:6px 0 0;line-height:1.5}.farmer-step strong{color:#166534}.english-quick-start-card{background:#fff;border:1px solid #e2e8f0;margin-top:20px}.english-quick-start-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.english-quick-start-header h2{margin:0}.english-quick-start-dismiss{flex-shrink:0;font-size:.88rem}.english-quick-start-toggle{margin-top:8px;padding-left:0}.english-quick-start-steps{color:#475569;margin:12px 0 0;padding-left:1.25rem;line-height:1.55}.panel-section-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:4px;display:flex}.panel-section-header h2{margin:0}.panel-section-audio-btn{flex-shrink:0}.panel-section-header-modal{margin-bottom:8px}.panel-section-header-modal h2,.panel-section-header-modal h3{font-size:inherit;margin:0}.hero-locale-row{margin-bottom:14px}.language-switcher{color:#475569;align-items:center;gap:8px;font-size:.9rem;display:inline-flex}.language-switcher select{color:#0f172a;height:36px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px}.audio-help-btn{color:#1d4ed8;height:36px;font:inherit;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:8px;padding:0 14px;font-weight:600}.audio-help-btn:disabled{opacity:.7;cursor:wait}.hero-auth-row{justify-content:space-between;align-items:center;gap:10px;margin-top:10px;display:flex}.verify-banner{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin-top:12px;padding:10px}.verify-actions{align-items:center;gap:8px;margin-top:8px;display:flex}.verify-actions input{border:1px solid #cbd5e1;border-radius:8px;min-width:260px;height:36px;padding:0 10px}.card-grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;min-width:0;max-width:100%;margin-top:30px;display:grid}.card{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffe0;border:1px solid #dbe5f5;border-radius:16px;min-width:0;max-width:100%;padding:18px;overflow-x:clip;box-shadow:0 10px 30px #0f172a14}.card h2{margin:0 0 12px;font-size:1.15rem}.card p,.card li{color:#334155}.card code{color:#3730a3;background:#eef2ff;border-radius:6px;margin-top:6px;padding:6px 8px;display:inline-block}.form-grid{gap:10px;display:grid}.category-select-label{flex-direction:column;grid-column:1/-1;gap:6px;display:flex}.category-select-title{color:#334155;font-size:.9rem;font-weight:600}.searchable-category-select{position:relative}.searchable-category-select-input{box-sizing:border-box;width:100%;height:38px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px}.searchable-category-select--open .searchable-category-select-input{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.searchable-category-select-validator{opacity:0;pointer-events:none;width:0;height:0;position:absolute}.searchable-category-select-results{z-index:30;background:#fff;border:1px solid #e2e8f0;border-radius:10px;max-height:260px;margin:0;padding:.25rem;list-style:none;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:auto;box-shadow:0 10px 28px #0f172a24}.searchable-category-select-results--portal{z-index:10050;position:fixed;top:auto;left:auto;right:auto}.searchable-category-select-option{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:.75rem;width:100%;padding:.5rem .6rem;font-size:.9rem;display:flex}.searchable-category-select-option--active,.searchable-category-select-option:hover{background:#f1f5f9}.searchable-category-select-option--selected{background:#eff6ff;font-weight:600}.searchable-category-select-option-name{flex:auto}.searchable-category-select-empty{padding:.6rem;font-size:.9rem}.budget-alert-rules-panel{margin-top:1.25rem}.budget-alert-rules-panel h3{margin:0 0 .35rem}.budget-alert-rules-table-wrap{overflow-x:auto}.budget-alert-rules-table td{vertical-align:middle}.budget-alert-rules-label{font-weight:600;display:block}.budget-alert-rules-type{font-size:.82rem;display:block}.budget-alert-rules-toggle{align-items:center;gap:.45rem;display:inline-flex}.budget-alert-rules-percent{width:7rem;max-width:100%}.budget-alert-rules-actions{flex-wrap:wrap;justify-content:flex-end;gap:.35rem;display:flex}.category-save-hint{grid-column:1/-1;margin:-4px 0 0;font-size:.86rem;line-height:1.45}.form-grid input:not([type=checkbox]):not([type=radio]),.form-grid select,.grid-toolbar input:not([type=checkbox]):not([type=radio]),.grid-toolbar select,.bulk-input{background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;height:38px;padding:0 10px}.primary-btn,.secondary-btn,.ghost-btn{cursor:pointer;border-radius:8px;height:38px;padding:0 12px;font-weight:600}.primary-btn{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;box-shadow:0 6px 14px #2563eb47}.primary-btn:disabled{opacity:.55;cursor:not-allowed}.secondary-btn{color:#1e40af;background:#eef2ff;border:1px solid #c7d2fe;width:fit-content}.ghost-btn{color:#334155;background:#fff;border:1px solid #cbd5e1;min-width:84px}.period-filter-controls{gap:12px;display:grid}.transactions-period-filter{margin-bottom:16px}.transactions-period-filter .filters-heading{margin:0 0 6px}.transactions-period-filter .filters-intro{margin:0 0 10px}.month-picker{align-items:center;gap:8px;display:flex}.quick-range-chips{flex-wrap:wrap;gap:8px;margin:6px 0 10px;display:flex}.single-date-actions{gap:8px;margin:6px 0 10px;display:flex}.summary-field{margin-bottom:8px}.auth-page{box-sizing:border-box;width:100%;max-width:100%;height:100dvh;min-height:100dvh;padding:max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#64748b8c transparent;margin:0 auto;overflow:auto}.auth-page::-webkit-scrollbar{width:8px;height:8px}.auth-page::-webkit-scrollbar-thumb{background:#64748b73;border-radius:999px}body:has(.auth-page){height:100dvh;overflow:hidden}.auth-card{width:100%;min-width:0;max-width:520px;margin:0 auto}.auth-card-head,.auth-form,.auth-form-body{min-width:0;max-width:100%}.auth-form{flex-direction:column;gap:0;display:flex}.auth-form-body{min-width:0}.auth-form-actions{margin-top:8px}.auth-subtitle{margin:0 0 10px}.auth-submit-btn{width:100%}.auth-page .form-grid input:not([type=checkbox]):not([type=radio]),.auth-page .form-grid select,.auth-page .form-grid textarea{appearance:none;width:100%;min-width:0;max-width:100%;min-height:44px;scroll-margin-top:12px;scroll-margin-bottom:120px;font-size:16px;line-height:1.25}.auth-idle-notice{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;margin:12px 0 0;padding:10px 12px;font-size:.95rem}.auth-tabs{margin-bottom:12px}.period-tabs{background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;flex-wrap:wrap;width:100%;max-width:100%;display:flex;overflow:hidden}.period-tab{color:#334155;cursor:pointer;text-align:center;background:0 0;border:none;border-right:1px solid #e2e8f0;flex:auto;height:auto;min-height:40px;padding:8px 10px;font-size:.88rem;font-weight:600;line-height:1.25}.period-tab:last-child{border-right:none}.period-tab.active{color:#fff;background:#2563eb}.chip-active{color:#fff;background:#2563eb;border-color:#1d4ed8}.tx-table{border-collapse:collapse;width:100%;min-width:0;font-size:.95rem}.table-wrap{-webkit-overflow-scrolling:touch;border:1px solid #e2e8f0;border-radius:12px;max-width:100%;max-height:420px;overflow:auto}.tx-table th,.tx-table td{text-align:left;border-bottom:1px solid #e2e8f0;padding:10px 8px}.line-items{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px}.line-item-head{margin-bottom:8px}.line-item-row{grid-template-columns:1fr;align-items:center;gap:8px;margin-bottom:8px;display:grid}.grid-toolbar{grid-template-columns:1fr;gap:10px;margin-bottom:12px;display:grid}.transactions-filters{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:14px;padding:14px 14px 12px}.filters-heading{color:#1e293b;margin:0 0 6px;font-size:.95rem;font-weight:700}.filters-intro{color:#64748b;margin:0 0 12px;font-size:.86rem;line-height:1.45}.filters-row{grid-template-columns:minmax(0,1.6fr) minmax(0,.75fr) minmax(0,1.1fr);align-items:end;gap:12px;display:grid}.filters-row-advanced{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin-top:10px}.filter-field-amount .filter-amount-row{grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;display:grid}.filter-amount-sep{color:#94a3b8;font-size:.9rem}.filters-column-hint{margin:10px 0 0;font-size:.84rem;line-height:1.45}.filter-field{flex-direction:column;align-items:stretch;gap:8px;min-width:0;display:flex}.filter-field-meta{flex-direction:column;justify-content:flex-start;gap:2px;min-height:2.4rem;display:flex}.filter-field-label{color:#475569;letter-spacing:.01em;margin:0;padding:0;font-size:.8rem;font-weight:600;line-height:1.25;display:block}.filter-field-hint{color:#94a3b8;margin:0;padding:0;font-size:.75rem;font-weight:400;line-height:1.3;display:block}.transactions-filters input,.transactions-filters select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;height:40px;padding:0 10px;font-size:.95rem}.transactions-filters input:focus,.transactions-filters select:focus{outline-offset:1px;border-color:#3b82f6;outline:2px solid #93c5fd}.tx-table thead th{background:#eef2ff;font-weight:700;position:sticky;top:0}.tx-table thead th:not(.tx-header-cell):not(.tx-actions-col){cursor:pointer}.tx-header-cell{cursor:default;vertical-align:bottom;white-space:nowrap;min-width:9rem}.tx-header-inner{justify-content:space-between;align-items:center;gap:.25rem;display:flex}.tx-header-sort{font:inherit;cursor:pointer;color:inherit;background:0 0;border:0;align-items:center;gap:.25rem;padding:0;font-weight:700;display:inline-flex}.tx-header-sort-indicator{color:#4338ca;font-size:.75rem}.tx-header-cell--emphasized{background:#eef2ff;box-shadow:inset 0 -2px #6366f1}.tx-table-summary{background:linear-gradient(#f8fafc 0%,#fff 100%);border:1px solid #dbe5f5;border-radius:12px;margin:16px 0 12px;padding:14px 16px}.tx-table-summary--amount-active{background:linear-gradient(#eef2ff 0%,#fff 72%);border-color:#c7d2fe}.tx-table-summary-primary{flex-wrap:wrap;gap:10px;display:flex}.tx-table-summary-chip{background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:8px;padding:8px 12px;font-size:.92rem;display:inline-flex}.tx-table-summary-chip strong{font-size:1rem}.tx-table-summary-chip--expense strong{color:#b45309}.tx-table-summary-chip--income strong{color:#15803d}.tx-table-summary-chip--net strong{color:#1d4ed8}.tx-table-summary-hint,.tx-table-summary-amount-detail{margin:10px 0 0;font-size:.88rem;line-height:1.45}.tx-table-summary-budget{border-top:1px dashed #cbd5e1;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:12px;padding-top:12px;font-size:.9rem;display:flex}.tx-table-summary-budget-label{color:#334155;font-weight:600}.tx-header-filter-wrap{position:relative}.tx-header-filter-btn{color:#475569;cursor:pointer;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:6px;flex-shrink:0;width:1.5rem;height:1.5rem;font-size:.85rem;line-height:1}.tx-header-filter-btn--active,.tx-header-filter-btn--open{color:#1d4ed8;background:#dbeafe;border-color:#60a5fa;box-shadow:inset 0 0 0 1px #93c5fd}.tx-header-filter-panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;min-width:220px;padding:.75rem;box-shadow:0 10px 30px #0f172a1f}.tx-header-filter-panel--floating{z-index:1200;box-sizing:border-box;max-width:calc(100vw - 24px);position:fixed}.tx-header-filter-fields{gap:.6rem;display:grid}.tx-header-filter-fields label,.tx-header-filter-panel label{gap:.35rem;font-size:.85rem;display:grid}.tx-header-filter-panel input,.tx-header-filter-panel select{box-sizing:border-box;width:100%}.tx-header-filter-quick{flex-wrap:wrap;gap:.4rem;display:flex}.tx-header-filter-quick .secondary-btn{padding:.35rem .55rem;font-size:.8rem}.tx-active-filters{flex-wrap:wrap;align-items:center;gap:.45rem;min-height:2rem;margin:.75rem 0;display:flex}.tx-active-filter-chip{color:#312e81;background:#eef2ff;border-radius:999px;align-items:center;gap:.35rem;padding:.25rem .65rem;font-size:.82rem;display:inline-flex}.tx-active-filter-chip--removable{cursor:pointer;border:1px solid #c7d2fe}.tx-active-filter-clear{color:#4338ca;cursor:pointer;background:0 0;border:0;font-size:.82rem;text-decoration:underline}.tx-table thead th.tx-actions-col{cursor:default;white-space:nowrap}.tx-actions-cell{white-space:nowrap}.tx-actions{flex-wrap:wrap;gap:6px;display:flex}.tx-action-btn{padding:4px 10px;font-size:.85rem}.timeseries-chart-wrap{border-top:1px solid #e2e8f0;margin-top:18px;padding-top:14px}.timeseries-heading{margin:0 0 4px;font-size:1rem}.timeseries-caption{margin:0 0 10px;font-size:.85rem}.receipt-analytics-card{margin-top:30px}.receipt-analytics-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0;display:grid}.receipt-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.receipt-analytics-trends-panel{grid-column:1/-1}.receipt-analytics-trend-chart{margin-bottom:12px}.receipt-analytics-trend-list{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;display:grid}.receipt-analytics-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px}.receipt-analytics-panel h3{margin:0 0 10px;font-size:.95rem}.receipt-analytics-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.receipt-analytics-list li{background:#fff;border:1px solid #e2e8f0;border-radius:10px;gap:2px;padding:8px;display:grid}.receipt-analytics-list strong{color:#0f172a}.card-collapsible .card-collapsible-toggle{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:0;display:flex}.card-collapsible .card-collapsible-toggle h2{margin:0}.card-collapsible-label{color:#64748b;font-size:.85rem;font-weight:600}.card-collapsible-hint{margin:0}.receipt-library-page-highlight{background:#eef2ff;border-color:#6366f1;box-shadow:0 0 0 2px #6366f140}.tx-receipt-links{flex-wrap:wrap;gap:6px;display:flex}.link-btn{color:#4f46e5;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:0;font-weight:600;text-decoration:underline}.link-btn:hover:not(:disabled){color:#4338ca}.merchant-rules-panel{border-top:1px solid #e2e8f0;margin-top:20px;padding-top:16px}.merchant-rules-panel h3{margin:0 0 6px;font-size:1rem}.merchant-rules-actions{margin:10px 0}.merchant-rules-feedback{color:#15803d;margin:0 0 10px;font-size:.9rem}.budget-inline-feedback{margin:8px 0 12px;font-size:.92rem}.receipt-ai-preference-hint{margin:8px 0 0;font-size:.9rem;line-height:1.45}.receipt-ai-settings-card{margin-bottom:16px}.receipt-ai-settings-inline{margin-top:8px}.receipt-ai-review-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin:12px 0 16px;padding:12px 14px}.receipt-ai-review-toggle{font-weight:600}.merchant-rules-add-row{flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0;display:flex}.merchant-rules-add-row input{flex:180px;min-width:140px}.merchant-rules-add-row select{flex:160px;min-width:140px}.merchant-rules-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.merchant-rules-list li{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.merchant-rules-list li.merchant-rule-editing{flex-direction:column;align-items:stretch}.merchant-rule-edit-row{flex-wrap:wrap;align-items:center;gap:10px;width:100%;display:flex}.merchant-rule-edit-row input{flex:180px;min-width:140px}.merchant-rule-edit-row select{flex:160px;min-width:140px}.merchant-rule-edit-actions,.merchant-rule-item-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.transaction-export-actions{border-top:1px solid #e2e8f0;flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px;padding-top:14px;display:flex}.transaction-export-option{white-space:nowrap;flex-shrink:0;align-items:center;gap:8px;font-size:.9rem;display:inline-flex}.transaction-export-caption{flex:200px;min-width:0;line-height:1.4}.transaction-export-feedback{margin:8px 0 0;font-size:.9rem}.transaction-export-feedback-ok{color:#15803d}.budget-subheading{margin:1.25rem 0 .5rem;font-size:1rem;font-weight:600}.budget-month-actions{flex-wrap:wrap;gap:10px;display:flex}.budget-tools-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin:12px 0 16px;padding:12px 14px}.budget-tools-hint{color:#64748b;margin:10px 0 0;font-size:.85rem;line-height:1.45}.budget-info-details{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin:10px 0 14px;padding:10px 12px;font-size:.9rem}.budget-info-details summary{cursor:pointer;color:#334155;font-weight:600}.budget-info-details p{color:#64748b;margin:10px 0 0;line-height:1.45}.budget-member-hint{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin:0 0 12px;padding:10px 12px;font-size:.88rem;line-height:1.45}.budget-add-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin:0 0 16px;padding:14px 16px;box-shadow:0 1px 2px #0f172a0a}.budget-add-card-title{color:#334155;margin:0 0 12px;font-size:.92rem;font-weight:600}.budget-add-form{grid-template-columns:minmax(200px,1.6fr) minmax(120px,.7fr) auto;align-items:end;gap:12px;display:grid}.budget-field{flex-direction:column;gap:6px;min-width:0;display:flex}.budget-field-label{letter-spacing:.02em;text-transform:uppercase;color:#64748b;font-size:.78rem;font-weight:600}.budget-add-form .searchable-category-select{width:100%;min-width:0}.budget-add-form input[type=number],.budget-add-form input[type=text]{width:100%;min-width:0;height:40px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:0 12px}.budget-add-form input:focus{outline-offset:1px;border-color:#60a5fa;outline:2px solid #93c5fd}.budget-add-submit{white-space:nowrap;min-height:40px;padding:0 18px}.budget-family-cap-toggle{cursor:pointer;color:#334155;flex-direction:row;align-items:center;gap:10px;margin:0;font-size:.92rem;display:flex}.budget-family-cap-toggle input{flex-shrink:0;width:16px;height:16px;margin:0}.budget-family-cap-hint{color:#64748b;margin:0;padding-left:26px;font-size:.85rem;line-height:1.45}.budget-progress-summary{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;margin:0 0 14px;padding:12px 14px}.budget-progress-summary-main{color:#14532d;margin:0;font-size:.95rem}.budget-progress-summary-hint{margin:6px 0 0;font-size:.85rem}.budget-progress-over-note{color:#b45309}.budget-progress-cell{width:18%;min-width:120px}.budget-progress-bar{background:#e2e8f0;border-radius:999px;height:8px;overflow:hidden}.budget-progress-fill{border-radius:999px;height:100%;transition:width .2s}.budget-progress-ok{background:#22c55e}.budget-progress-near{background:#f59e0b}.budget-progress-at-cap{background:#f97316}.budget-progress-over{background:#ef4444}.chart-trend-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.chart-trend-range-actions{flex-wrap:wrap;gap:8px;display:flex}.chart-trend-btn-active{color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.chart-trend-period-label{margin:0 0 10px;font-size:.9rem}.chart-ytd-kpis{flex-wrap:wrap;gap:10px;margin:0 0 10px;display:flex}.chart-expense-scope-actions{flex-wrap:wrap;gap:8px;display:flex}.category-timeseries-chart-wrap{border-top:1px solid #e2e8f0;margin-top:18px;padding-top:14px}.category-timeseries-heading{margin:0 0 6px;font-size:1rem}.category-timeseries-caption{margin:0 0 10px;font-size:.9rem}.home-budget-snapshot-hint{width:100%;margin:0 0 10px;font-size:.88rem}.home-budget-snapshot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:14px 16px;display:flex}.home-budget-snapshot-main{margin:0}.home-budget-snapshot-link{flex-shrink:0;align-self:flex-start;text-decoration:none}.home-wins-snapshot{min-width:0;max-width:100%;margin-bottom:14px;padding:14px 16px}.home-wins-snapshot-title{margin:0 0 4px;font-size:1.05rem}.home-wins-snapshot-lead{margin:0 0 10px;font-size:.9rem}.home-wins-snapshot-empty{margin:0 0 12px;font-size:.9rem}.home-wins-snapshot-list{gap:10px;margin:0 0 12px;padding:0;list-style:none;display:grid}.home-wins-snapshot-list li{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.home-wins-label{color:var(--muted,#64748b);font-size:.92rem}.home-wins-detail,.home-wins-link{font-size:.88rem}.home-wins-rolling{width:100%}.tx-deal-savings-badge{color:#047857;margin:4px 0 0;font-size:.82rem;font-weight:500}.tx-shop-savings-badge{color:#0369a1;margin:4px 0 0;font-size:.82rem;font-weight:500}.household-family-cap-progress{background:#f8fafc;border:1px solid #dbeafe;border-radius:12px;margin:0 0 14px;padding:12px 14px}.household-family-cap-progress p{margin:0}.household-family-cap-progress .muted{display:inline}.alert-rules-summary{margin:0 0 10px;font-size:.95rem}.budget-progress-jump-link{color:#2563eb;text-decoration:none}.budget-progress-jump-link:hover{text-decoration:underline}.positive-budget-digest{background:#ecfdf5;border:1px solid #bbf7d0;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:0 0 16px;padding:12px 14px;display:flex}.positive-budget-digest p{color:#14532d;margin:0}.positive-budget-digest-dismiss{flex-shrink:0}.budget-cap-filter{flex-wrap:wrap;gap:8px;margin:0 0 12px;display:flex}.budget-member-spend{margin-top:4px;font-size:.82rem;line-height:1.35;display:block}.rolling-expense-trend{margin:0 0 8px;font-size:.9rem}.chart-trend-toolbar-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.chart-yoy-toggle{color:#475569;align-items:center;gap:6px;font-size:.9rem;display:inline-flex}.mom-expense-headline{color:#065f46;background:#ecfdf5;border-radius:10px;margin:0 0 10px;padding:10px 12px;font-size:.95rem}.budget-month-recap{background:#f0f9ff;border:1px solid #dbeafe;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:12px 0;padding:12px 14px;display:flex}.budget-month-recap p{margin:0}.budget-month-recap-dismiss{flex-shrink:0}.household-retag-modal-backdrop{z-index:1200;background:#0f172a73;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.household-retag-modal{width:min(100%,480px);margin:0}.household-retag-modal-actions{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.household-retag-panel{background:#f8fafc;border:1px solid #dbeafe;border-radius:12px;margin:16px 0;padding:14px 16px}.household-retag-panel h3{margin:0 0 8px;font-size:1rem}.household-retag-preview{margin:10px 0;font-size:.95rem}.category-breakdown-row{margin-bottom:8px}.budget-add-form .searchable-category-select-input{height:40px;padding:0 12px}.store-budget-add-form{grid-template-columns:minmax(180px,1.5fr) minmax(120px,.65fr) auto}.budget-add-form-family{border-top:1px solid #f1f5f9;flex-direction:column;grid-column:1/-1;gap:6px;margin-top:2px;padding-top:12px;display:flex}.category-store-breakdown{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin:0 0 16px;padding:12px 14px}.category-store-breakdown-list{flex-direction:column;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.category-store-breakdown-list li{justify-content:space-between;gap:12px;display:flex}.receipt-fx-currency-hint{max-width:36rem;margin:6px 0 0;font-size:.82rem}.receipt-fx-converter-same-currency{margin:0 0 10px;font-size:.88rem;line-height:1.45}.receipt-fx-converter-preview{margin:0 0 10px;font-size:.95rem}.receipt-fx-converter-apply{margin-top:4px}.receipt-fx-converter-wait{margin:8px 0 0;font-size:.88rem}.link-btn{color:#2563eb;cursor:pointer;font:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.link-btn:disabled{opacity:.5;cursor:not-allowed}.receipt-fx-converter-applied-summary{margin:.5rem 0 .75rem;font-weight:500}.receipt-fx-converter-applied .ghost-btn{margin-top:.25rem}.receipt-fx-converter{background:#f0f9ff;border:1px solid #dbeafe;border-radius:10px;margin-top:12px;padding:12px 14px}.receipt-fx-converter h4{margin:0 0 6px;font-size:.95rem}.receipt-fx-converter-lead{margin:0 0 10px;font-size:.88rem}.receipt-fx-converter-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px 16px;margin:0 0 8px;display:grid}.receipt-fx-converter-grid dt{color:#64748b;margin:0 0 4px;font-size:.78rem;font-weight:600}.receipt-fx-converter-grid dd{margin:0}.receipt-fx-converter-result strong{font-size:1.05rem}.receipt-fx-converter-rate{margin:0 0 10px;font-size:.82rem}.receipt-line-items-hidden-note{max-width:40rem;margin:12px 0 0;font-size:.88rem;line-height:1.45}.receipt-line-items-panel{margin:16px 0}.receipt-line-items-panel h4{margin:0 0 6px;font-size:.95rem}.receipt-line-items-sum{margin:10px 0 0;font-size:.88rem;line-height:1.45}.receipt-line-items-sum-match{color:#166534}.receipt-line-items-sum-mismatch{color:#b45309}.receipt-line-items-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.receipt-line-items-summary-toggle{cursor:pointer;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;font-size:.9rem;font-weight:600;list-style:none;display:flex}.receipt-line-items-summary-toggle::-webkit-details-marker{display:none}.receipt-line-items-summary-title{flex:auto}.receipt-line-items-summary-badge{border-radius:999px;padding:2px 8px;font-size:.78rem;font-weight:600}.receipt-line-items-summary-badge-ok{color:#166534;background:#dcfce7}.receipt-line-items-summary-badge-warn{color:#b45309;background:#fef3c7}.receipt-line-items-summary-body{border-top:1px solid #e2e8f0;padding:0 12px 12px}.receipt-line-items-expense-mode{color:#334155;margin:8px 0 0;font-size:.88rem;font-weight:600}.receipt-line-items-expense-toggle{cursor:pointer;align-items:center;gap:8px;margin:8px 0 0;font-size:.88rem;display:flex}.receipt-line-items-long-note{margin:8px 0 0}.receipt-line-items-table-scroll{-webkit-overflow-scrolling:touch;max-height:min(360px,50vh);margin-top:10px;overflow:auto}.receipt-line-items-table-scroll-hint{color:#64748b;margin:6px 0 0;font-size:.78rem}.budget-add-row{flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 16px;display:flex}.budget-add-row select,.budget-add-row input{border:1px solid #cbd5e1;border-radius:8px;min-width:160px;height:40px;padding:0 10px}.budget-table-wrap{margin-top:8px}.budget-notification-panel{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;margin:12px 0;padding:12px}.budget-notification-panel strong{margin-bottom:8px;display:block}.budget-notification-panel ul{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.budget-push-onboarding{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:12px;margin:12px 0;padding:12px 14px}.budget-push-onboarding p{margin:0 0 10px}.budget-push-onboarding .secondary-btn{margin-bottom:8px}.budget-inline-hint{margin:8px 0 12px;font-size:.92rem;line-height:1.45}.budget-alert{background:#fff;border:1px solid #dbeafe;border-radius:10px;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:8px 10px;display:flex}.budget-alert-over{color:#991b1b;background:#fef2f2;border-color:#fecaca}.budget-alert-near_limit{color:#92400e;background:#fffbeb;border-color:#fcd34d}.budget-alert-at_cap{color:#c2410c;background:#ffedd5;border-color:#fdba74}.budget-remaining-over{color:#b91c1c;font-weight:700}.budget-status-badge{white-space:nowrap;color:#166534;background:#ecfdf5;border-radius:999px;align-items:center;padding:4px 8px;font-size:.78rem;font-weight:700;display:inline-flex}.budget-status-near_limit{color:#92400e;background:#fffbeb}.budget-status-at_cap{color:#c2410c;background:#ffedd5}.budget-status-over{color:#991b1b;background:#fef2f2}.modal-backdrop{z-index:50;background:#0f172a73;justify-content:center;align-items:flex-start;padding:40px 16px;display:flex;position:fixed;inset:0;overflow-y:auto}.modal-panel{width:min(640px,100%);max-height:calc(100vh - 80px);margin-bottom:40px;overflow-y:auto}.modal-actions{grid-column:1/-1;justify-content:flex-end;gap:10px;display:flex}.receipt-pdf-intent-panel{padding:24px 28px 28px}.receipt-pdf-intent-panel h2{margin:0 0 12px}.receipt-pdf-intent-panel>.muted{margin:0 0 20px;line-height:1.5}.receipt-pdf-intent-options{flex-direction:column;gap:16px;margin:0 0 24px;display:flex}.receipt-pdf-intent-option{text-align:left;white-space:normal;flex-direction:column;align-items:flex-start;gap:8px;width:100%;height:auto;min-height:0;padding:16px 18px;line-height:1.45;display:flex}.receipt-pdf-intent-option-title{color:#1e40af;font-size:1rem;font-weight:700}.receipt-pdf-intent-option-desc{color:#475569;font-size:.9rem;font-weight:400;line-height:1.5;display:block}.receipt-pdf-intent-footer{border-top:1px solid #e2e8f0;padding-top:4px}.receipt-intent-badge{color:#0c4a6e;background:#f0f9ff;border-radius:8px;margin:8px 0 0;padding:8px 12px;font-size:.95rem}.receipt-intent-pending{margin:8px 0 0}.receipt-library-intent-hint{margin:4px 0 0;font-size:.9rem}.receipt-single-bill-guide{color:#1e3a5f;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin:12px 0 0;padding:12px 14px;font-size:.92rem}.receipt-single-bill-guide-steps{margin:8px 0 0;padding-left:1.25rem;line-height:1.5}.receipt-single-bill-guide-steps li+li{margin-top:6px}.receipt-single-bill-page-caption{margin-top:2px;font-size:.88rem;display:block}.receipt-single-bill-page-note{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin:6px 0 0;padding:8px 10px;font-size:.9rem;line-height:1.45}.dashboard-view-switch{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0 8px;display:flex}.household-panel-lead{margin-bottom:12px}.household-create-block h3{margin:0 0 6px}.household-create-block .muted{margin:0 0 4px}.household-create-row,.household-invite-row{flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px;display:flex}.household-invite-email-field{max-width:100%;display:inline-flex}.household-invite-email-field input[type=email]{box-sizing:border-box;width:auto;min-width:35ch;max-width:min(100%,48ch)}.household-field-hint{margin:6px 0 0}.household-invite-row input[aria-invalid=true]{border-color:#dc2626}.expense-scope-hint{margin:6px 0 0;font-size:.9rem}.expense-type-hint{grid-column:1/-1;margin:-4px 0 0;font-size:.88rem}.form-card .summary-field{flex-direction:column;grid-column:1/-1;gap:6px;display:flex}.form-card .summary-field input{width:100%;max-width:280px}.manual-expense-entry,.manual-money-in-entry{flex-direction:column;grid-column:1/-1;gap:14px;display:flex}.manual-expense-line-items .line-item-head{flex-direction:column;gap:4px;margin-bottom:8px;display:flex}.line-item-row-head{color:#64748b;grid-template-columns:1fr 72px 120px auto;gap:10px;margin-bottom:4px;font-size:.8rem;font-weight:600;display:none}.manual-expense-line-items .line-item-row{grid-template-columns:1fr;align-items:center;gap:10px;display:grid}.manual-expense-total{margin:10px 0 0;font-size:1rem}.household-manage-block,.household-accept-block,.household-members-block,.household-test-reset-block{border-top:1px solid #e2e8f0;margin-top:18px;padding-top:14px}.household-test-reset-block--busy{opacity:.92}.household-test-reset-scope-list{flex-direction:column;gap:10px;margin:12px 0 0;padding:0;list-style:none;display:flex}.household-test-reset-scope-list label{cursor:pointer;align-items:flex-start;gap:8px;display:flex}.household-test-reset-warning{margin:0;padding:0;list-style:none}.household-test-reset-progress{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin:14px 0 16px;padding:14px 16px}.household-test-reset-progress-label{color:#1e3a8a;margin:0 0 10px;font-weight:600}.household-test-reset-progress-track{background:#dbeafe;border-radius:999px;height:10px;overflow:hidden}.household-test-reset-progress-bar{background:linear-gradient(90deg,#2563eb,#3b82f6);border-radius:999px;height:100%;transition:width .45s}.household-test-reset-progress-meta{margin:8px 0 0;font-size:.88rem}.household-member-list{flex-direction:column;gap:10px;margin:10px 0 0;padding:0;list-style:none;display:flex}.household-member-item{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.household-invite-token code{word-break:break-all;font-size:.85rem}.household-dashboard-kpis{flex-wrap:wrap;gap:12px;margin:12px 0;display:flex}.household-dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:12px;display:grid}.household-dashboard-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px}.household-summary-list{flex-direction:column;gap:8px;margin:10px 0 0;padding:0;list-style:none;display:flex}.household-summary-list li{justify-content:space-between;gap:10px;display:flex}.household-transactions-card{margin-top:16px}.household-tx-table th,.household-tx-table td{font-size:.92rem}.household-dashboard-note{margin-top:12px}.expense-scope-field{grid-column:1/-1}.expense-scope-options{flex-wrap:wrap;gap:14px;margin-top:6px;display:flex}.expense-scope-option{align-items:center;gap:6px;font-size:.95rem;display:inline-flex}.tx-scope-badge{letter-spacing:.02em;text-transform:uppercase;color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, transparent);vertical-align:middle;border-radius:999px;margin-left:.45rem;padding:.1rem .4rem;font-size:.72rem;font-weight:600;display:inline-block}.receipt-scan-card{min-width:0;max-width:100%;margin-top:0;overflow-x:clip}.receipts-tab-shell{min-width:0;margin-top:24px}.receipts-tab-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.receipts-tab-toolbar-lead{flex:1;min-width:0;margin:0}.receipts-tab-bar{margin-bottom:16px}.receipts-tab-bar .period-tab{justify-content:center;align-items:center;gap:6px;display:inline-flex}.receipt-tab-badge{color:#fff;background:#ef4444;border-radius:999px;justify-content:center;align-items:center;min-width:1.25rem;height:1.25rem;padding:0 5px;font-size:.72rem;font-weight:700;line-height:1;display:inline-flex}.period-tab.active .receipt-tab-badge{color:#1d4ed8;background:#ffffffeb}.period-tab:disabled{opacity:.45;cursor:not-allowed}.receipt-tab-ocr-message{margin:0 0 12px}.receipt-inbox-card,.receipt-tab-gated-card{margin-top:0}.receipt-inbox-empty{gap:12px;margin-top:8px;display:grid}.receipt-inbox-card .receipt-library{border-top:none;margin-top:12px;padding-top:0}.receipts-tab-shell .digital-receipt-card,.receipts-tab-shell .receipt-scan-card{margin-top:0}.receipts-tab-shell .digital-receipt-card+.receipt-scan-card{margin-top:16px}.receipts-tab-shell .receipt-reconciliation-card,.receipts-tab-shell .receipt-analytics-card{margin-top:0}.budgets-tab-shell .budgets-tab-month-picker{margin-bottom:12px}.budgets-tab-toolbar-copy{flex:1;min-width:0}.budgets-tab-toolbar-copy .error-text{margin:6px 0 0}.budgets-tab-shell .budget-overview-card,.budgets-tab-shell .budget-caps-card,.budgets-tab-shell .budget-rules-card,.budgets-tab-shell .alert-prefs-card{margin-top:0}.budgets-tab-shell .alert-prefs-card+.budget-rules-card{margin-top:16px}.receipt-scan-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;display:flex}.receipt-file-input-hidden{opacity:0;z-index:-1;width:.1px;height:.1px;position:fixed;top:0;left:0;overflow:hidden}.receipt-file-label{cursor:pointer;justify-content:center;align-items:center;margin:0;display:inline-flex}.receipt-camera-backdrop{z-index:2000;background:#0f172aa6;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.receipt-camera-dialog{background:#fff;border-radius:16px;width:min(520px,100%);padding:16px;box-shadow:0 24px 48px #0f172a40}.receipt-camera-dialog h3{margin:0 0 12px}.receipt-camera-dialog-wide{width:min(560px,100%);max-height:min(92vh,900px);overflow-y:auto}.receipt-dialog-header-row{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:8px;display:flex}.receipt-dialog-header-title{flex:1;min-width:0;margin-bottom:0!important}.receipt-dialog-close-btn{color:#334155;cursor:pointer;background:#f1f5f9;border:none;border-radius:8px;flex-shrink:0;width:36px;height:36px;padding:0;font-size:1.5rem;line-height:1}.receipt-dialog-close-btn:hover{color:#0f172a;background:#e2e8f0}.receipt-camera-tip{margin:0 0 12px;font-size:.9rem;line-height:1.45}.receipt-camera-live-wrap{background:#0f172a;border-radius:12px;position:relative;overflow:hidden}.receipt-camera-video{object-fit:contain;width:100%;max-height:min(360px,50vh);display:block}.receipt-camera-frame-guide{pointer-events:none;border:2px dashed #ffffffd9;border-radius:8px;justify-content:center;align-items:flex-end;padding-bottom:8px;display:flex;position:absolute;inset:10% 12%;box-shadow:0 0 0 9999px #0f172a59}.receipt-camera-frame-guide span{color:#fff;text-shadow:0 1px 3px #000c;background:#0f172a8c;border-radius:6px;padding:4px 8px;font-size:.75rem}.receipt-crop-hint{margin:0 0 10px;font-size:.88rem}.receipt-crop-toolbar{flex-wrap:wrap;gap:8px;margin-bottom:8px;display:flex}.receipt-crop-nudge-toolbar{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.receipt-line-items-table-wrap{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-top:8px}.receipt-line-items-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0;font-size:.9rem}.receipt-line-items-table--savings{min-width:0}.receipt-line-items-col-name{width:30%}.receipt-line-items-col-qty{width:9%}.receipt-line-items-col-list{width:14%}.receipt-line-items-col-unit{width:16%}.receipt-line-items-col-savings{width:12%}.receipt-line-items-col-total,.receipt-line-items-col-action{width:14%}.receipt-line-items-table--savings .receipt-line-items-col-name{width:22%}.receipt-line-items-table--savings .receipt-line-items-col-qty{width:8%}.receipt-line-items-table--savings .receipt-line-items-col-list,.receipt-line-items-table--savings .receipt-line-items-col-unit{width:14%}.receipt-line-items-table--savings .receipt-line-items-col-savings{width:12%}.receipt-line-items-table--savings .receipt-line-items-col-total{width:14%}.receipt-line-items-table--savings .receipt-line-items-col-action{width:16%}.receipt-line-items-table th,.receipt-line-items-table td{vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:8px 6px;overflow:hidden}.receipt-line-items-table tbody tr:last-child td,.receipt-line-items-table thead tr th{border-bottom:none}.receipt-line-items-table thead tr th{border-bottom:1px solid #cbd5e1}.receipt-line-items-table th{color:#64748b;text-align:left;white-space:normal;-webkit-hyphens:auto;hyphens:auto;background:#f1f5f9;font-size:.72rem;font-weight:600;line-height:1.25}.receipt-line-items-table td.receipt-line-items-cell-qty,.receipt-line-items-table th.receipt-line-items-th-qty{text-align:center}.receipt-line-items-table td.receipt-line-items-cell-money,.receipt-line-items-table th.receipt-line-items-th-money{text-align:right;font-variant-numeric:tabular-nums}.receipt-line-items-table td.receipt-line-items-cell-name{word-break:break-word}.receipt-line-items-table td.receipt-line-items-cell-total{white-space:nowrap}.receipt-line-items-table td.receipt-line-items-cell-action{text-align:right}.receipt-line-items-table-editable td input{box-sizing:border-box;width:100%;min-width:0;font-size:.86rem}.receipt-line-items-table-editable td.receipt-line-items-cell-qty input{text-align:center}.receipt-line-items-table-editable td.receipt-line-items-cell-money input{text-align:right}.receipt-line-items-table .line-item-remove{white-space:nowrap;max-width:100%;padding:4px 8px;font-size:.78rem}@media (max-width:720px){.receipt-line-items-table-wrap{background:0 0;border:none;padding:8px}.receipt-line-items-table-wrap.receipt-line-items-table-scroll{max-height:none;overflow:visible}.receipt-line-items-table{table-layout:auto;min-width:0}.receipt-line-items-table thead{display:none}.receipt-line-items-table tbody tr{background:#fff;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:12px;padding:10px 12px;display:block}.receipt-line-items-table tbody td{border-bottom:1px solid #f1f5f9;grid-template-columns:minmax(5.5rem,38%) 1fr;align-items:center;gap:8px 10px;padding:8px 0;display:grid;overflow:visible}.receipt-line-items-table tbody td:last-child{border-bottom:none;padding-bottom:0}.receipt-line-items-table tbody td:before{content:attr(data-label);color:#64748b;font-size:.72rem;font-weight:600;line-height:1.25}.receipt-line-items-table tbody td[data-label=""]:before{display:none}.receipt-line-items-table tbody td.receipt-line-items-cell-action{grid-template-columns:1fr;justify-items:stretch;padding-top:10px}.receipt-line-items-table tbody td.receipt-line-items-cell-action .line-item-remove{width:100%;min-height:40px}.receipt-line-items-table-editable tbody td input{min-height:40px;font-size:1rem}.receipt-line-items-table tbody td.receipt-line-items-cell-money,.receipt-line-items-table tbody td.receipt-line-items-cell-total{white-space:normal;word-break:break-word}}.receipt-privacy-toggle{cursor:pointer;align-items:center;gap:8px;margin-bottom:10px;font-size:.88rem;display:flex}.receipt-long-tip{background:#f0f9ff;border:1px solid #bae6fd;border-radius:10px;margin:12px 0 0;padding:10px 12px;font-size:.88rem;line-height:1.45}.receipt-section-badge{color:#0369a1;font-size:.75rem;font-weight:600}.receipt-crop-preview-stage{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;justify-content:center;align-items:center;width:100%;min-height:min(280px,42vh);max-height:min(640px,72vh);margin-bottom:12px;padding:12px;display:flex;overflow:auto}.receipt-crop-preview-loading{background:#f1f5f9;min-height:min(220px,38vh)}.receipt-crop-preview-img{object-fit:contain;border-radius:6px;width:100%;max-width:min(100%,640px);height:auto;min-height:min(240px,36vh);max-height:min(760px,78vh);margin:0 auto;display:block;box-shadow:0 4px 20px #0f172a1f}.receipt-crop-actions{flex-wrap:wrap}.receipt-crop-stage{touch-action:none;-webkit-user-select:none;user-select:none;background:#0f172a;border-radius:12px;justify-content:center;align-items:flex-start;width:100%;min-height:min(200px,32vh);max-height:min(560px,62vh);margin-bottom:4px;padding:14px;display:flex;overflow:auto}.receipt-crop-image-wrap{max-width:100%;line-height:0;display:inline-block;position:relative;overflow:visible}.receipt-crop-image{width:100%;max-width:min(100%,640px);height:auto;max-height:min(560px,62vh);display:block}.receipt-crop-box{cursor:move;border:2px solid #38bdf8;min-width:48px;min-height:48px;position:absolute;overflow:visible;box-shadow:0 0 0 9999px #0f172a8c}.receipt-crop-box-label{color:#fff;pointer-events:none;z-index:1;background:#0e7490d9;border-radius:4px;padding:2px 6px;font-size:.7rem;position:absolute;top:4px;left:6px}.receipt-crop-handle{z-index:2;touch-action:none;background:#0284c7;border:2px solid #fff;padding:0;position:absolute}.receipt-crop-handle-nw,.receipt-crop-handle-ne,.receipt-crop-handle-sw,.receipt-crop-handle-se{border-radius:4px;width:16px;height:16px}.receipt-crop-handle-nw{top:-8px;left:-8px}.receipt-crop-handle-ne{top:-8px;right:-8px}.receipt-crop-handle-sw{bottom:-8px;left:-8px}.receipt-crop-handle-se{bottom:-8px;right:-8px}.receipt-crop-handle-n,.receipt-crop-handle-s{border-radius:6px;width:28px;height:10px;margin-left:-14px;left:50%}.receipt-crop-handle-n{top:-5px}.receipt-crop-handle-s{bottom:-5px}.receipt-crop-handle-e,.receipt-crop-handle-w{border-radius:6px;width:10px;height:28px;margin-top:-14px;top:50%}.receipt-crop-handle-e{right:-5px}.receipt-crop-handle-w{left:-5px}@media (pointer:coarse){.receipt-crop-handle-nw,.receipt-crop-handle-ne,.receipt-crop-handle-sw,.receipt-crop-handle-se{width:22px;height:22px}.receipt-crop-handle-nw{top:-11px;left:-11px}.receipt-crop-handle-ne{top:-11px;right:-11px}.receipt-crop-handle-sw{bottom:-11px;left:-11px}.receipt-crop-handle-se{bottom:-11px;right:-11px}.receipt-crop-handle-n,.receipt-crop-handle-s{width:36px;height:14px;margin-left:-18px}.receipt-crop-handle-e,.receipt-crop-handle-w{width:14px;height:36px;margin-top:-18px}}.receipt-camera-actions{justify-content:flex-end;gap:10px;margin-top:12px;display:flex}.receipt-preview-box{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;max-height:min(72vh,780px);margin-top:16px;overflow:hidden scroll}.receipt-preview-box:focus{outline-offset:2px;outline:2px solid #38bdf8}.receipt-preview-open-full{margin:8px 0 0;font-size:.88rem}.receipt-preview-open-full-link{color:#0369a1;font-weight:600;text-decoration:underline}.receipt-preview-open-full-link:hover{color:#0c4a6e}.receipt-preview-filename{z-index:1;background:#fff;border-bottom:1px solid #e2e8f0;margin:0;padding:8px 12px;font-size:.85rem;position:sticky;top:0}.receipt-preview-scroll-hint{color:#64748b;background:#f1f5f9;border-bottom:1px solid #e2e8f0;margin:0;padding:6px 12px;font-size:.8rem}.receipt-preview-img-wrap{justify-content:center;padding:12px;display:flex}.receipt-preview-img{object-fit:contain;background:#f8fafc;border-radius:4px;width:100%;max-width:100%;height:auto;max-height:none;display:block}.receipt-success-banner{background:#ecfdf5;border:1px solid #6ee7b7;border-radius:8px;margin:12px 0;padding:10px 12px}.receipt-library{border-top:1px solid #e2e8f0;min-width:0;max-width:100%;margin-top:20px;padding-top:16px}.receipt-library h3{margin:0 0 12px;font-size:1rem}.receipt-library-lead{margin:0 0 12px;font-size:.88rem}.receipt-ocr-badge{border-radius:999px;width:fit-content;padding:2px 8px;font-size:.72rem;font-weight:600;display:inline-block}.receipt-ocr-badge-uploaded{color:#475569;background:#f1f5f9}.receipt-ocr-badge-processing{color:#92400e;background:#fef3c7}.receipt-ocr-badge-processed{color:#166534;background:#dcfce7}.receipt-ocr-badge-failed{color:#991b1b;background:#fee2e2}.receipt-ocr-summary{overflow-wrap:anywhere;word-break:break-word;font-size:.82rem}.receipt-ocr-error{overflow-wrap:anywhere;word-break:break-word;font-size:.82rem;display:block}.receipt-library-actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.5rem;display:flex}.receipt-library-actions .secondary-btn,.receipt-library-actions .ghost-btn{box-sizing:border-box;justify-content:center;align-self:center;align-items:center;height:32px;min-height:32px;margin-top:0;padding:0 12px;font-size:.82rem;line-height:1;display:inline-flex}.receipt-library-actions .receipt-remove-btn{min-width:auto}.receipt-remove-btn{color:#b91c1c;border-color:#fecaca}.receipt-remove-btn:hover:not(:disabled){background:#fef2f2;border-color:#f87171}.receipt-remove-btn:disabled{opacity:.5}.receipt-quality-banner{overflow-wrap:anywhere;word-break:break-word;border-radius:8px;margin:.5rem 0;padding:.65rem .75rem;font-size:.88rem;line-height:1.45}.receipt-quality-banner strong{margin-bottom:.35rem;display:block}.receipt-quality-tips{margin:.35rem 0 0;padding-left:1.15rem}.receipt-quality-tips li{margin:.2rem 0}.receipt-duplicate-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:.6rem;display:flex}.receipt-quality-fair{color:#92400e;background:#fffbeb;border:1px solid #fcd34d}.receipt-quality-poor{color:#991b1b;background:#fef2f2;border:1px solid #fca5a5}.receipt-content-warnings{color:#9a3412;overflow-wrap:anywhere;word-break:break-word;background:#fff7ed;border:1px solid #fdba74;border-radius:8px;margin:.5rem 0;padding:.65rem .75rem;font-size:.88rem;line-height:1.45}.receipt-content-warnings strong{margin-bottom:.35rem;display:block}.receipt-expense-guardrails{color:#1e40af;background:#eff6ff;border:1px solid #93c5fd;border-radius:8px;margin:.5rem 0;padding:.65rem .75rem;font-size:.88rem;line-height:1.45}.receipt-expense-guardrails strong{margin-bottom:.35rem;display:block}.legal-page{max-width:720px;margin:2rem auto}.legal-card h1{margin-bottom:.35rem}.legal-meta,.legal-disclaimer{font-size:.9rem}.legal-disclaimer{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:.65rem .75rem}.legal-section{margin-top:1.25rem}.legal-section h2{margin-bottom:.4rem;font-size:1.05rem}.legal-section ul{margin:.35rem 0 0 1.1rem}.legal-page-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;display:flex}.legal-title-header{margin-bottom:.75rem}.legal-title-header h1,.legal-back{margin:0}.legal-footer-link{margin-top:1.5rem}.site-layout{flex-direction:column;min-height:100dvh;display:flex}.site-layout-body{flex-direction:column;flex:1 0 auto;min-width:0;display:flex}.site-footer{padding:16px 20px max(16px, env(safe-area-inset-bottom));background:#f8fafc;border-top:1px solid #e2e8f0;flex-shrink:0}.site-footer-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 20px;max-width:1200px;margin:0 auto;display:flex}.site-footer-copyright{color:#64748b;margin:0;font-size:.8rem;line-height:1.4}.site-footer-nav{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.site-footer-link{color:#475569;font-size:.8rem;font-weight:500;text-decoration:none}.site-footer-link:hover{color:#1d4ed8;text-decoration:underline}@media (max-width:640px){.site-footer-inner{flex-direction:column;align-items:flex-start}}.auth-alert-preference{border:none;flex-direction:column;gap:8px;margin:0;padding:0;display:flex}.auth-alert-preference legend{margin-bottom:4px;font-size:.9rem;font-weight:600}.auth-radio-option{cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;font-size:.875rem;line-height:1.45;display:flex}.auth-radio-option input[type=radio]{accent-color:#2563eb;cursor:pointer;width:1rem;min-width:1rem;height:1rem;margin:.15rem 0 0}.auth-sms-disclaimer{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;margin:0;padding:8px 10px;font-size:.84rem;line-height:1.45}.phone-number-field{flex-direction:column;gap:6px;display:flex}.phone-number-label{color:#334155;font-size:.875rem;font-weight:600}.phone-number-row{align-items:stretch;gap:8px;display:flex}.phone-country-select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-width:9.5rem;max-width:42%;height:42px;padding:0 8px;font-size:.875rem}.phone-national-input{border:1px solid #cbd5e1;border-radius:8px;flex:1;min-width:0;height:42px;padding:0 12px;font-size:.95rem}.alert-prefs-card{margin-top:18px}.alert-prefs-panel{flex-direction:column;gap:12px;display:flex}.alert-prefs-current-phone{margin:0}.alert-prefs-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.phone-verify-strip{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin-top:12px;padding:12px}.phone-verify-strip h3{margin:0 0 6px;font-size:1rem}.phone-verify-form{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.phone-verify-form input{letter-spacing:.08em;border:1px solid #cbd5e1;border-radius:8px;min-width:140px;height:36px;padding:0 10px}.phone-verify-sms-off{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;margin:0;padding:8px 10px;font-size:.84rem;line-height:1.45}.profile-legal-name-strip{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin-top:12px;padding:12px}.profile-legal-name-strip h3{margin:0 0 6px;font-size:1rem}.profile-legal-name-form{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.profile-legal-name-form input{border:1px solid #cbd5e1;border-radius:8px;flex:200px;min-width:180px;height:36px;padding:0 10px}.profile-legal-name-strip-hint{margin:8px 0 0;font-size:.84rem;line-height:1.45}.significant-spend-strip{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin-top:12px;padding:12px}.significant-spend-strip h3{margin:0 0 6px;font-size:1rem}.significant-spend-lead{margin:0;line-height:1.45}.significant-spend-more{margin:6px 0 0;font-size:.84rem}.significant-spend-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.reconciliation-toolbar{flex-wrap:wrap;gap:8px;margin:10px 0 4px;display:flex}.reconciliation-match-dialog h3,.reconciliation-match-dialog h4{margin:0 0 8px}.reconciliation-match-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:12px;display:grid}.reconciliation-match-grid input[type=search]{border:1px solid #cbd5e1;border-radius:8px;width:100%;height:36px;margin-bottom:8px;padding:0 10px}.reconciliation-match-list{gap:6px;max-height:240px;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.reconciliation-match-list li button{text-align:left;width:100%}.reconciliation-match-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.account-profile-card .profile-legal-name-settings{margin-top:4px}.auth-legal-consent{cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:flex-start;gap:10px;margin:2px 0;padding:10px 12px;font-size:.875rem;line-height:1.45;display:flex}.auth-legal-consent input[type=checkbox]{accent-color:#2563eb;cursor:pointer;flex-shrink:0;width:1rem;min-width:1rem;height:1rem;margin:.2rem 0 0;padding:0}.auth-legal-consent span{overflow-wrap:anywhere;word-break:break-word;flex:1;min-width:0}.auth-legal-consent a{font-weight:600}.auth-legal-version{color:#64748b}.auth-legal-links{text-align:center;overflow-wrap:anywhere;word-break:break-word;margin-top:1rem;font-size:.85rem}.auth-invite-notice{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin:.5rem 0 0;padding:.55rem .65rem;font-size:.88rem}.receipt-total-conflict{color:#92400e;background:#fffbeb;border:1px solid #fcd34d;border-radius:10px;margin:.75rem 0;padding:.75rem}.receipt-total-conflict p{margin:.35rem 0 .65rem}.receipt-total-conflict-grid{grid-template-columns:1fr 1fr;gap:.65rem;display:grid}@media (max-width:640px){.receipt-total-conflict-grid{grid-template-columns:1fr}}.receipt-total-conflict-option{background:#fff;border:1px solid #fde68a;border-radius:8px;flex-direction:column;gap:.35rem;padding:.65rem;display:flex}.receipt-total-conflict-option.is-selected{border-color:#f59e0b;box-shadow:inset 0 0 0 1px #f59e0b}.receipt-total-conflict-label{text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:700}.receipt-total-conflict-value{font-size:1.15rem;font-weight:700}.receipt-total-conflict-applied{margin:.65rem 0 0;font-size:.88rem;font-weight:600}.receipt-detected-fields input.receipt-total-input-flash{outline-offset:2px;outline:2px solid #f59e0b;box-shadow:0 0 0 4px #f59e0b40}.ai-evidence-card{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin:.75rem 0;padding:.75rem}.ai-evidence-card p{margin:.2rem 0 0}.ai-evidence-list{gap:.45rem;margin:.65rem 0 0;display:grid}.ai-evidence-list dt{text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:700}.ai-evidence-list dd{margin:.12rem 0 0;font-size:.85rem;line-height:1.4}.receipt-duplicate-warnings{color:#1e40af;background:#eff6ff;border:1px solid #93c5fd;border-radius:8px;margin:.5rem 0;padding:.65rem .75rem;font-size:.88rem;line-height:1.45}.receipt-duplicate-warnings strong{margin-bottom:.35rem;display:block}.receipt-duplicate-page-options{width:100%;margin:.5rem 0 .75rem}.receipt-duplicate-page-list{flex-direction:column;gap:.5rem;margin:.5rem 0 0;padding:0;list-style:none;display:flex}.receipt-duplicate-page-item{background:#ffffffa6;border-radius:6px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.45rem .55rem;display:flex}.receipt-duplicate-page-actions{flex-wrap:wrap;gap:.35rem;display:flex}.receipt-review-page-title{margin:.2rem 0 0;font-size:.88rem}.receipt-review-page-nav{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.45rem;display:flex}.receipt-duplicate-flow{background:#f8fafc;border:1px solid #93c5fd;margin-top:1rem;padding:1rem 1.1rem}.receipt-duplicate-flow-header{justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.65rem;display:flex}.receipt-duplicate-flow-header h3{margin:0 0 .25rem;font-size:1.05rem}.receipt-duplicate-flow-lead{margin:0;font-size:.88rem}.receipt-duplicate-flow-warnings{color:#1e40af;margin:0 0 .75rem;padding-left:1.1rem;font-size:.88rem}.receipt-duplicate-flow-actions{flex-wrap:wrap;gap:.5rem;margin-top:.5rem;display:flex}.receipt-duplicate-flow-footer{border-top:1px solid #cbd5e1;margin-top:1rem;padding-top:.75rem}.receipt-review-panel{max-width:min(44rem,96vw);max-height:92vh;overflow-y:auto}.receipt-review-panel-loading .receipt-detected-fields,.receipt-review-panel-loading .receipt-review-actions,.receipt-review-panel-loading .receipt-line-items-panel,.receipt-review-panel-loading .receipt-fx-converter,.receipt-review-panel-loading .receipt-fx-currency-hint{opacity:.55;pointer-events:none}.receipt-review-panel-loading .receipt-review-preview-frame{opacity:.7}.receipt-review-page-loading{margin:0 0 8px}.receipt-review-panel-maximized{width:min(1120px,96vw);max-width:96vw}.receipt-review-titlebar{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.receipt-review-titlebar h2{margin-bottom:0}.receipt-review-window-actions{flex-shrink:0;gap:6px;display:flex}.receipt-window-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;width:30px;height:30px;font-weight:700;line-height:1}.receipt-window-btn:hover{background:#f8fafc}.receipt-window-close{color:#b91c1c;border-color:#fecaca}.receipt-review-preview-frame{border:1px solid var(--border,#e2e8f0);background:#f8fafc;border-radius:10px;max-height:min(62vh,620px);margin:.75rem 0;overflow:auto}.receipt-preview-toolbar{justify-content:space-between;align-items:center;gap:10px;margin:.75rem 0 .35rem;display:flex}.receipt-preview-zoom-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.receipt-preview-zoom-btn{min-width:auto;height:30px;padding:0 9px;font-size:.78rem}.receipt-preview-zoom-label{text-align:right;align-self:center;min-width:2.75rem;font-size:.78rem}.receipt-review-preview-scaler{min-width:0;margin:0 auto}.receipt-review-image{border-radius:8px;width:100%;max-width:100%;height:auto;display:block}.receipt-review-pdf{background:#fff;border:0;border-radius:8px;width:100%;min-height:420px;display:block}.receipt-detected-fields{gap:.65rem;margin:.75rem 0 1rem;display:grid}.receipt-detected-fields dt{text-transform:uppercase;letter-spacing:.04em;color:var(--muted,#64748b);font-size:.75rem;font-weight:600}.receipt-detected-fields dd{margin:.15rem 0 0;font-size:1.05rem;font-weight:600}.receipt-detected-fields input{width:100%;max-width:420px;font:inherit;font-weight:600}.receipt-review-raw{margin:.75rem 0}.receipt-review-raw pre{white-space:pre-wrap;background:var(--surface-muted,#f4f6f8);border-radius:6px;max-height:10rem;padding:.5rem;font-size:.75rem;overflow:auto}.receipt-review-actions{grid-template-columns:repeat(auto-fit,minmax(128px,1fr));align-items:stretch;gap:10px;margin-top:14px;display:grid}.receipt-review-actions .ghost-btn,.receipt-review-actions .secondary-btn{white-space:normal;width:100%;height:auto;min-height:44px;padding:8px 10px;line-height:1.15}.receipt-review-actions .receipt-create-expense-btn{grid-column:1/-1}.receipt-ocr-btn{align-self:flex-start;margin-top:6px;padding:6px 10px;font-size:.82rem}.receipt-library-actions .receipt-ocr-btn{align-self:center;height:32px;min-height:32px;margin-top:0;padding:0 12px}.receipt-library-list{flex-direction:column;gap:10px;min-width:0;max-width:100%;margin:0;padding:0;list-style:none;display:flex}.receipt-library-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:flex-start;gap:12px;min-width:0;max-width:100%;padding:8px;display:flex}.receipt-library-group-item{background:#f8fafc}.receipt-library-thumb{object-fit:cover;background:#0f172a;border-radius:8px;flex-shrink:0;width:56px;height:56px}.receipt-library-thumb-placeholder{color:#94a3b8;justify-content:center;align-items:center;font-size:1.25rem;display:flex}.receipt-library-thumb-pdf{letter-spacing:.04em;color:#1e40af;background:#eff6ff;justify-content:center;align-items:center;font-size:.72rem;font-weight:700;display:flex}.receipt-pdf-preview{background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:100%;min-height:14rem;max-height:22rem;display:block}.receipt-review-date-field{align-items:stretch;width:100%;display:flex;position:relative}.receipt-review-date-field .receipt-review-date-text{border-top-right-radius:0;border-bottom-right-radius:0;flex:1;min-width:0;min-height:44px;margin:0;font-size:16px}.receipt-review-date-picker-btn{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-left:none;border-radius:0 6px 6px 0;flex:none;justify-content:center;align-items:center;min-width:44px;min-height:44px;margin:0;padding:0 12px;display:inline-flex;position:relative;overflow:hidden}.receipt-review-date-picker-btn:hover:not(:disabled){background:#e2e8f0}.receipt-review-date-picker-btn:disabled{opacity:.6;cursor:not-allowed}.receipt-review-date-picker-native,.receipt-review-date-picker-overlay{opacity:.001;cursor:pointer;appearance:none;z-index:1;border:none;width:100%;height:100%;margin:0;padding:0;font-size:16px;position:absolute;inset:0}.statement-import-edit-table .receipt-review-date-field{min-width:9.5rem}.statement-import-edit-table .receipt-review-date-field .receipt-review-date-text,.statement-import-edit-table .receipt-review-date-field .receipt-review-date-picker-btn{min-height:36px;font-size:inherit}.receipt-review-panel .receipt-review-pdf{min-height:420px;max-height:none}.receipt-library-meta{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.receipt-library-meta strong{overflow-wrap:anywhere;word-break:break-word;font-size:.9rem}.receipt-library-group-header{flex-direction:column;gap:2px;min-width:0;margin-bottom:4px;display:flex}.receipt-library-group-actions{flex-wrap:wrap;align-items:stretch;gap:8px;margin-top:6px;display:flex}.receipt-library-group-actions .receipt-ocr-btn,.receipt-library-group-actions .receipt-remove-btn{white-space:normal;text-align:center;flex:auto;min-width:min(100%,8.5rem);height:44px;min-height:44px;margin-top:0;padding:0 12px;line-height:1.2}.receipt-library-page-list{flex-direction:column;gap:8px;min-width:0;max-width:100%;display:flex}.receipt-library-single-page-list{gap:0}.receipt-library-page{background:#fff;border:1px solid #e2e8f0;border-radius:10px;gap:10px;min-width:0;max-width:100%;padding:8px;display:flex}.receipt-library-single-page-list .receipt-library-page{border:none;padding:0}.receipt-library-page-thumb-wrap{flex-shrink:0}.receipt-library-page-thumb{object-fit:cover;background:#0f172a;border-radius:8px;width:44px;height:44px}.receipt-library-page-meta{overflow-wrap:anywhere;word-break:break-word;flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.receipt-library-page-meta .muted,.receipt-library-intent-hint,.receipt-single-bill-page-note{overflow-wrap:anywhere;word-break:break-word}.receipt-reconciliation-card{margin-top:30px}.reconciliation-summary{flex-wrap:wrap;gap:8px;margin:14px 0;display:flex}.reconciliation-summary span{color:#075985;background:#eef6ff;border-radius:999px;padding:6px 10px;font-size:.84rem;font-weight:600}.reconciliation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.reconciliation-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px}.reconciliation-panel h3{margin:0 0 10px;font-size:.98rem}.reconciliation-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.reconciliation-list li{gap:4px;display:grid}.reconciliation-actions{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.reconciliation-actions .ghost-btn{height:30px;margin-top:0;padding:0 10px;font-size:.8rem}.reconciliation-footnote{margin-top:.75rem;font-size:.85rem}.receipt-reconciliation-compact .secondary-btn{margin-top:.5rem}.tx-receipt-attach{flex-direction:column;align-items:flex-start;gap:.35rem;display:flex}.tx-receipt-attach-options{flex-direction:column;align-items:flex-start;gap:.25rem;display:flex}.receipt-review-link-existing{margin:.75rem 0}.receipt-review-link-existing h4{margin:0 0 .35rem;font-size:.95rem}.tx-table tbody tr:nth-child(odd){background:#fff}.tx-table tbody tr:nth-child(2n){background:#f8fafc}.tx-table tbody tr:hover{background:#eaf2ff}.bulk-input{width:100%;height:130px;margin-bottom:10px;padding:10px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.muted{color:#64748b}.csv-actions{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.plaid-actions{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.plaid-env-badge{margin:0 0 8px;font-size:.85rem}.plaid-connection-list{gap:12px;margin:12px 0 0;padding:0;list-style:none;display:grid}.plaid-connection-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px}.plaid-connection-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.plaid-connection-meta{font-size:.85rem}.plaid-status-badge{text-transform:uppercase;letter-spacing:.02em;border-radius:999px;margin-left:8px;padding:2px 8px;font-size:.75rem;font-weight:600;display:inline-block}.plaid-status-active{color:#166534;background:#dcfce7}.plaid-status-warning{color:#92400e;background:#fef3c7}.plaid-status-revoked{color:#991b1b;background:#fee2e2}.plaid-status-default{color:#475569;background:#e2e8f0}.plaid-account-list{color:#334155;margin:10px 0 0;padding-left:18px}.plaid-login-required{color:#92400e;margin:10px 0 0;font-size:.9rem}.plaid-connection-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.plaid-sync-progress{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin:12px 0 4px;padding:12px 14px}.plaid-sync-progress-label{color:#1e3a8a;margin:0 0 10px;font-size:.92rem;font-weight:600}.plaid-sync-progress-track{background:#dbeafe;border-radius:999px;height:8px;overflow:hidden}.plaid-sync-progress-bar{background:linear-gradient(90deg,#2563eb,#3b82f6);border-radius:999px;height:100%;transition:width .35s}.plaid-sync-progress-bar--indeterminate{animation:1.2s ease-in-out infinite plaid-sync-progress-slide;width:35%!important}@keyframes plaid-sync-progress-slide{0%{transform:translate(-120%)}to{transform:translate(320%)}}.plaid-review-strip{background:#fffbeb;border:1px solid #fbbf24;border-radius:12px;margin-top:1rem;padding:1rem}.plaid-review-strip-header h3{margin:0 0 .25rem;font-size:1rem}.plaid-review-strip-header p{margin:0 0 .75rem}.plaid-review-list{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.plaid-review-item{background:#fff;border:1px solid #fde68a;border-radius:10px;gap:.75rem;padding:.75rem;display:grid}.plaid-review-item-main{gap:.2rem;display:grid}.plaid-review-item-actions{flex-wrap:wrap;align-items:flex-end;gap:.75rem;display:flex}.category-review-picker{flex:280px;gap:.6rem;min-width:min(100%,280px);display:grid}.category-review-selected-row{flex-wrap:wrap;align-items:baseline;gap:.4rem .6rem;display:flex}.category-review-selected-label{color:#6b7280;font-size:.85rem}.category-review-selected-value{color:#1e40af;background:#dbeafe;border-radius:999px;padding:.25rem .65rem;font-size:.9rem;font-weight:600;display:inline-block}.category-review-chips{flex-wrap:wrap;gap:.5rem;display:flex}.category-review-chip{color:#92400e;cursor:pointer;background:#fff;border:1px solid #fcd34d;border-radius:999px;padding:.35rem .75rem;font-size:.85rem}.category-review-chip--active{background:#fef3c7;border-color:#f59e0b;font-weight:600}.category-review-search{position:relative}.category-review-search-label{gap:.25rem;font-size:.9rem;display:grid}.category-review-search-input{box-sizing:border-box;width:100%;min-width:220px}.category-review-search-results{z-index:20;background:#fff;border:1px solid #e5e7eb;border-radius:10px;max-height:240px;margin:0;padding:.25rem;list-style:none;position:absolute;top:calc(100% + .25rem);left:0;right:0;overflow:auto;box-shadow:0 8px 24px #0f172a1f}.category-review-search-results--portal{z-index:10050;position:fixed;inset:auto}.category-review-search-option{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:.75rem;width:100%;padding:.5rem .6rem;font-size:.9rem;display:flex}.category-review-search-option--active,.category-review-search-option:hover{background:#f3f4f6}.category-review-search-option--selected{background:#eff6ff;font-weight:600}.category-review-search-option-name{flex:auto}.category-review-search-empty{padding:.6rem;font-size:.9rem}.plaid-review-remember{align-items:center;gap:.4rem;font-size:.9rem;display:inline-flex}.error-text{color:#b91c1c;margin:0;font-size:.9rem}.success-text{color:#166534;margin:0;font-size:.9rem}.summary-card{min-height:280px}.kpi-grid{gap:10px;margin-top:14px;display:grid}.kpi-chip{background:#fff;border:1px solid #dbe5f5;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.kpi-chip span{color:#475569;font-size:.92rem}.kpi-chip strong{font-size:1.05rem}.kpi-income{background:#ecfdf3;border-color:#bbf7d0}.kpi-expense{background:#fef2f2;border-color:#fecaca}.kpi-net{background:#eff6ff;border-color:#bfdbfe}.csv-preview-wrap{max-height:260px;margin-top:12px}.preview-invalid td{background:#fef2f2!important}.preview-valid td{background:#ecfdf3!important}.empty-state-hint{color:#64748b;max-width:640px;margin:8px 0 0;font-size:.88rem;line-height:1.45}.form-card>h2+.card-lead{margin:-6px 0 14px}.card-lead{color:#64748b;font-size:.9rem;line-height:1.45}.new-category-panel{border-top:1px solid #e2e8f0;grid-column:1/-1;margin-top:4px;padding-top:10px}.new-category-panel summary{cursor:pointer;color:#475569;-webkit-user-select:none;user-select:none;font-size:.9rem}.new-category-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:10px;display:grid}@media (max-width:980px){html,body{overflow-x:clip}.site-layout,.site-layout-body,.app-shell,.app-shell-main,.app-shell-content,main.container,.container{width:100%;min-width:0;max-width:100%}.app-shell-sidebar{display:none!important}.app-shell-content .container{padding-bottom:max(80px, calc(64px + env(safe-area-inset-bottom)))}.card-grid{grid-template-columns:minmax(0,1fr)}.filters-row,.new-category-row,.reconciliation-grid{grid-template-columns:1fr}.receipt-analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-analytics-grid{grid-template-columns:1fr}.csv-actions{flex-direction:column;align-items:flex-start}.receipt-library-group-actions{flex-direction:column}.receipt-library-group-actions .receipt-ocr-btn,.receipt-library-group-actions .receipt-remove-btn{width:100%;min-width:0}.receipt-review-panel-maximized{width:100%;max-width:100%}}@media (min-width:641px){.line-item-row{grid-template-columns:1fr 1fr}.manual-expense-line-items .line-item-row{grid-template-columns:1fr 72px 120px auto}.manual-expense-line-items .line-item-row-head{display:grid}.grid-toolbar{grid-template-columns:2fr 1fr 1fr}}@media (min-width:981px){.tx-table{min-width:640px}.receipt-line-items-table{min-width:32rem}.receipt-line-items-table--savings{min-width:44rem}.line-item-row{grid-template-columns:minmax(200px,1.5fr) 110px 130px 90px}.card-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}}@media (max-width:640px){.container{padding:max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 40px max(12px, env(safe-area-inset-left))}.card{border-radius:12px;padding:14px}.hero h1{font-size:1.65rem}.hero-auth-row{flex-direction:column;align-items:flex-start;gap:12px}.hero-auth-row .ghost-btn{width:100%;min-height:44px}.period-tabs:not(.auth-tabs){flex-wrap:wrap}.period-tabs:not(.auth-tabs) .period-tab{white-space:normal;flex:calc(50% - 1px);min-width:0;height:auto;min-height:40px;line-height:1.2}.card .secondary-btn:not(.home-quick-action),.card .ghost-btn{white-space:normal;text-align:center;max-width:100%}.verify-banner{padding:12px}.verify-actions{flex-direction:column;align-items:stretch}.verify-actions input{width:100%;min-width:0}.verify-actions .secondary-btn,.verify-actions .ghost-btn{width:100%;min-height:44px}.auth-card{width:100%;max-width:100%;margin:0 auto 12px;padding-bottom:12px}main.container.auth-page{padding:max(10px, env(safe-area-inset-top)) 14px max(88px, calc(12px + env(safe-area-inset-bottom)));margin:0}.auth-card-head{flex-shrink:0}.auth-form{display:block}.auth-form-body{overflow:visible}.auth-form-actions{bottom:max(8px, env(safe-area-inset-bottom));z-index:5;background:linear-gradient(#fff0,#fff 22%);margin-top:12px;padding:10px 0 6px;position:sticky}.auth-form-actions .auth-submit-btn{width:100%;min-height:48px}.auth-page h1{margin-bottom:4px;font-size:1.35rem}.auth-page .auth-subtitle{display:none}.auth-page .card-lead,.auth-page>.card>.muted:first-of-type{margin-bottom:10px}.auth-tabs.period-tabs{-webkit-overflow-scrolling:touch;scrollbar-width:thin;flex-wrap:nowrap;margin-bottom:10px;display:flex;overflow:auto hidden}.auth-tabs.period-tabs::-webkit-scrollbar{height:4px}.auth-tabs.period-tabs::-webkit-scrollbar-thumb{background:#64748b66;border-radius:999px}.auth-tabs .period-tab{white-space:nowrap;border-bottom:none;border-right:1px solid #e2e8f0;flex:1 0 auto;min-width:5.25rem;min-height:40px;padding:8px 10px;font-size:.8rem}.auth-tabs .period-tab:last-child{border-right:none}.auth-tabs .period-tab:nth-child(odd){border-right:1px solid #e2e8f0}.auth-tabs .period-tab:nth-last-child(-n+2){border-bottom:none}.auth-submit-bar{margin:14px 0 0;padding:0 0 8px}.auth-submit-bar .primary-btn,.auth-form-actions .primary-btn{width:100%;min-height:48px}.auth-legal-links{margin-top:12px;padding-bottom:8px;font-size:.82rem;line-height:1.45}.auth-page .language-switcher{flex:auto;min-width:0}.auth-page .language-switcher select{width:100%;max-width:100%;min-height:44px;font-size:16px}.auth-page .audio-help-btn{min-height:44px}@media (max-height:740px){.auth-page h1{font-size:1.2rem}.auth-card{margin-top:4px;padding:10px 12px 4px}.auth-locale-row{margin-bottom:6px}.auth-tabs .period-tab{min-height:36px;font-size:.75rem}}.form-grid .primary-btn,.auth-card .primary-btn{width:100%;min-height:44px}.phone-number-row{flex-direction:column}.phone-country-select{width:100%;max-width:100%}.alert-prefs-actions{flex-direction:column;align-items:stretch}.alert-prefs-actions .primary-btn,.alert-prefs-actions .secondary-btn,.alert-prefs-actions .ghost-btn{width:100%;min-height:44px}.phone-verify-form{flex-direction:column;align-items:stretch}.phone-verify-form input{width:100%;min-width:0}.phone-verify-form .primary-btn,.phone-verify-form .secondary-btn{width:100%;min-height:44px}.dashboard-view-switch{flex-direction:column;align-items:stretch}.dashboard-view-switch .period-tabs{width:100%}.month-picker{flex-wrap:wrap}.month-picker input[type=month],.month-picker input[type=date]{flex:100%;min-width:0}.single-date-actions{flex-wrap:wrap}.single-date-actions .secondary-btn,.single-date-actions .ghost-btn{flex:calc(50% - 4px);min-height:44px}.quick-range-chips .secondary-btn,.quick-range-chips .ghost-btn{flex:auto;min-height:40px}.receipt-analytics-kpis{grid-template-columns:1fr}.receipt-scan-actions{flex-direction:column;align-items:stretch}.receipt-scan-actions .primary-btn,.receipt-scan-actions .secondary-btn,.receipt-scan-actions .ghost-btn,.receipt-scan-actions .receipt-file-label{width:100%;min-height:44px}.receipt-library-item{flex-direction:column;align-items:stretch}.receipt-library-group-item>.receipt-library-thumb,.receipt-library-group-item>.receipt-library-thumb-pdf{display:none}.receipt-library-page{flex-direction:column;align-items:stretch}.receipt-library-page-thumb-wrap{align-self:flex-start}.receipt-library-group-actions{flex-direction:column}.receipt-library-group-actions .receipt-ocr-btn,.receipt-library-group-actions .receipt-remove-btn,.receipt-library-group-actions .secondary-btn{width:100%;min-width:0}.receipt-library-actions{flex-direction:column;align-items:stretch}.receipt-library-actions .secondary-btn,.receipt-library-actions .ghost-btn,.receipt-library-actions .receipt-ocr-btn{white-space:normal;text-align:center;width:100%;min-height:44px;line-height:1.2}.receipt-review-actions{grid-template-columns:1fr}.receipt-preview-toolbar{flex-direction:column;align-items:stretch}.receipt-preview-zoom-actions{justify-content:flex-start}.modal-backdrop{align-items:flex-end;padding:12px 10px}.modal-panel{border-radius:16px 16px 0 0;width:100%;max-height:calc(100vh - 24px);margin-bottom:12px}.budget-add-form{grid-template-columns:1fr}.budget-add-submit{width:100%;min-height:44px}.budget-add-row{flex-direction:column;align-items:stretch}.budget-add-row select,.budget-add-row input{width:100%;min-width:0}.budget-add-row .primary-btn,.budget-add-row .secondary-btn{width:100%;min-height:44px}.household-create-row,.household-invite-row{flex-direction:column;align-items:stretch}.household-invite-email-field{width:100%}.household-invite-email-field input[type=email]{width:100%;min-width:0;max-width:100%}.household-create-row .primary-btn,.household-invite-row .primary-btn,.household-create-row .secondary-btn,.household-invite-row .secondary-btn{width:100%;min-height:44px}.plaid-actions{flex-direction:column;align-items:stretch}.plaid-actions .primary-btn,.plaid-actions .secondary-btn,.plaid-actions .ghost-btn{width:100%;min-height:44px}.plaid-connection-actions{flex-direction:column}.plaid-connection-actions .secondary-btn,.plaid-connection-actions .ghost-btn{width:100%;min-height:44px}.transaction-export-actions{flex-direction:column;align-items:stretch}.transaction-export-option{white-space:normal}.tx-actions{flex-direction:column;align-items:stretch}.tx-action-btn{text-align:center;width:100%;min-height:40px}.panel-section-header{flex-direction:column;align-items:flex-start}.english-quick-start-header{flex-direction:column}.legal-page{margin:1rem auto;padding:0 4px}.line-item-row{grid-template-columns:1fr}.line-item-row .ghost-btn{grid-column:auto;width:100%;min-height:40px}.manual-expense-line-items .line-item-row-head{display:none}.merchant-rules-list li{flex-direction:column;align-items:stretch}.merchant-rule-item-actions{flex-direction:column}.merchant-rule-item-actions .ghost-btn,.merchant-rule-item-actions .secondary-btn{width:100%}.csv-actions .primary-btn,.csv-actions .secondary-btn{width:100%;min-height:44px}.receipt-camera-backdrop{align-items:flex-end;padding:8px}.receipt-camera-dialog{border-radius:16px 16px 0 0;max-height:92vh;overflow-y:auto}.audio-help-btn{min-height:44px}.language-switcher{justify-content:space-between;width:100%}.hero-locale-row,.auth-locale-row{flex-direction:column;align-items:stretch}.auth-page .auth-locale-row{flex-flow:wrap;align-items:center}}@supports (padding:max(0px)){.container:not(.auth-page){padding-left:max(12px, env(safe-area-inset-left));padding-right:max(12px, env(safe-area-inset-right))}@media (max-width:640px){.container:not(.auth-page){padding-bottom:max(40px, env(safe-area-inset-bottom))}.app-shell-content .container{padding-bottom:max(80px, calc(64px + env(safe-area-inset-bottom)))}main.container.auth-page{padding-left:max(14px, env(safe-area-inset-left));padding-right:max(14px, env(safe-area-inset-right));padding-bottom:max(88px, calc(12px + env(safe-area-inset-bottom)))}.modal-backdrop{padding-bottom:max(12px, env(safe-area-inset-bottom))}}}.notification-inbox-header{align-items:center;gap:10px;margin-bottom:12px;display:flex}.notification-badge{color:#92400e;background:#fef3c7;border-radius:999px;padding:4px 10px;font-size:.82rem;font-weight:600}.notification-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.notification-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:12px}.notification-item.notification-read{opacity:.75}.notification-item.notification-budget-alert{background:#fffbeb;border-color:#fde68a}.notification-budget-headline{margin:0 0 4px;font-size:.95rem;line-height:1.4;display:block}.notification-budget-subtitle{margin:0;font-size:.85rem}.notification-item.notification-deal-savings{background:#f0fdf4;border-color:#bbf7d0}.notification-item.notification-shop-win{background:#f0f9ff;border-color:#bae6fd}.notification-deal-savings-headline{color:#166534;margin:0 0 4px;font-size:.95rem;line-height:1.4;display:block}.notification-deal-savings-subtitle{margin:0;font-size:.85rem}.notification-links{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.receipt-line-items-cell-savings{color:#166534;font-weight:600}.receipt-line-items-savings-sum{color:#166534;margin:0 0 8px;font-weight:600}.notification-actions{gap:8px;margin-top:8px;display:flex}.statement-import-textarea{width:100%;min-height:160px;margin:12px 0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.statement-import-option{align-items:center;gap:8px;margin-bottom:4px;font-size:.92rem;display:flex}.statement-import-preview-table-wrap{margin-top:12px}.statement-import-preview-table{font-size:.88rem}.statement-import-edit-table .statement-import-row-input{box-sizing:border-box;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:6px 8px}.statement-import-edit-table .statement-import-row-input-merchant{min-width:10rem}.statement-import-edit-table .statement-import-row-input-amount{max-width:7rem}.statement-import-scan-actions{flex-wrap:wrap;gap:.5rem;display:flex}.statement-import-confidence-hint{margin:0 0 .75rem}.statement-import-confidence-controls{flex-wrap:wrap;gap:.75rem 1.25rem;margin:0 0 .75rem;display:flex}.statement-import-confidence-toggle{align-items:center;gap:.4rem;font-size:.9rem;display:inline-flex}.statement-import-confidence{text-align:center;border-radius:999px;min-width:2.75rem;padding:.15rem .45rem;font-size:.78rem;font-weight:600;display:inline-block}.statement-import-confidence--high{color:#166534;background:#dcfce7}.statement-import-confidence--medium{color:#854d0e;background:#fef9c3}.statement-import-confidence--low{color:#991b1b;background:#fee2e2}.statement-import-confidence--unknown{color:#64748b;background:#f1f5f9}.statement-import-row-actions{white-space:nowrap;vertical-align:middle}.statement-import-row-remove{color:#b45309;font:inherit;cursor:pointer;text-underline-offset:2px;background:0 0;border:none;padding:4px 0;font-size:.82rem;text-decoration:underline}.statement-import-row-remove:hover:not(:disabled){color:#92400e}.statement-import-row-remove:disabled{opacity:.5;cursor:not-allowed}.statement-import-empty-rows{background:#f8fafc;border-radius:8px;margin:12px 0 0;padding:12px}.statement-import-row-matched td,.statement-import-row-imported td{background:#f0fdf4}.statement-import-row-no_rule_match td{color:#64748b;background:#f8fafc}.statement-import-row-duplicate td{background:#fff7ed}.statement-import-row-invalid td{background:#fef2f2}.statement-import-preview-status{font-weight:600;display:block}.statement-import-preview-message{font-size:.82rem;display:block}.statement-import-suggestion-list{margin:0;padding:0;list-style:none}.statement-import-suggestion-list li{flex-wrap:wrap;align-items:center;gap:.35rem;margin-bottom:.35rem;display:flex}.ledger-confidence-panel h3{margin:0}.ledger-confidence-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem;margin-bottom:.35rem;display:flex}.ledger-confidence-percent{font-size:1.35rem;font-weight:700}.ledger-confidence-detail{margin:.35rem 0 0;font-weight:600}.ledger-confidence-compact{margin:0 0 .75rem;font-weight:600}.statement-import-suggested-rules h4{margin:0 0 .35rem}.statement-import-suggested-rules-list{margin:.75rem 0 0;padding:0;list-style:none}.statement-import-suggested-rules-list li{border-top:1px solid var(--border-subtle,#e8e8e8);padding:.65rem 0}.statement-import-suggested-sample{margin:.2rem 0 .45rem;font-size:.85rem}.tx-pagination{border:1px solid var(--border-color,#7f7f7f40);background:var(--card-inset-bg,#7f7f7f0f);border-radius:.5rem;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin:.75rem 0;padding:.65rem .85rem;display:flex}.tx-pagination-summary{margin:0;font-size:.92rem}.tx-pagination-controls{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.tx-pagination-size{align-items:center;gap:.35rem;font-size:.92rem;display:inline-flex}.transaction-edit-history{margin-top:.75rem}.transaction-edit-history h4{margin:0 0 .35rem;font-size:.95rem}.transaction-edit-history-list{margin:0;padding-left:1.1rem;font-size:.9rem}.transaction-edit-history-when{display:inline-block}.statement-import-source-badge{background:var(--card-inset-bg,#7f7f7f1f);border-radius:999px;margin-left:.35rem;padding:.1rem .45rem;font-size:.82rem;display:inline-block}.statement-import-extraction-notes{margin-top:.5rem}.statement-import-ai-action-notice{margin:.75rem 0 0;font-size:.9rem}.receipt-ai-billing-note{margin:.35rem 0 0;font-size:.88rem}.statement-import-actions{flex-wrap:wrap;gap:10px;display:flex}.statement-import-export-actions{flex-wrap:wrap;align-items:center;gap:.65rem 1rem;margin:.75rem 0 .35rem;display:flex}.statement-import-export-caption,.statement-import-export-feedback{font-size:.88rem}.statement-import-export-feedback-ok{color:var(--success-text,#0a7a3e)}.statement-import-upload-row{flex-wrap:wrap;gap:.75rem;margin:.5rem 0;display:flex}.statement-import-field{flex-direction:column;gap:.25rem;font-size:.9rem;display:flex}.statement-import-field select{min-width:10rem}.statement-import-consent{background:#f8fafc;border-radius:8px;margin:.75rem 0 1rem;padding:.75rem}.statement-import-warnings{margin:.5rem 0 0;padding-left:1.1rem}.statement-import-results{margin-top:14px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.statement-import-steps{background:#f8fafc;border-radius:8px;margin:.75rem 0 1rem;padding:.75rem .9rem}.statement-import-steps-title{margin:0 0 .35rem;font-size:.92rem;font-weight:600}.statement-import-steps-list{margin:0;padding-left:1.2rem;font-size:.9rem}.statement-import-steps-list li+li{margin-top:.2rem}.statement-import-section-title{margin:1rem 0 .5rem;font-size:1rem;font-weight:600}.statement-import-currency-field{margin:.5rem 0 .25rem}.statement-import-methods{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.75rem;margin-bottom:.5rem;display:grid}.statement-import-method-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:.45rem;padding:.85rem;display:flex}.statement-import-method-card h4{margin:0;font-size:.95rem;font-weight:600}.statement-import-method-examples{margin:0;font-size:.84rem;line-height:1.35}.statement-import-field-hint{margin:0;font-size:.82rem}.statement-import-memory-notice{margin:0 0 1rem;font-size:.9rem;line-height:1.45}.statement-import-method-btn{align-self:flex-start;margin-top:.25rem}.statement-import-method-status{word-break:break-word;margin:.5rem 0 0;font-size:.88rem}.statement-import-method-status-reading{color:var(--color-primary,#1d4ed8)}.statement-import-method-status-ready{color:#047857}.statement-import-method-status-failed{color:#b91c1c}.statement-import-file-status{border-radius:8px;margin:1rem 0 0;padding:.75rem .9rem;font-size:.92rem}.statement-import-file-status p{margin:0}.statement-import-file-status-reading{background:#eff6ff;border:1px solid #93c5fd}.statement-import-file-status-ready{background:#ecfdf5;border:1px solid #6ee7b7}.statement-import-file-status-failed{background:#fef2f2;border:1px solid #fecaca}.statement-import-review-hint{margin:0 0 .35rem;font-size:.9rem}.transaction-form-feedback{border-radius:8px;flex-direction:column;gap:8px;margin:12px 0 4px;padding:10px 12px;display:flex}.transaction-form-feedback-success{background:#ecfdf5;border:1px solid #6ee7b7}.transaction-form-feedback-error{background:#fef2f2;border:1px solid #fecaca}.price-compare-query-row{flex-wrap:wrap;align-items:flex-end;gap:.5rem;margin:.75rem 0 0;display:flex}.price-compare-card .price-compare-query{flex-direction:column;flex:220px;gap:.35rem;margin:0;display:flex}.price-compare-voice-btn{flex:none;min-height:42px}.price-compare-voice-btn.is-listening{color:#312e81;background:#eef2ff;border-color:#4f46e5;box-shadow:0 0 0 2px #4f46e526}.price-compare-voice-interim{margin:.35rem 0 0;font-size:.92rem}.price-compare-voice-hint{margin:.35rem 0 .75rem;font-size:.85rem}.price-compare-results{margin-top:1rem}.price-compare-quote-list{gap:.5rem;margin:.75rem 0 0;padding:0;list-style:none;display:grid}.price-quote{border:1px solid var(--border,#e5e7eb);border-radius:.5rem;gap:.2rem;padding:.65rem .75rem;display:grid}.price-quote-lowest{background:#f8fff9;border-color:#86efac}.price-quote-retailer-link{color:#1d4ed8;font-weight:700;text-decoration:none}.price-quote-retailer-link:hover{text-decoration:underline}.price-quote-actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.35rem;display:flex}.price-quote-open-btn{align-items:center;padding:.4rem .75rem;font-size:.85rem;text-decoration:none;display:inline-flex}.price-quote-link-hint{font-size:.78rem}.price-quote-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.price-quote-badge{color:#15803d;background:#dcfce7;border:1px solid #bbf7d0;border-radius:999px;padding:.15rem .45rem;font-size:.72rem;font-weight:600}.price-quote-amount{color:#0f172a;font-size:1.05rem;font-weight:600}.price-compare-lowest-summary{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:.5rem;margin:.75rem 0 0;padding:.65rem .75rem}.price-compare-lowest-main{color:#14532d;margin:0;font-weight:600}.price-compare-spread-note{margin:.35rem 0 0;font-size:.88rem}.price-compare-prices-close{color:#475569;margin:0;font-size:.92rem}.price-compare-disclaimer,.price-compare-attribution{color:var(--muted,#6b7280);font-size:.9rem}.price-compare-manual-form{flex-wrap:wrap;gap:.5rem;margin-top:.5rem;display:flex}.price-compare-manual-hint{margin:.5rem 0 0;font-size:.92rem}.price-compare-manual-feedback{margin:.5rem 0 0}.digital-receipt-steps{margin:.75rem 0 1rem 1.25rem}.digital-receipt-forward{gap:.5rem;margin-bottom:.75rem;display:grid}.digital-receipt-address{word-break:break-all;background:#f3f4f6;border-radius:.35rem;padding:.5rem .65rem;display:inline-block}.digital-receipt-awaiting ul{gap:.35rem;margin:.5rem 0 0;padding:0;list-style:none;display:grid}.price-compare-sublead{margin:.35rem 0 .75rem}.price-compare-how-it-works{border:1px solid var(--border,#e5e7eb);background:#fafafa;border-radius:.5rem;margin:0 0 1rem;padding:.65rem .75rem}.price-compare-how-it-works ol{margin:.5rem 0 .75rem 1.25rem;padding:0}.price-compare-how-it-works li{margin-bottom:.35rem}.price-compare-attribution{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:.5rem;margin-top:.75rem;padding:.65rem .75rem;font-size:.95rem}.price-compare-attribution p{margin:.35rem 0 0}.price-compare-quota{margin:.5rem 0 .75rem;font-size:.95rem}.price-compare-quota-exhausted{color:#b45309}.price-compare-admin-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.price-compare-admin-kpis{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.75rem;margin:.75rem 0 1rem;display:grid}.price-compare-admin-kpi{border:1px solid var(--border,#e5e7eb);border-radius:.5rem;gap:.15rem;padding:.65rem .75rem;display:grid}.price-compare-admin-bars{gap:.65rem;margin-bottom:1rem;display:grid}.price-compare-admin-bars progress{width:100%;height:.65rem}.spendora-brand{color:inherit;align-items:center;gap:14px;text-decoration:none;display:inline-flex}.spendora-brand-mark{filter:drop-shadow(0 10px 18px #2563eb38);flex-shrink:0;width:52px;height:52px}.spendora-brand-text{flex-direction:column;gap:4px;min-width:0;display:flex}.spendora-brand-name{letter-spacing:-.03em;background:linear-gradient(120deg,#1e40af 0%,#0891b2 55%,#059669 100%);color:#0000;-webkit-background-clip:text;background-clip:text;font-size:1.65rem;font-weight:800;line-height:1.1}.spendora-brand-byline{letter-spacing:0;-webkit-text-fill-color:#64748b;color:#64748b;background:0 0;font-size:.55em;font-weight:600}.spendora-brand-caption{color:#475569;max-width:28rem;font-size:.92rem;line-height:1.35}.spendora-brand-hero{text-align:center;flex-direction:column;align-items:center;gap:18px}.spendora-brand-hero .spendora-brand-mark{width:84px;height:84px}.spendora-brand-hero .spendora-brand-name{font-size:clamp(2rem,5vw,2.75rem)}.spendora-brand-hero .spendora-brand-caption{max-width:34rem;font-size:1.05rem}.spendora-brand-auth{margin:0 auto}.spendora-brand-auth .spendora-brand-mark{width:56px;height:56px}.spendora-brand-sidebar{flex-direction:row;align-items:center;gap:10px;margin:0 0 14px;padding:0 6px}.spendora-brand-sidebar .spendora-brand-mark{filter:none;width:36px;height:36px}.spendora-brand-sidebar .spendora-brand-name{font-size:1.05rem}.spendora-brand-sidebar:hover .spendora-brand-name{color:#1d4ed8}.landing-page{background:radial-gradient(circle at 12% 8%,#2563eb2e,#0000 42%),radial-gradient(circle at 88% 0,#0891b229,#0000 38%),radial-gradient(circle at 50% 100%,#0596691f,#0000 45%),linear-gradient(#f8fafc 0%,#eef2ff 100%);min-height:100dvh}.maintenance-page{background:radial-gradient(circle at 12% 8%,#2563eb2e,#0000 42%),radial-gradient(circle at 88% 0,#0891b229,#0000 38%),linear-gradient(#f8fafc 0%,#eef2ff 100%);place-items:center;min-height:100dvh;padding:24px 16px;display:grid}.maintenance-shell{text-align:center;border:1px solid #dbe5f5;width:min(100%,34rem);padding:28px 24px 24px;box-shadow:0 16px 40px #0f172a14}.maintenance-shell .spendora-brand{justify-content:center;margin-bottom:16px}.maintenance-badge{color:#92400e;background:#fef3c7;border-radius:999px;margin:0 0 12px;padding:.25rem .65rem;font-size:.82rem;font-weight:600;display:inline-block}.maintenance-shell h1{color:#0f172a;margin:0 0 10px;font-size:1.55rem}.maintenance-lead{margin:0 0 14px;line-height:1.55}.maintenance-points{text-align:left;color:#475569;margin:0 0 18px;padding-left:1.1rem;line-height:1.55}.maintenance-retry{width:100%;max-width:16rem}.maintenance-footnote{margin:14px 0 0;font-size:.88rem}.landing-shell{max-width:980px;margin:0 auto;padding:28px 20px 48px}.landing-shell-loading{place-items:center;min-height:60dvh;display:grid}.landing-topbar{justify-content:flex-end;align-items:center;gap:10px;margin-bottom:18px;display:flex}.landing-hero{text-align:center;border:1px solid #dbe5f5f2;padding:32px 24px 28px;box-shadow:0 24px 48px #0f172a14}.landing-lead{color:#334155;max-width:40rem;margin:18px auto 0;font-size:1.05rem;line-height:1.55}.landing-cta-row{flex-wrap:wrap;justify-content:center;align-items:stretch;gap:12px;margin-top:28px;display:flex}.landing-cta-row .primary-btn,.landing-cta-row .secondary-btn{box-sizing:border-box;text-align:center;white-space:nowrap;border-radius:12px;justify-content:center;align-items:center;height:auto;min-height:48px;padding:12px 28px;font-size:1rem;line-height:1.25;text-decoration:none;display:inline-flex}.landing-cta-row .primary-btn{min-width:180px;box-shadow:0 8px 20px #2563eb47}.landing-cta-row .secondary-btn{color:#1d4ed8;background:#fff;border:1px solid #bfdbfe;width:auto;min-width:140px}.landing-cta-row .secondary-btn:hover{background:#eff6ff;border-color:#93c5fd}.landing-cta-note{text-align:center;margin:14px 0 0;font-size:.88rem}.landing-features{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.landing-feature-card{border:1px solid #dbe5f5;padding:18px 16px;box-shadow:0 10px 24px #0f172a0d}.landing-feature-card h2{margin:10px 0 8px;font-size:1.05rem}.landing-feature-icon{background:linear-gradient(145deg,#eff6ff,#ecfeff);border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;font-size:1.35rem;display:inline-flex}.landing-steps{margin-top:18px;padding:20px 22px}.landing-steps h2{margin:0 0 12px;font-size:1.1rem}.landing-steps-list{color:#334155;margin:0;padding-left:1.25rem;line-height:1.6}.landing-footer{text-align:center;margin-top:22px;font-size:.9rem}.landing-footer a{color:#475569}.auth-brand-wrap{justify-content:center;margin-bottom:16px;display:flex}.auth-brand-wrap+.auth-card-head .auth-locale-row{margin-top:0}.auth-submit-btn,.auth-form-actions .primary-btn{box-sizing:border-box;justify-content:center;align-items:center;width:100%;height:auto;min-height:44px;padding:12px 16px;line-height:1.25;display:inline-flex}@media (max-width:820px){.landing-features{grid-template-columns:1fr}.landing-hero{padding:24px 18px 22px}}@media (max-width:520px){.landing-cta-row{flex-direction:column;align-items:stretch}.landing-cta-row .primary-btn,.landing-cta-row .secondary-btn{white-space:normal;width:100%;min-width:0}}@media (min-width:981px){.app-shell-brand.spendora-brand{display:flex}}.price-compare-admin-table{border-collapse:collapse;width:100%;font-size:.95rem}.price-compare-admin-table th,.price-compare-admin-table td{border-bottom:1px solid var(--border,#e5e7eb);text-align:left;padding:.45rem .35rem}.price-compare-admin-table tr.at-limit td{color:#b45309}.admin-ops-meta{margin:0 0 .75rem;font-size:.85rem}.admin-ops-section-title{margin:1.25rem 0 .5rem;font-size:1rem}.admin-ops-footnote{margin:.35rem 0 0;font-size:.82rem}.admin-ops-source-list{gap:.35rem;margin:0 0 1rem;padding:0;list-style:none;display:grid}.admin-ops-source-list li{border:1px solid var(--border,#e5e7eb);border-radius:.35rem;justify-content:space-between;gap:1rem;padding:.35rem .5rem;font-size:.92rem;display:flex}.admin-ops-weekly-chart{gap:.55rem;margin-bottom:1rem;display:grid}.admin-ops-weekly-row{gap:.35rem;display:grid}.admin-ops-weekly-label{color:var(--muted,#6b7280);font-size:.82rem}.admin-ops-weekly-bars{gap:.25rem;display:grid}.admin-ops-weekly-bar-wrap{grid-template-columns:1fr auto;align-items:center;gap:.5rem;font-size:.82rem;display:grid}.admin-ops-weekly-bar{border-radius:999px;min-width:.25rem;height:.55rem}.admin-ops-weekly-bar-registrations{background:linear-gradient(90deg,#6366f1,#818cf8)}.admin-ops-weekly-bar-receipts{background:linear-gradient(90deg,#2563eb,#60a5fa)}.price-compare-history-active{font-weight:600;text-decoration:underline}.price-compare-history-hint{margin:.25rem 0 .5rem;font-size:.85rem}.checkbox-field{align-items:flex-start;gap:.5rem;margin:.5rem 0;display:flex}
