:root{--accent:#4f46e5;--accent-hover:#4338ca;--accent-soft:#eeedff;--ink:#16171b;--muted:#73747b;--line:#e7e7eb;--canvas:#f4f5f5;--paper:#fff;--radius:22px;--content-max-width:900px}html{scrollbar-gutter:stable}body{background:var(--canvas);color:var(--ink);font-family:Arial,Helvetica Neue,sans-serif}:where(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.app-frame{--shell-action-inset:28px;max-width:1320px;margin:0 auto}.main-content{background:var(--canvas);margin-left:232px}.page{width:100%;min-width:0;max-width:var(--content-max-width);margin-inline:auto;padding:24px 28px 64px}.sidebar{background:var(--canvas);width:232px;box-shadow:none;border-right:0;padding:26px 14px 18px;left:max(0px,50vw - 660px)}.brand-row{padding:0 12px 27px}.brand{color:var(--accent);letter-spacing:-.025em;font-size:22px}.brand-mark{background:var(--accent);box-shadow:none;border-radius:12px}.module-switcher summary{background:#eaeaec;border-color:#0000;border-radius:15px}.module-switcher summary:hover,.module-switcher[open] summary{background:var(--accent-soft);border-color:#dcd9fa}.module-switcher-copy strong{color:var(--ink);font-size:14px}.module-switcher-icon,.module-option-icon{border-radius:11px}.nav-list{gap:5px}.nav-item{min-height:48px;color:var(--muted);border-radius:13px;padding:0 13px;font-size:14px;font-weight:400}.nav-item:hover{background:#eaeaec}.nav-item.active,.module-health .nav-item.active{color:var(--ink);background:0 0;font-weight:700}.nav-item.active svg{color:var(--accent)}.sidebar-section-label{color:#85858d}.avatar{background:var(--accent-soft);color:var(--accent)}.desktop-account-bar{min-height:64px;padding:12px var(--shell-action-inset) 0;justify-content:flex-end;align-items:center;gap:8px;display:flex}.desktop-account-link{min-width:0;min-height:44px;color:var(--ink);border-radius:12px;align-items:center;gap:13px;display:inline-flex}.desktop-account-link:hover{color:var(--accent)}.desktop-account-avatar{background:var(--accent-soft);width:44px;height:44px;color:var(--accent);border-radius:13px;flex-shrink:0;place-items:center;display:grid;position:relative}.desktop-account-name{text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:14px;overflow:hidden}.desktop-account-logout{width:44px;height:44px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:12px;flex-shrink:0;place-items:center;padding:0;display:grid}.desktop-account-logout:hover{background:var(--accent-soft);color:var(--accent)}.desktop-account-badge{border:2px solid var(--canvas);color:#fff;background:#ef4444;border-radius:999px;place-items:center;min-width:19px;height:19px;padding:0 4px;font-size:9px;display:grid;position:absolute;top:-4px;right:-5px}@media (min-width:781px){.main-content{padding-top:64px}.desktop-account-bar{top:16px;right:max(var(--shell-action-inset), env(safe-area-inset-right));min-height:44px;padding:0;position:absolute}.primary-button.quick-action-fab{right:max(var(--shell-action-inset), env(safe-area-inset-right))}.account-grid,.bonus-program-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}.account-grid>article,.bonus-program-grid>article{min-width:0}}@media (min-width:1440px){.app-frame{--shell-rail-width:240px;--shell-column-gap:32px;--shell-rail-padding:14px;--shell-outer-padding:24px;--shell-max-width:calc(var(--content-max-width) + 2 * var(--shell-rail-width) + 2 * var(--shell-column-gap));--shell-action-inset:calc(max(var(--shell-outer-padding), (100% - var(--shell-max-width)) / 2) + var(--shell-rail-padding));width:calc(100% - 2 * var(--shell-outer-padding));max-width:var(--shell-max-width)}.sidebar{left:max(var(--shell-outer-padding), calc((100% - var(--shell-max-width)) / 2));width:var(--shell-rail-width);padding-inline:var(--shell-rail-padding)}.main-content{margin-inline:calc(var(--shell-rail-width) + var(--shell-column-gap))}.desktop-account-bar{width:calc(var(--shell-rail-width) - 2 * var(--shell-rail-padding))}.desktop-account-link{flex:1}}@media (min-width:1141px){.analysis-columns,.analysis-row{grid-template-columns:minmax(160px,1.55fr) minmax(85px,.78fr) minmax(85px,.7fr) minmax(60px,.5fr) minmax(110px,.7fr) 18px;gap:10px}}.panel,.account-card,.receipt-card,.transaction-day,.module-card,.bonus-card,.health-feature-grid article,.home-hub-card,.home-module-card,.home-hub-link,.home-data-scope-setting{box-shadow:none;background:#fff;border-color:#0000;border-radius:22px}.panel{padding:24px}.panel-title{gap:12px;margin-bottom:18px}.panel-title h2{color:var(--ink);letter-spacing:-.025em;font-size:22px;font-weight:600}.panel-title>a{min-height:32px;color:var(--ink);background:#f4f4f5;border-radius:9px;flex-shrink:0;padding:0 9px;font-size:12px}.panel-title>a:hover{background:var(--accent-soft);color:var(--accent)}.account-card-attention{border-color:#e8b66d}.receipt-card:hover,.receipt-card.selected{box-shadow:none;border-color:#c7c2f8}.primary-button,.secondary-button{border-radius:12px;min-height:44px;font-size:13px}.primary-button{background:var(--accent);box-shadow:none}.primary-button:hover{background:var(--accent-hover)}.secondary-button{background:#f5f5f6;border-color:#e7e7eb}.primary-button.quick-action-fab{border-radius:18px;box-shadow:0 5px 16px #4f46e533}.search-field{border-color:#e7e7eb;border-radius:14px;min-height:46px}.search-field input{background:0 0}.custom-select-trigger,.category-picker-trigger{border-color:#e7e7eb;border-radius:13px}.modal{border-radius:22px}.transaction-day{padding:18px 22px 8px}.transaction-day-header h2{font-size:20px}.transaction-icon{border-radius:50%}.transaction-row-open :is(strong,b,span,small){font-weight:400}.transaction-row-open .transaction-icon{background:#f5f5f6;flex:none;width:44px;height:44px}.transaction-row-open .transaction-icon.income{color:#00a878}.transaction-row-open .transaction-icon.expense{color:#f97316}.transaction-row-open .transaction-icon.transfer{color:#4f46e5}.finance-wallet{background:radial-gradient(at 75% 10%,#eee8ff 0%,#0000 60%),linear-gradient(115deg,#bcb8ee,#d6d4f8 62%,#e2e1f8);border-radius:22px;margin-bottom:16px;padding:26px 24px 24px;overflow:hidden}.finance-wallet-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.finance-wallet-header>div{min-width:0}.finance-wallet-header p{color:#555075;margin:0 0 8px;font-size:14px}.finance-wallet-header strong{overflow-wrap:anywhere;color:#201b40;letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-size:clamp(28px,3vw,36px);font-weight:600;display:block}.finance-wallet-header small{color:#625d7d;margin-top:7px;font-size:12px;line-height:1.4;display:block}.finance-wallet-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.finance-wallet-card{background:#fff;border-radius:18px;flex-direction:column;justify-content:space-between;gap:24px;min-width:0;min-height:148px;padding:17px 15px 15px;transition:background .16s;display:flex}.finance-wallet-card:hover{background:#f8f7ff}.finance-wallet-card-icon{color:var(--accent);align-content:center;display:grid}.finance-wallet-card-copy{min-width:0}.finance-wallet-card-copy strong{overflow-wrap:anywhere;color:var(--ink);letter-spacing:-.025em;font-variant-numeric:tabular-nums;font-size:clamp(17px,1.5vw,20px);font-weight:500;display:block}.finance-wallet-card-copy small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.35;display:block}.dashboard-period-toggle,.dashboard-period-done{display:none}.dashboard-period{box-shadow:none;background:#fff;border:0;border-radius:18px;grid-template-columns:1fr auto;gap:10px 16px;padding:12px}.dashboard-period-label{grid-area:1/1}.dashboard-period-dates{grid-area:1/2;padding:0}.dashboard-period-loading:empty{display:none}.dashboard-period-presets{grid-area:2/1/auto/-1;width:100%;display:flex}.dashboard-period-presets button{flex:1;min-height:40px}.dashboard-period-label small{color:var(--muted);font-size:10px}.dashboard-period-label strong{font-size:12px}.dashboard-period-range label{font-size:10px}.dashboard-period-range input{font-size:12px}.dashboard-period-range:focus-within{outline:2px solid var(--accent);outline-offset:2px}.dashboard-metric-grid{margin-bottom:16px}.dashboard-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-metric-grid .metric-card{min-height:122px;box-shadow:none;border-color:#0000;border-radius:20px;gap:10px;padding:16px}.dashboard-metric-grid .metric-card:hover{box-shadow:none;border-color:#0000}.dashboard-metric-grid .metric-card>span{color:var(--muted);gap:7px;font-size:12px}.dashboard-metric-grid .metric-card strong{white-space:normal;overflow-wrap:anywhere;font-size:clamp(18px,1.6vw,23px)}.dashboard-metric-grid .metric-card small{color:var(--muted);font-size:10px;line-height:1.4}.metric-icon{border-radius:50%;flex-shrink:0;width:27px;height:27px}.attention-banner{border-radius:18px}.dashboard-family-recent article{border-color:#f3f3f5;gap:13px;min-height:76px;padding:14px 0}.dashboard-family-recent article:first-child{border-top:0}.dashboard-family-recent article>div{min-width:0}.dashboard-family-recent article strong{color:var(--ink);font-size:14px;font-weight:500}.dashboard-family-recent article small{color:var(--muted);margin-top:5px;font-size:12px}.dashboard-family-recent article>b{color:var(--ink);white-space:nowrap;font-size:14px;font-weight:500}.dashboard-family-recent .transaction-icon{background:#f5f5f6;width:38px;height:38px}.dashboard-insights-grid{grid-template-columns:minmax(0,1fr)}.category-summary-row{min-height:44px}.category-summary-row strong,.category-summary-row b{font-size:13px}.category-summary-row>span:nth-child(3){color:var(--muted);font-size:11px}.merchant-summary-name strong,.merchant-summary-row>b{font-size:13px}.merchant-summary-name small{color:var(--muted);font-size:11px}.capital-history-currency-select .custom-select-trigger{border-radius:12px;min-height:44px}.home-hub-header{box-shadow:none;background:#ebe9f8;border:0;border-radius:22px;padding:20px 24px}.home-hub-header h1{font-size:28px}.home-hub-mark{width:52px;height:52px;box-shadow:none;border-radius:16px}.home-hub-card-copy strong{font-size:16px}.home-hub-card-copy>span,.home-module-card p,.home-hub-link small{color:var(--muted);font-size:12px}.home-hub-card-copy small,.home-module-card small{color:var(--muted);font-size:10px}.home-module-card.recent{background:#fbfaff;border-color:#d5d0fa}.home-hub-link strong,.home-data-scope-copy strong{font-size:14px}.home-data-scope-copy small{color:var(--muted);font-size:11px}.home-data-scope-select .custom-select-trigger{border-radius:12px;min-height:44px}.home-logout-button{min-height:44px;font-size:13px}.health-kpi-grid>article{box-shadow:none;border-color:#0000;border-radius:20px}.health-kpi-grid>article small{color:var(--muted);font-size:11px}.health-measurement-list article,.health-trend-summary article{background:#f5f5f6;border-color:#0000;border-radius:14px}.health-recent-list strong{font-size:13px}.health-recent-list small{color:var(--muted);font-size:11px}@media (min-width:781px) and (max-width:1140px){.app-frame{--shell-action-inset:20px}.sidebar{width:208px;padding-left:10px;padding-right:10px}.main-content{margin-left:208px}.page{padding-left:20px;padding-right:20px}.finance-wallet-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-wallet-card{min-height:125px}.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-period-dates{grid-area:2/1/auto/-1}.dashboard-period-presets{grid-row:3}.compact-transaction-toolbar .transaction-filter-controls{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.compact-transaction-toolbar .search-field{grid-column:1/-1;width:100%}.compact-transaction-toolbar .transaction-filter-select,.compact-transaction-toolbar .transaction-filter-category{width:100%;max-width:none}.compact-transaction-toolbar .category-picker-trigger{min-height:44px}.compact-transaction-toolbar .category-picker-trigger-value>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.transaction-day-columns{display:none}.table-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:14px 3px}.table-row>span.transaction-account{display:none}.transaction-cell-copy .transaction-account-reference{display:block}.source-label{grid-column:1;padding-left:55px}.table-row>b{grid-area:1/2}.transaction-actions{grid-area:2/2/span 2}}@media (min-width:701px) and (max-width:1140px){.analysis-columns{display:none}.analysis-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.analysis-main-cell{grid-area:1/1}.analysis-date-cell{grid-area:2/1;padding-left:49px}.analysis-added-cell{grid-area:3/1;padding-left:49px;display:block}.analysis-count-cell{grid-area:2/2}.analysis-row .health-status{grid-area:1/2;align-self:start}.analysis-row-arrow{grid-area:3/2;justify-self:end}}@media (max-width:780px){.desktop-account-bar{display:none}.app-frame{max-width:none}.main-content{margin-left:0}.page{padding:16px max(14px, env(safe-area-inset-right)) 24px max(14px, env(safe-area-inset-left))}.panel{border-radius:20px;padding:20px 18px}.panel-title{gap:9px;margin-bottom:14px}.panel-title h2{font-size:20px}.panel-title>a{min-height:44px;font-size:11px}.finance-wallet{margin-bottom:12px;padding:22px 20px 20px}.finance-wallet-header{gap:12px;margin-bottom:22px}.finance-wallet-header p{font-size:13px}.finance-wallet-header strong{font-size:29px}.finance-wallet-header small{max-width:230px;font-size:11px}.finance-wallet-cards{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;grid-template-columns:none;grid-auto-columns:164px;grid-auto-flow:column;gap:10px;margin:-3px -20px;padding:3px 20px;scroll-padding-inline:20px;overflow-x:auto}.finance-wallet-cards::-webkit-scrollbar{display:none}.finance-wallet-card{scroll-snap-align:start;border-radius:17px;min-height:140px;padding:16px 14px}.finance-wallet-card-copy strong{font-size:19px}.dashboard-period-toggle{width:100%;min-height:46px;color:var(--accent);cursor:pointer;background:#fff;border:0;border-radius:14px;align-items:center;gap:9px;margin-bottom:12px;padding:10px 13px;display:flex}.dashboard-period-toggle span{color:var(--muted);text-align:left;flex:1;justify-content:space-between;align-items:center;gap:6px;font-size:11px;display:flex}.dashboard-period-toggle strong{color:var(--ink);font-size:12px;font-weight:500}.dashboard-period-toggle>svg{flex-shrink:0}.dashboard-period-toggle[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}.dashboard-period[data-open=false]{display:none}.dashboard-period{grid-template-columns:minmax(0,1fr);gap:12px}.dashboard-period-label{display:none}.dashboard-period-presets{grid-row:1;display:grid}.dashboard-period-presets button{min-height:44px}.dashboard-period-dates{grid-area:2/1}.dashboard-period-range input{min-height:34px;font-size:16px}.dashboard-period-done{grid-row:3;justify-content:center;width:100%;display:inline-flex}.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-metric-grid .metric-card{border-radius:18px;min-height:110px;padding:14px}.dashboard-metric-grid .metric-card>span{font-size:11px}.dashboard-metric-grid .metric-card strong{font-size:20px}.dashboard-metric-grid .metric-card small{font-size:9px}.dashboard-family-recent article{gap:10px;min-height:74px}.dashboard-family-recent article strong,.dashboard-family-recent article>b{font-size:13px}.dashboard-family-recent article small{font-size:11px}.transaction-day{border-radius:20px;padding:16px 18px 7px}.transaction-day-header h2{font-size:18px}.transaction-filter-panel[data-open=true]{box-shadow:none;border-color:#0000;border-radius:18px;padding:14px}.transaction-filter-toggle{border-radius:14px}.compact-transaction-toolbar .search-field input{font-size:16px}.transaction-filter-panel-header strong{font-size:14px}.transaction-filter-field-label{font-size:12px}.mobile-bottom-nav{box-shadow:none;border-top-color:#e9e9ed}.mobile-nav-item{color:#8e8e97;font-weight:400}.mobile-nav-item.active{color:var(--accent);font-weight:700}.primary-button.quick-action-fab{box-shadow:0 4px 12px #4f46e52b}.home-hub-header{padding:18px 20px}.home-hub-header h1{font-size:25px}.home-hub-card,.home-module-card,.home-hub-link,.home-data-scope-setting{border-radius:18px}.home-hub-card-copy strong{font-size:15px}.health-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.health-kpi-grid>article{padding:14px}}@media (max-width:360px){.bonus-program-grid{grid-template-columns:minmax(0,1fr)}.bonus-card-title{flex-wrap:wrap}.bonus-card-title>div:nth-child(2){flex-basis:calc(100% - 53px)}.bonus-card-actions{margin-left:53px}}@media (max-width:780px) and (display-mode:standalone){.page{padding-top:calc(16px + env(safe-area-inset-top))}}.dashboard-accounts{margin-top:22px;scroll-margin-top:24px}.dashboard-section-heading{justify-content:space-between;align-items:end;gap:18px;margin-bottom:12px;padding:0 3px;display:flex}.dashboard-section-heading p,.dashboard-section-heading h2{margin:0}.dashboard-section-heading p{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:10px}.dashboard-section-heading h2{letter-spacing:-.03em;margin-top:5px;font-size:24px;font-weight:600}.dashboard-section-heading>span{max-width:330px;color:var(--muted);text-align:right;font-size:11px;line-height:1.45}.dashboard-accounts-loading{min-height:120px;color:var(--muted);background:#fff;border-radius:20px;justify-content:center;align-items:center;gap:9px;margin:0;font-size:12px;display:flex}.account-shelves{gap:14px;min-width:0;display:grid}.account-shelf{background:#fff;border:1px solid #ececef;border-radius:20px;min-width:0;padding:24px;scroll-margin-top:24px;overflow:hidden}.account-shelf-header{justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;display:flex}.account-shelf-header>div{min-width:0}.account-shelf-header :is(h2,h3){color:var(--muted);letter-spacing:0;margin:0;font-size:12px;font-weight:400}.account-shelf-header strong{overflow-wrap:anywhere;color:#201b40;letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin-top:5px;font-size:clamp(22px,2.2vw,26px);font-weight:600;display:block}.account-shelf-track{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;grid-template-columns:none;grid-auto-columns:calc(25% - 9px);grid-auto-flow:column;gap:12px;padding:3px;scroll-padding-inline:3px;display:grid;overflow-x:auto}.account-shelf-track::-webkit-scrollbar{display:none}.account-shelf-card{min-height:148px;color:var(--ink);scroll-snap-align:start;background:#f5f5f6;border:1px solid #0000;border-radius:18px;grid-template-rows:auto 1fr auto auto;gap:8px;padding:17px 15px 15px;transition:background .16s,border-color .16s;display:grid}.account-shelf-card:hover{color:var(--ink);background:#f1f1f3;border-color:#dedee4}.account-shelf-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.account-shelf-card-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.account-shelf-card .account-logo{border-radius:11px;width:34px;height:34px}.account-shelf-card .account-logo svg{width:18px;height:18px}.account-shelf-card .account-bank-logo{background:#fff;overflow:hidden}.account-shelf-card .account-bank-logo img{object-fit:contain;width:22px;height:22px}.account-shelf-card .logo-sber.account-bank-logo{background:linear-gradient(135deg,#21a038,#00aab5)}.account-shelf-card .logo-sber.account-bank-logo img{width:20px;height:20px}.account-shelf-card .logo-vtb.account-bank-logo img{width:23px;height:23px}.account-shelf-status{color:#078842;letter-spacing:.04em;text-transform:uppercase;background:#e5f7ec;border-radius:7px;flex-shrink:0;padding:4px 7px;font-size:8px;font-weight:400}.account-shelf-status.is-attention{color:#bd5d00;background:#fff1df}.account-shelf-status.is-muted{color:#6b7280;background:#eeeeef}.account-shelf-card-copy{align-self:end;min-width:0}.account-shelf-card-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.3;display:block;overflow:hidden}.account-shelf-card-copy :is(h3,h4){letter-spacing:-.02em;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:3px 0 0;font-size:15px;font-weight:400;line-height:1.2;display:-webkit-box;overflow:hidden}.account-shelf-balance{overflow-wrap:anywhere;letter-spacing:-.025em;font-variant-numeric:tabular-nums;font-size:clamp(17px,1.5vw,20px);font-weight:500;display:block}.account-shelf-meta{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.account-shelf-footer{align-items:center;gap:7px;min-width:0;display:flex}.account-shelf-footer .account-shelf-meta{min-width:0}.account-shelf-footer .data-owner-label{flex-shrink:0;margin:0 0 0 auto;font-weight:400}.bonus-card[id]{scroll-margin-top:24px}@media (min-width:781px) and (max-width:1140px){.account-shelf-track{grid-auto-columns:calc(50% - 6px)}.account-shelf-card{min-height:125px}}@media (max-width:780px){.dashboard-accounts{margin-top:18px}.dashboard-section-heading{align-items:flex-start;margin-bottom:10px}.dashboard-section-heading h2{font-size:22px}.dashboard-section-heading>span{display:none}.account-shelves{gap:12px}.account-shelf{border-radius:18px;padding:20px}.account-shelf-header{margin-bottom:12px}.account-shelf-header :is(h2,h3){font-size:11px}.account-shelf-header strong{margin-top:4px;font-size:23px}.account-shelf-track{grid-auto-columns:164px;gap:10px;margin:-3px -20px;padding:3px 20px;scroll-padding-inline:20px}.account-shelf-card{border-radius:17px;min-height:140px;padding:16px 14px}.account-shelf-card:hover{transform:none}.account-shelf-balance{font-size:19px}}.account-card{position:relative}.account-card-open-link:after{z-index:1;border-radius:inherit;content:"";position:absolute;inset:0}.account-card-open-link:hover{color:var(--accent)}.account-card-open-link:focus-visible{outline:none}.account-card-open-link:focus-visible:after{outline:2px solid var(--accent);outline-offset:3px}.account-card .account-card-actions,.account-card .account-statements-button,.account-card .account-management-actions,.account-card .deposit-documents,.account-card .deposit-term-history{z-index:2;position:relative}.account-detail-back{border-radius:10px;align-items:center;gap:10px;min-height:44px;margin-bottom:16px;font-size:15px;font-weight:600;display:inline-flex}.account-detail-back:hover{color:var(--accent)}.account-detail-hero{padding:28px}.account-detail-heading{align-items:center;gap:14px;display:flex}.account-detail-heading>div{min-width:0}.account-detail-icon{width:48px;height:48px;color:var(--accent);background:#ffffffa6;border-radius:15px;flex-shrink:0;place-items:center;display:grid}.account-detail-heading p{color:#555075;margin:0 0 7px;font-size:12px;line-height:1.5}.account-detail-heading h1{overflow-wrap:anywhere;color:#201b40;letter-spacing:-.025em;margin:0;font-size:23px;font-weight:600}.account-detail-owner{overflow-wrap:anywhere;color:#555075;margin:14px 0 0;font-size:12px}.account-detail-balance{flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px;display:flex}.account-detail-balance>span:first-child:not(.status-pill){color:#555075;flex-basis:100%;font-size:12px}.account-detail-balance>strong{overflow-wrap:anywhere;color:#201b40;letter-spacing:-.035em;font-variant-numeric:tabular-nums;min-width:0;font-size:clamp(28px,3vw,36px);font-weight:600}.account-detail-credit{flex-wrap:wrap;gap:16px 28px;margin-top:20px;display:flex}.account-detail-credit span,.account-detail-credit strong{display:block}.account-detail-credit span{color:#555075;margin-bottom:6px;font-size:12px}.account-detail-credit strong{color:#201b40;font-size:18px;font-weight:500}.account-detail-cards{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.account-detail-card,.account-detail-add-card{color:#201b40;background:#ffffffe6;border:0;border-radius:14px;align-items:center;gap:10px;min-width:0;max-width:100%;min-height:54px;padding:11px 14px;font-size:13px;display:inline-flex}.account-detail-card svg,.account-detail-add-card svg{color:var(--accent);flex-shrink:0}.account-detail-card>span{overflow-wrap:anywhere;min-width:0}.account-detail-card small{color:#737080;margin-top:4px;font-size:11px;display:block}.account-detail-add-card{color:var(--accent);cursor:pointer}.account-detail-add-card:hover{background:#fff}.account-detail-actions{grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:12px;margin:16px 0 24px;display:grid}.account-detail-actions:empty{display:none}.account-detail-actions>:is(button,a){min-width:0;min-height:72px;color:var(--ink);cursor:pointer;background:#fff;border:0;border-radius:19px;justify-content:center;align-items:center;gap:12px;padding:14px;font-size:14px;display:flex}.account-detail-actions>:is(button,a):hover{background:var(--accent-soft);color:var(--accent)}.account-detail-actions svg{color:var(--accent);flex-shrink:0}.account-detail-readonly{color:var(--muted);margin:0 0 20px;font-size:12px;line-height:1.5}.account-detail-terms{margin-bottom:16px}.account-detail-terms h2,.account-detail-data h2,.account-history-title{color:var(--ink);letter-spacing:-.025em;margin:0 0 18px;font-size:22px;font-weight:600}.account-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0 0;display:grid}.account-detail-facts>div{min-width:0}.account-detail-facts dt{color:var(--muted);margin-bottom:6px;font-size:12px}.account-detail-facts dd{overflow-wrap:anywhere;color:var(--ink);margin:0;font-size:14px;line-height:1.45}.bonus-account-detail-hero{border-top:4px solid var(--bonus-color)}.bonus-account-detail-icon{background:var(--bonus-color);color:#fff}.account-detail-balance .bonus-account-detail-value{color:#555075;font-size:12px}.bonus-account-detail-expiration{background:#ffffffb8;width:fit-content;max-width:100%;margin-top:20px}.bonus-account-detail-facts{margin-bottom:16px}.bonus-account-history{margin-top:0}.bonus-account-history-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:4px;display:flex}.bonus-account-history-header .account-history-title{margin-bottom:0}.bonus-account-history-header>span{background:var(--accent-soft);min-width:28px;height:28px;color:var(--accent);border-radius:9px;place-items:center;padding:0 8px;font-size:11px;font-weight:600;display:grid}.bonus-account-history-empty{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:14px;margin:18px 0 0;padding:22px;font-size:13px}.account-detail-info-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:start;gap:16px;margin-bottom:28px;display:grid}.account-detail-data p{color:var(--muted);margin:14px 0 0;font-size:12px;line-height:1.5}.account-detail-data>.text-button{min-height:44px;margin-top:8px;padding-inline:0}.account-detail-documents{margin-top:12px}.account-detail-documents summary{min-height:44px;color:var(--accent);cursor:pointer;border-radius:8px;align-items:center;font-size:13px;display:flex}.account-detail-documents a{overflow-wrap:anywhere;min-height:44px;color:var(--accent);align-items:center;gap:8px;padding-block:8px;font-size:12px;display:flex}.account-detail-documents svg{flex-shrink:0}.account-detail-management{flex-wrap:wrap;gap:8px 12px;margin-top:18px;display:flex}.account-detail-management .text-button{min-height:44px;padding-inline:0}.account-deposit-history{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.account-deposit-history-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.account-deposit-history-heading h3{color:var(--ink);margin:0;font-size:17px;font-weight:600}.account-deposit-history-heading>span{background:var(--accent-soft);min-width:28px;height:28px;color:var(--accent);border-radius:9px;place-items:center;padding:0 8px;font-size:11px;font-weight:600;display:grid}.account-deposit-history ol{margin:18px 0 0;padding:0;list-style:none}.account-deposit-history li{grid-template-columns:12px minmax(0,1fr);gap:12px;padding-bottom:20px;display:grid;position:relative}.account-deposit-history li:last-child{padding-bottom:0}.account-deposit-history li:not(:last-child):before{background:var(--line);content:"";width:2px;position:absolute;top:12px;bottom:-2px;left:5px}.account-deposit-history-marker{z-index:1;background:var(--accent);width:12px;height:12px;box-shadow:0 0 0 1px var(--accent);border:3px solid #fff;border-radius:50%;margin-top:4px;position:relative}.account-deposit-history-entry{min-width:0}.account-deposit-history-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.account-deposit-history-title strong{color:var(--ink);font-size:13px;font-weight:600}.account-deposit-history-title span{background:var(--accent-soft);color:var(--accent);border-radius:7px;padding:3px 7px;font-size:9px;font-weight:650}.account-deposit-history-entry>p{color:var(--ink);font-variant-numeric:tabular-nums;margin:5px 0 0;font-size:13px}.account-deposit-history-entry>dl{flex-wrap:wrap;gap:7px 16px;margin:9px 0 0;display:flex}.account-deposit-history-entry>dl>div{gap:5px;min-width:0;font-size:11px;line-height:1.45;display:flex}.account-deposit-history-entry dt{color:var(--muted)}.account-deposit-history-entry dd{color:var(--ink);margin:0}.form-field-hint{color:var(--muted);font-size:10px;font-weight:400;line-height:1.4}.account-settings-danger{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;margin-top:8px;padding-top:18px;display:flex}.account-settings-danger>div:first-child{min-width:0}.account-settings-danger strong,.account-settings-danger small{display:block}.account-settings-danger strong{color:var(--ink);font-size:13px}.account-settings-danger small{max-width:360px;color:var(--muted);margin-top:5px;font-size:10px;font-weight:400;line-height:1.45}.account-settings-danger>div:last-child{flex-shrink:0;gap:8px;display:flex}.account-settings-danger button{min-height:40px}.account-transaction-history{min-width:0}.transactions-load-more{justify-content:center;margin-top:18px;display:flex}@media (min-width:781px) and (max-width:1140px){.account-transaction-history .transaction-filter-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:780px){.account-detail-hero{padding:22px 20px}.account-detail-heading{align-items:flex-start;gap:11px}.account-detail-heading h1{font-size:21px}.account-detail-heading p{font-size:11px}.account-detail-icon{border-radius:13px;width:42px;height:42px}.account-detail-balance{margin-top:22px}.account-detail-balance>strong{font-size:30px}.account-detail-cards{overscroll-behavior-x:contain;scrollbar-width:none;flex-wrap:nowrap;gap:8px;margin:20px -20px -3px;padding:3px 20px;overflow-x:auto}.account-detail-cards::-webkit-scrollbar{display:none}.account-detail-card,.account-detail-add-card{min-height:48px;padding:10px 12px;font-size:12px}.account-detail-card{flex-shrink:0;max-width:240px}.account-detail-add-card{flex-shrink:0;order:-1;justify-content:center;width:44px;padding:0}.account-detail-add-card>span{display:none}.account-detail-actions{gap:8px;margin-bottom:20px}.account-detail-actions>:is(button,a){border-radius:16px;flex-direction:column;gap:8px;min-height:74px;padding:12px 6px;font-size:12px}.account-detail-info-grid{gap:12px;margin-bottom:24px}.account-detail-terms h2,.account-detail-data h2,.account-history-title{font-size:20px}.account-detail-facts{gap:16px 12px}.account-detail-facts dd{font-size:13px}.account-settings-danger{flex-direction:column;align-items:stretch}.account-settings-danger>div:last-child{grid-template-columns:1fr;display:grid}.account-settings-danger button{justify-content:center;width:100%}}@media (prefers-reduced-motion:reduce){.finance-wallet-card{transition:none}}.modal-layer{overflow-anchor:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#19191d57;place-items:center;padding:32px;animation:.18s ease-out both modal-layer-in;overflow:hidden}body>.modal-layer:has(~.modal-layer){visibility:hidden}.modal{--modal-content-gutter:28px;overflow-anchor:none;background:#fff;border:0;border-radius:24px;flex-direction:column;width:min(620px,100%);max-height:calc(100dvh - 64px);padding:0;animation:.22s cubic-bezier(.2,.8,.2,1) both modal-card-in;display:flex;overflow:clip;box-shadow:0 24px 70px #1212182e}.modal>.modal-header{flex:none;justify-content:space-between;align-items:center;gap:20px;margin:0;padding:26px 28px 20px;display:flex}.modal>.modal-header h2{overflow-wrap:anywhere;min-width:0;color:var(--ink);letter-spacing:-.035em;margin:0;font-size:24px;font-weight:600;line-height:1.16}.modal>.modal-header .modal-close{color:#5f6067;cursor:pointer;background:#f4f4f5;border:0;border-radius:12px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;padding:0;transition:background .16s,color .16s,transform .16s;display:inline-flex}.modal>.modal-header .modal-close:hover{background:var(--accent-soft);color:var(--accent)}.modal>.modal-header .modal-close:active{transform:scale(.96)}.modal-back-icon,.modal-close>span{display:none}.modal-content{min-width:0;min-height:0;padding:0 var(--modal-content-gutter) 28px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-color:#c9c9cf transparent;scrollbar-width:thin;flex:auto;overflow:hidden auto}.modal-content::-webkit-scrollbar{width:10px}.modal-content::-webkit-scrollbar-track{background:0 0}.modal-content::-webkit-scrollbar-thumb{background:#c9c9cf padding-box padding-box;border:3px solid #0000;border-radius:999px;min-height:48px}.modal-footer{padding:16px var(--modal-content-gutter) 28px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-top:1px solid #ececef;flex:none;box-shadow:0 -12px 24px #1212180d}.modal-footer .modal-actions{margin:0}.statement-preview-modal{height:calc(100dvh - 64px)}.modal .form-grid{gap:14px}.modal .form-grid>label:not(.check-label),.modal .upload-form>label:not(.drop-zone){color:#73747b;gap:7px;font-size:12px;font-weight:500}.modal .form-grid :is(input,select),.modal .upload-form select,.modal .inline-form input,.modal .transaction-field-editor input{min-height:50px;color:var(--ink);background:#f5f5f6;border:1px solid #0000;border-radius:14px;padding-inline:14px;font-size:14px}.modal .form-grid :is(input,select):hover,.modal .upload-form select:hover,.modal .transaction-field-editor input:hover{background:#f1f1f3}.modal .form-grid :is(input,select):focus,.modal .upload-form select:focus,.modal .transaction-field-editor input:focus{background:#fff;border-color:#8d87ee;box-shadow:0 0 0 3px #4f46e51f}.modal .form-grid .custom-select-trigger,.modal .form-grid .category-picker-trigger{background:#f5f5f6;border-color:#0000;border-radius:14px;min-height:50px;font-size:14px}.modal .form-grid .custom-select-trigger:hover,.modal .form-grid .category-picker-trigger:hover{background:#f1f1f3;border-color:#dedee4}.modal .segmented{background:#f5f5f6;border-radius:15px;gap:4px;padding:5px}.modal .segmented button{border-radius:11px;min-height:40px;font-weight:500}.modal .segmented button.active{color:var(--accent);box-shadow:0 1px 4px #14141c14}.modal .form-hint{color:#777880;background:#fafafa;border-radius:13px;padding:12px 14px;font-size:11px;line-height:1.5}.modal .modal-actions{gap:10px;margin-top:10px}.modal .modal-actions :is(.primary-button,.secondary-button,.danger-button){border-radius:14px;min-height:48px;padding-inline:20px}.modal .modal-actions .text-button{min-height:48px}.category-editor-modal>.modal-content>.form-error{margin:0 0 14px}.confirm-modal{width:min(480px,100%)}.confirm-dialog{gap:0 16px}.confirm-dialog-icon{border-radius:15px;width:48px;height:48px}.confirm-dialog p{color:#64656c;margin-top:1px;font-size:14px;line-height:1.55}.confirm-dialog-actions{gap:10px;margin-top:26px}.confirm-dialog-actions>button{border-radius:14px;min-height:48px}.receipt-detail-modal.receipt-readonly-modal{padding:0;display:block;overflow:auto}.receipt-readonly-modal>.modal-header{padding:0 14px}.receipt-readonly-modal>.modal-header .modal-close{pointer-events:auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f8fafceb;border:1px solid #94a3b83d;box-shadow:0 4px 14px #0f172a14}.receipt-readonly-modal>.modal-content{padding:0;overflow:visible}@keyframes modal-layer-in{0%{opacity:0}}@keyframes modal-card-in{0%{opacity:0;transform:translateY(10px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (max-width:780px){.modal-layer{height:100dvh;padding:max(18px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));background:var(--canvas);-webkit-backdrop-filter:none;backdrop-filter:none;place-items:start center;overflow:hidden}.modal:not(.receipt-readonly-modal){--modal-content-gutter:20px;width:min(100%,680px);max-height:100%;box-shadow:none;background:0 0;border-radius:0;overflow:clip}.statement-preview-modal:not(.receipt-readonly-modal){height:100%}.modal:not(.receipt-readonly-modal)>.modal-header{grid-template-columns:minmax(0,1fr);gap:13px;padding:0 4px 18px;display:grid}.modal:not(.receipt-readonly-modal)>.modal-header:has(.modal-close) h2{letter-spacing:-.04em;grid-row:2;font-size:clamp(27px,8vw,32px);line-height:1.08}.modal:not(.receipt-readonly-modal)>.modal-header .modal-close{width:auto;min-width:0;height:44px;color:var(--ink);background:0 0;border-radius:10px;grid-row:1;justify-self:start;margin-left:-4px;padding:0 8px 0 4px;font-size:16px;font-weight:600}.modal:not(.receipt-readonly-modal)>.modal-header .modal-close:hover{color:var(--ink);background:#ffffffb8}.modal:not(.receipt-readonly-modal) .modal-back-icon,.modal:not(.receipt-readonly-modal) .modal-close>span{display:block}.modal:not(.receipt-readonly-modal) .modal-close-icon{display:none}.modal:not(.receipt-readonly-modal)>.modal-content{background:#fff;border-radius:22px;padding:22px 20px;overflow:hidden auto}.modal:not(.receipt-readonly-modal):has(>.modal-footer)>.modal-content{border-bottom-right-radius:0;border-bottom-left-radius:0}.modal:not(.receipt-readonly-modal)>.modal-footer{padding-right:var(--modal-content-gutter);padding-bottom:22px;padding-left:var(--modal-content-gutter);border-radius:0 0 22px 22px}.modal .form-grid{gap:12px}.modal .form-grid :is(input,select),.modal .upload-form select,.modal .inline-form input,.modal .transaction-field-editor input,.modal .form-grid .custom-select-trigger,.modal .form-grid .category-picker-trigger{min-height:52px;font-size:16px}.modal .modal-actions{grid-template-columns:minmax(0,1fr);width:100%;margin-top:12px;display:grid}.modal .modal-actions>button{width:100%;min-width:0}.confirm-dialog{grid-template-columns:1fr;gap:14px}.confirm-dialog p{margin:0}.confirm-dialog-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:8px;display:grid}.confirm-dialog-actions>button{width:100%;min-width:0}.category-picker-layer{padding:max(18px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));background:var(--canvas);-webkit-backdrop-filter:none;backdrop-filter:none}.category-picker-dialog{height:min(82dvh,680px);box-shadow:none;border-radius:22px;padding:20px}.category-picker-dialog>header>button{border-radius:12px;width:40px;height:40px}.category-picker-search input{background:#f5f5f6;border-color:#0000;border-radius:14px;min-height:52px;font-size:16px}.category-picker-options>button{background:#f5f5f6;border-color:#0000;border-radius:14px;min-height:54px;font-size:14px}}@media (max-width:420px){.modal:not(.receipt-readonly-modal){--modal-content-gutter:16px}.modal:not(.receipt-readonly-modal)>.modal-content{border-radius:20px;padding:20px 16px}.modal:not(.receipt-readonly-modal)>.modal-footer{border-radius:0 0 20px 20px}.confirm-dialog-actions{grid-template-columns:minmax(0,1fr)}.modal .modal-actions .destructive-action{margin-right:0}}@media (prefers-reduced-motion:reduce){.modal-layer,.modal{animation:none}}
