:root{--surface-shell:color-mix(in srgb,var(--foreground) 10%,var(--card));--control-surface:color-mix(in srgb,var(--foreground) 9%,var(--card));--control-hover:color-mix(in srgb,var(--foreground) 14%,var(--card));--button:linear-gradient(0deg,var(--primary),color-mix(in srgb,var(--primary) 86%,var(--primary-foreground)));--button-hover:linear-gradient(0deg,color-mix(in srgb,var(--primary) 92%,var(--primary-foreground)),color-mix(in srgb,var(--primary) 80%,var(--primary-foreground)));--button-foreground:var(--primary-foreground);--button-edge:color-mix(in srgb,var(--foreground) 16%,transparent);--button-shadow:0 1px 2px color-mix(in srgb,var(--foreground) 14%,transparent);--button-secondary:linear-gradient(180deg,color-mix(in srgb,var(--foreground) 14%,var(--card)),var(--control-surface));--button-secondary-hover:linear-gradient(180deg,color-mix(in srgb,var(--foreground) 18%,var(--card)),var(--control-hover));--control-edge:color-mix(in srgb,var(--foreground) 12%,transparent)}.dark{--surface-shell:color-mix(in srgb,var(--foreground) 7%,var(--card));--control-surface:color-mix(in srgb,var(--foreground) 5%,var(--card));--control-hover:color-mix(in srgb,var(--foreground) 9%,var(--card));--button-edge:color-mix(in srgb,var(--foreground) 14%,transparent);--button-shadow:0 1px 2px color-mix(in srgb,var(--foreground) 12%,transparent);--button:var(--primary);--button-hover:#e2c689;--button-secondary:var(--control-surface);--button-secondary-hover:var(--control-hover);--control-edge:color-mix(in srgb,var(--foreground) 9%,transparent)}.home-grid,.home-left-stack,.home-middle-stack,.home-right-stack,.home-top-stack{gap:18px}.finance-card.tuff-finance-shell{display:flex;flex-direction:column;padding:6px;border:0;border-radius:22px;background:var(--surface-shell);box-shadow:none;gap:0}.home-distribution.tuff-finance-shell{flex:1 1 auto;min-height:0;height:100%}.tuff-finance-body{position:relative;min-width:0;min-height:0;flex:1;overflow:hidden;border-radius:16px;background:var(--card)}.tuff-finance-shell>[data-slot=surface-header]{min-height:48px;padding:6px 10px 12px 6px;gap:10px}.tuff-finance-shell>[data-slot=surface-header] h2{color:var(--foreground);font-size:13px;font-weight:550;letter-spacing:-.2px}.tuff-finance-shell>[data-slot=surface-header]>:first-child{width:30px;height:30px;border-radius:10px;background:color-mix(in srgb,var(--foreground) 6%,transparent)}.tuff-finance-shell>[data-slot=surface-header] .type-switch{margin:0;padding:3px;gap:2px}.tuff-finance-shell>[data-slot=surface-header] .type-switch>button{padding:5px 10px;font-size:11px}.home-cards>.tuff-finance-body,.home-distribution>.tuff-finance-body,.home-forecast>.tuff-finance-body,.home-investments>.tuff-finance-body,.home-market>.tuff-finance-body,.home-wealth>.tuff-finance-body{display:flex;flex-direction:column;flex:1 1 auto}.home-market .market-ticker-list,.home-wealth .home-wealth-chart{flex:1 1 auto}.home-cards .home-cards-entries{min-height:0}.home-result>.tuff-finance-body{padding:18px 18px 20px}.home-investments>.tuff-finance-body,.home-wealth>.tuff-finance-body{padding:18px 18px 0}.home-distribution>.tuff-finance-body{flex:1 1 auto;min-height:0;padding:14px 28px 18px 14px}@media (max-width:700px){.home-distribution>.tuff-finance-body{padding:18px}}.home-cards>.tuff-finance-body{padding:18px 18px 16px}.home-market>.tuff-finance-body{gap:12px;padding:18px 12px 14px}.home-forecast-body{padding:16px 18px 10px}.home-grid .home-amount{font-weight:550;letter-spacing:-1.1px}.mini-stat.tuff-stat{display:flex;flex-direction:column;align-items:stretch}.mini-stat.tuff-stat:not(:has(>[data-slot=surface-header])){min-height:144px}.mini-stat.tuff-stat.tuff-stat-with-chart{min-height:176px;overflow:visible;z-index:0}.mini-stat.tuff-stat.tuff-stat-with-chart:focus-within,.mini-stat.tuff-stat.tuff-stat-with-chart:hover{z-index:3}.mini-stat.tuff-stat.tuff-stat-with-chart>.tuff-finance-body{overflow:visible}.tuff-stat>.tuff-finance-body{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:18px}.tuff-stat:has(>[data-slot=surface-header])>.tuff-finance-body{flex:0 0 auto;gap:0;padding:12px 18px 14px}.tuff-stat:has(>[data-slot=surface-header]) .tuff-stat-value{margin:0;line-height:1.1}.tuff-stat-with-chart>.tuff-finance-body{gap:12px}.tuff-stat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.tuff-stat-heading p,.tuff-stat-hint{margin:0;font-size:12px;line-height:1.5;color:var(--muted-foreground)}.tuff-stat-chart{width:100%;height:56px;flex:1 1 auto;min-height:48px;min-width:0;display:flex;align-items:center}.tuff-stat-chart>*{display:block;width:100%;min-width:0}.tuff-stat .tuff-stat-value{font-size:clamp(24px,2.1vw,30px);line-height:1.15;font-weight:550;letter-spacing:-1px}.accounts-card>.tuff-finance-body,.full-table>.tuff-finance-body,.investment-page>.tuff-finance-body,.setup-card>.tuff-finance-body{display:flex;flex-direction:column}.accounts-card>.tuff-finance-body:has(.empty-state),.active-goals-card>.tuff-finance-body:has(.empty-state),.categories-card>.tuff-finance-body:has(.empty-state),.completed-goals-card>.tuff-finance-body:has(.empty-state),.investment-page>.tuff-finance-body:has(.empty-state),.setup-card>.tuff-finance-body:has(.empty-state){padding:8px 0 12px}.active-goals-card>.tuff-finance-body,.categories-card>.tuff-finance-body{display:flex;flex-direction:column;padding:18px}.categories-card.full-table>.tuff-finance-body,.full-table>.tuff-finance-body{padding:0}.full-table .transactions-table td:first-child,.full-table .transactions-table th:first-child{padding-left:18px}.full-table .transactions-table td:last-child,.full-table .transactions-table th:last-child{padding-right:18px}.tuff-finance-shell .category-rules-table thead th,.tuff-finance-shell .completed-goals-table thead th,.tuff-finance-shell .transactions-table thead th{background:var(--control-surface)}.category-card,.goal-card{border:0;border-radius:22px;box-shadow:inset 0 0 0 5px var(--surface-shell)}.category-card{padding:22px}.goal-card{--goal-padding:24px;--goal-ring:5px}.add-button[data-slot=button],[data-slot=button][data-variant=outline]{border-radius:999px}.add-button[data-slot=button]{height:36px;padding-inline:16px;font-size:12px}.finance-dialog [data-slot=button]{border-radius:999px}.finance-dialog [data-slot=input],.finance-dialog [data-slot=number-input-control],.finance-dialog [data-slot=textarea]{min-height:36px;border-color:transparent;border-radius:12px;background:var(--control-surface);box-shadow:none}.finance-dialog [data-slot=input]:focus-visible,.finance-dialog [data-slot=number-input-control]:focus-visible,.finance-dialog [data-slot=textarea]:focus-visible{border-color:var(--ring)}.field-select-trigger{border-color:transparent;border-radius:12px;background:var(--control-surface)}.page-heading .field-select-trigger{border-radius:999px;padding-inline:12px}.page-heading .category-filter{padding:3px 10px 3px 8px;border-radius:999px;background:var(--control-surface);min-height:0}.page-heading .category-filter-select.field-select-trigger{border-radius:999px;background:transparent;height:auto;min-height:28px;padding-inline:4px 6px}.period-picker{padding:3px;border:0;background:var(--control-surface)}.period-picker,.period-picker>.icon-button{border-radius:999px}.type-switch.motion-segments{padding:4px;gap:3px;border:0;border-radius:999px;background:var(--control-surface)}.type-switch.motion-segments .segment-indicator,.type-switch.motion-segments>button{border-radius:999px}.type-switch.motion-segments .segment-indicator{box-shadow:0 1px 3px var(--control-edge)}.finance-dialog{border-radius:24px;box-shadow:0 0 0 6px var(--surface-shell),0 24px 80px color-mix(in srgb,var(--foreground) 14%,transparent)}.clara-select-content.t-dropdown{padding:6px;border:0;border-radius:16px}.clara-select-content .clara-select-item{min-height:32px;border-radius:10px}.sidebar-search{min-height:36px;border-radius:12px;border-color:transparent;background:var(--control-surface);padding:0 12px}.sidebar-search:focus-visible,.sidebar-search:hover{background:var(--control-hover)}.sidebar .theme-switch.type-switch.motion-segments{padding:4px;gap:3px;margin:0;border:0;border-radius:999px;background:var(--control-surface)}.sidebar .theme-switch.type-switch.motion-segments .segment-indicator,.sidebar .theme-switch.type-switch.motion-segments>button{border-radius:999px}.sidebar .theme-switch.type-switch.motion-segments .segment-indicator{box-shadow:0 1px 3px var(--control-edge)}.nav-item svg{flex-shrink:0;opacity:.88}.nav-item.active svg,.nav-item:hover svg{opacity:1}@media (max-width:600px){.add-button[data-slot=button]{width:36px;height:36px;padding:0;gap:0;font-size:0}.home-grid,.home-left-stack,.home-middle-stack,.home-right-stack,.home-top-stack{gap:14px}.finance-card.tuff-finance-shell{padding:5px;border-radius:20px}.tuff-finance-shell>[data-slot=surface-header] h2{font-size:12px}.tuff-stat>.tuff-finance-body{padding:14px}.tuff-stat:has(>[data-slot=surface-header])>.tuff-finance-body{padding:10px 14px 12px}.tuff-stat .tuff-stat-value{font-size:24px}}.home-forecast .home-card-heading{margin-bottom:4px}.home-forecast .home-forecast-body{padding:16px 16px 8px}.budget-overview{flex:1;display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:12px 0 16px}.budget-gauge{position:relative;min-width:0;width:min(100%,280px);margin:0 auto}.budget-gauge>svg{display:block;width:100%;overflow:visible}.budget-gauge-value{position:absolute;inset:44% 0 8%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center}.budget-gauge-label,.budget-gauge-limit{font-size:10px;color:var(--muted-foreground)}.budget-gauge-amount{font-size:clamp(20px,1.8vw,29px);font-weight:600;letter-spacing:-.9px;white-space:nowrap}.budget-facts{flex-wrap:wrap;gap:12px 28px;width:100%}.budget-fact,.budget-facts{display:flex;justify-content:center;align-items:flex-start;min-width:0}.budget-fact{gap:8px;color:var(--muted-foreground)}.budget-fact>svg{flex-shrink:0;width:16px;height:16px;margin-top:1px}.budget-fact>div{min-width:0;display:flex;flex-direction:column;gap:2px;text-align:left}.budget-fact strong,.budget-fact>div>span{display:block;line-height:1.25}.budget-fact strong{font-size:11px;color:var(--foreground);font-weight:550}.budget-fact>div>span{font-size:9px}.budget-past-result{flex:1;padding-top:12px}.home-result-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(72px,30%);align-items:center;gap:10px}.home-result-headline{min-width:0}.home-result .home-value-line{gap:5px}.home-result .home-amount{font-size:clamp(20px,1.8vw,29px)}.tuff-chart{min-width:0;width:100%}.home-donut>.tuff-chart{position:absolute;inset:0;width:100%;height:100%;display:grid;place-items:center}.market-ticker-chart .tuff-chart{display:block}@media (max-width:600px){.budget-overview{gap:12px;padding:8px 0 12px}.budget-gauge{width:min(100%,250px)}.budget-gauge-amount{font-size:25px}.budget-fact>svg{display:none}.budget-fact strong{font-size:10px}}.dashboard-info-copy{display:grid;gap:8px;padding:4px;line-height:1.5}.dashboard-info-copy strong{font-weight:600}.dashboard-info-copy p{margin:0}.tuff-tooltip{box-shadow:0 4px 16px color-mix(in srgb,var(--foreground) 12%,transparent);transition:opacity 125ms cubic-bezier(.23,1,.32,1),scale 125ms cubic-bezier(.23,1,.32,1)}.tuff-tooltip[data-ending-style],.tuff-tooltip[data-starting-style]{opacity:0;scale:.97}@media (prefers-reduced-motion:reduce){.tuff-tooltip{transition:none}}.home-forecast .budget-pace{position:relative;z-index:1;display:flex;align-items:center;gap:10px;width:calc(100% - 16px);height:auto;min-height:66px;margin:0 8px 8px;padding:12px;border-radius:12px;color:var(--foreground);text-align:left;white-space:normal;--pace-color:var(--success)}.home-forecast .budget-bills-clear,.home-forecast .budget-bills-clear:hover,.home-forecast .budget-pace,.home-forecast .budget-pace:hover{background:var(--control-surface)}.budget-pace.is-warning{--pace-color:var(--warning)}.budget-pace.is-negative{--pace-color:var(--destructive)}.budget-pace.is-neutral{--pace-color:var(--muted-foreground)}.budget-pace.is-positive{--pace-color:var(--success)}.budget-insight{overflow:hidden}.budget-insight-slide{flex:1;min-width:0}.budget-insight-main{display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.budget-insight-nav{display:flex;flex-shrink:0;gap:2px}.budget-insight-nav .icon-button{width:28px;height:28px;border-radius:999px;color:var(--muted-foreground)}.budget-insight-nav .icon-button:hover{color:var(--foreground);background:color-mix(in srgb,var(--foreground) 6%,transparent)}.budget-pace-icon{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:9px;background:color-mix(in srgb,var(--pace-color) 12%,transparent);color:var(--pace-color)}.budget-pace-copy{flex:1;min-width:0;display:grid;gap:2px}.budget-pace-copy>strong{font-size:11px;font-weight:550;line-height:1.35}.budget-pace-copy>strong>span{color:var(--pace-color)}.budget-pace-copy>span{font-size:10px;font-weight:400;line-height:1.4;color:var(--muted-foreground)}.budget-insight .budget-pace-copy>span,.budget-insight .budget-pace-copy>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.budget-pace>svg{flex-shrink:0;color:var(--muted-foreground)}.dark [data-slot=button]:is([data-variant=default],[data-variant=primary]){background-color:var(--button);color:var(--button-foreground)}.dark [data-slot=button]:is([data-variant=default],[data-variant=primary]):hover:not(:disabled){background-color:var(--button-hover)}.dark [data-slot=button]:is([data-variant=secondary],[data-variant=outline]){background-color:var(--button-secondary)}.dark [data-slot=button]:is([data-variant=secondary],[data-variant=outline]):hover:not(:disabled){background-color:var(--button-secondary-hover)}