/* VASTELOR Visual Contract 0.10 — hand-authored, dependency-free. */
:root {
  color-scheme: light;
  --v-canvas: #f2f3f7;
  --v-canvas-deep: #eceef3;
  --v-surface-1: #ffffff;
  --v-surface-2: #f6f7f9;
  --v-surface-3: #eceef2;
  --v-surface-accent: #e1f0eb;
  --v-chrome: rgb(255 255 255 / 82%);
  --v-nav-glass: rgb(249 250 252 / 86%);
  --v-nav-active: var(--v-choice-surface);
  --v-nav-border: rgb(94 104 122 / 22%);
  --v-overlay: rgb(21 26 34 / 36%);
  --v-modal-dim: rgb(21 26 34 / 24%);
  --v-text-1: #1c2027;
  --v-balance-ink: #1b2028;
  --v-text-2: #535b66;
  --v-text-3: #666d78;
  --v-line: #dde1e8;
  --v-line-strong: #9ea6b3;
  --v-accent: #087f75;
  --v-accent-strong: #05685f;
  --v-accent-ink: #ffffff;
  --v-positive: #087866;
  --v-positive-soft: #e3f2ec;
  --v-danger: #ad4742;
  --v-danger-soft: #f8e9e6;
  --v-warning: #8a641e;
  --v-warning-soft: #f8eed7;
  --v-focus: #0a756c;
  --v-shadow-card: 0 12px 34px rgb(22 28 38 / 6%);
  --v-shadow-float: 0 24px 70px rgb(22 28 38 / 16%);
  --v-shadow-chrome: 0 12px 38px rgb(22 28 38 / 10%);
  --v-shadow-lift: 0 18px 42px rgb(22 28 38 / 12%);
  --v-shadow-control: 0 7px 18px rgb(22 28 38 / 10%);
  --v-blur-chrome: 18px;
  --v-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --v-step-1: 4px;
  --v-step-2: 8px;
  --v-step-3: 12px;
  --v-step-4: 16px;
  --v-step-5: 24px;
  --v-step-6: 32px;
  --v-step-7: 48px;
  --v-radius-control: 14px;
  --v-radius-card: 22px;
  --v-radius-panel: 28px;
  --v-radius-chrome: 24px;
  --v-touch: 48px;
  --v-choice-surface: linear-gradient(180deg,rgb(255 255 255 / 48%),rgb(255 255 255 / 10%)),rgb(98 105 117 / 15%);
  --v-choice-edge: rgb(255 255 255 / 54%);
  --v-choice-shadow: inset 0 1px 0 rgb(255 255 255 / 58%),inset 0 -1px 0 rgb(0 0 0 / 3%);
  --v-glass-sheen: linear-gradient(180deg,rgb(255 255 255 / 50%),rgb(255 255 255 / 8%) 52%,transparent);
  --v-hover-surface: rgb(0 0 0 / 4%);

  --v-content: 1320px;
  --v-shell-content: 1180px;
  --v-safe-top: env(safe-area-inset-top, 0px);
  --v-safe-right: env(safe-area-inset-right, 0px);
  --v-safe-bottom: env(safe-area-inset-bottom, 0px);
  --v-safe-left: env(safe-area-inset-left, 0px);
  --v-ease: cubic-bezier(.2,.78,.22,1);
  --v-ease-out: cubic-bezier(.2,.78,.22,1);
  --v-ease-press: cubic-bezier(.2,.8,.2,1);
  --v-motion-fast: 120ms;
  --v-motion-standard: 180ms;
  --v-motion-panel: 220ms;
  --v-motion-sheet-in: 300ms;
  --v-motion-sheet-out: 200ms;
  --v-ease-sheet-in: cubic-bezier(.18,.86,.24,1);
  --v-ease-sheet-out: cubic-bezier(.2,.65,.3,1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --v-choice-surface: linear-gradient(180deg,rgb(255 255 255 / 3%),transparent 52%,rgb(255 255 255 / 2%)),rgb(0 0 0 / 62%);
  --v-choice-edge: rgb(255 255 255 / 5%);
  --v-choice-shadow: inset 0 1px 0 rgb(255 255 255 / 5%),inset 0 -1px 0 rgb(0 0 0 / 14%);
  --v-glass-sheen: linear-gradient(180deg,rgb(255 255 255 / 11%),rgb(255 255 255 / 2%) 52%,transparent);
  --v-hover-surface: rgb(0 0 0 / 24%);

  --v-canvas: #000000;
  --v-canvas-deep: #000000;
  --v-surface-1: #1c1c1e;
  --v-surface-2: #242426;
  --v-surface-3: #2a2a2c;
  --v-surface-accent: #2b2b2d;
  --v-icon-surface: #101011;
  --v-chrome: rgb(15 15 16 / 78%);
  --v-nav-glass: rgb(35 35 37 / 90%);
  --v-nav-active: var(--v-choice-surface);
  --v-nav-border: rgb(255 255 255 / 14%);
  --v-overlay: rgb(0 0 0 / 62%);
  --v-modal-dim: rgb(0 0 0 / 40%);
  --v-text-1: #f4f4f4;
  --v-balance-ink: #f4f4f4;
  --v-text-2: #b7b7b7;
  --v-text-3: #969696;
  --v-line: #363636;
  --v-line-strong: #767676;
  --v-accent: #00a48b;
  --v-accent-strong: #00a48b;
  --v-accent-ink: #072c25;
  --v-positive: #00a48b;
  --v-positive-soft: #142b25;
  --v-danger: #e18388;
  --v-danger-soft: #322327;
  --v-warning: #f1c46a;
  --v-warning-soft: #352f22;
  --v-focus: #bcbcbc;
  --v-shadow-card: 0 14px 38px rgb(0 0 0 / 18%);
  --v-shadow-float: 0 24px 64px rgb(0 0 0 / 34%);
  --v-shadow-chrome: 0 14px 38px rgb(0 0 0 / 24%);
  --v-shadow-lift: 0 18px 50px rgb(0 0 0 / 22%);
  --v-shadow-control: 0 7px 18px rgb(0 0 0 / 28%);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; min-height: 100%; background-color: var(--v-canvas); scrollbar-gutter: stable; }
body { min-height: 100vh; min-height: 100dvh; margin: 0; overflow-x: clip; background: linear-gradient(180deg,var(--v-canvas-deep),var(--v-canvas) 220px); color: var(--v-text-1); font-family: var(--v-font); font-synthesis: none; text-rendering: optimizeLegibility; }
:root[data-theme="dark"] body { background: linear-gradient(180deg,var(--v-canvas-deep),var(--v-canvas) 220px); }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:not(:disabled), a { cursor: pointer; }
img, svg { display: block; }
.v-icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.v-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html.v-dialog-open body { overflow: hidden; }
:where(button, a, input, select, textarea):focus { outline: none; }
:where(button, a, input, select, textarea):focus-visible { outline: 3px solid color-mix(in srgb,var(--v-focus) 84%,transparent); outline-offset: 3px; }

.v-tabular { font-variant-numeric: tabular-nums; }
.v-eyebrow { margin: 0; color: var(--v-text-2); font-size: 12px; font-weight: 600; letter-spacing: .095em; line-height: 1.3; text-transform: uppercase; }
.v-eyebrow--spaced { margin-bottom: 12px; }
.v-positive { color: var(--v-positive); }
.v-danger { color: var(--v-danger); }
.v-display { margin: 0; font-size: clamp(40px,6vw,64px); font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.v-page-title { margin: 0; font-size: clamp(30px,4vw,46px); font-weight: 600; letter-spacing: -.02em; line-height: 1.06; }
.v-section-title { margin: 0; font-size: clamp(22px,2.5vw,30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.13; }
.v-card-title { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.018em; line-height: 1.25; }
.v-body { margin: 0; color: var(--v-text-2); font-size: 16px; line-height: 1.55; }
.v-small { margin: 0; color: var(--v-text-2); font-size: 13px; line-height: 1.45; }

.v-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--v-text-1); text-decoration: none; }
.v-brand__mark { width: 30px; height: 30px; flex: 0 0 auto; fill: none; stroke: var(--v-accent); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.v-brand__name { overflow: hidden; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-overflow: ellipsis; white-space: nowrap; }

.v-button, .v-icon-button, .v-segmented button, .v-nav-item {
  border: 0;
  transition: transform var(--v-motion-standard) var(--v-ease-out), background-color var(--v-motion-fast) ease, border-color var(--v-motion-fast) ease, color var(--v-motion-fast) ease, box-shadow var(--v-motion-standard) var(--v-ease-out), opacity var(--v-motion-fast) ease;
}
.v-button { min-height: var(--v-touch); display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--v-radius-control); font-weight: 600; line-height: 1.1; text-decoration: none; }
.v-button__label { min-width: 0; white-space: nowrap; }
.v-button--primary { background: var(--v-accent); color: var(--v-accent-ink); }
.v-button--primary:hover, .v-button--primary.is-hover { background: var(--v-accent-strong); }
.v-button--primary:active, .v-button--primary.is-pressed { background: color-mix(in srgb,var(--v-accent-strong) 88%,var(--v-canvas-deep)); }
.v-button--secondary { border-color: color-mix(in srgb,var(--v-accent) 52%,var(--v-line)); background: color-mix(in srgb,var(--v-accent) 10%,var(--v-surface-1)); color: var(--v-accent-strong); }
.v-button--quiet { background: transparent; color: var(--v-accent-strong); }
.v-button--danger { border-color: color-mix(in srgb,var(--v-danger) 44%,var(--v-line)); background: var(--v-danger-soft); color: var(--v-danger); }
.v-button--danger:hover, .v-button--danger.is-hover { background: color-mix(in srgb,var(--v-danger) 14%,var(--v-surface-1)); }
.v-button.is-hover, .v-icon-button.is-hover {  transform: translateY(-1px); }
.v-button:active, .v-button.is-pressed, .v-icon-button:active, .v-nav-item:active { transform: translateY(0) scale(.975); transition-duration: 90ms; transition-timing-function: var(--v-ease-press); }
.v-button:disabled, .v-button.is-disabled { opacity: .44; pointer-events: none; }
.v-button.is-loading { position: relative; color: transparent; pointer-events: none; }
.v-button.is-loading::after { width: 18px; height: 18px; border: 2px solid color-mix(in srgb,var(--v-accent-ink) 38%,transparent); border-top-color: var(--v-accent-ink); border-radius: 50%; content: ""; animation: v-spin .8s linear infinite; }
@keyframes v-spin { to { transform: rotate(1turn); } }

.v-icon-button { width: var(--v-touch); height: var(--v-touch); display: inline-grid; place-items: center; flex: 0 0 var(--v-touch); border: 1px solid var(--v-line-strong); border-radius: var(--v-radius-control); background: var(--v-surface-1); color: var(--v-text-2); }
.v-icon-button:hover, .v-icon-button.is-hover {   color: var(--v-text-1); }
.v-icon-button--accent { border-color: color-mix(in srgb,var(--v-accent) 45%,var(--v-line)); background: var(--v-surface-accent); color: var(--v-accent-strong); }

.v-segmented { min-width: 0; display: grid; grid-auto-columns: minmax(0,1fr); grid-auto-flow: column; gap: 4px; padding: 4px; border: 1px solid var(--v-line-strong); border-radius: calc(var(--v-radius-control) + 4px); background: var(--v-surface-2); }
.v-segmented button { min-width: 0; min-height: 40px; padding: 6px 15px; border-radius: var(--v-radius-control); background: transparent; color: var(--v-text-2); font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }

.v-field { display: grid; gap: 8px; min-width: 0; }
.v-field__label { color: var(--v-text-2); font-size: 13px; font-weight: 600; }
.v-field__hint { color: var(--v-text-3); font-size: 12px; line-height: 1.4; }
.v-field__hint--error { color: var(--v-danger); }
.v-field__hint--success { color: var(--v-positive); }
.v-input-wrap { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--v-line-strong); border-radius: var(--v-radius-control); background: var(--v-surface-1); color: var(--v-text-2); }
.v-input-wrap:focus-within { border-color: var(--v-focus); box-shadow: 0 0 0 3px color-mix(in srgb,var(--v-focus) 14%,transparent); }
.v-input-wrap input, .v-input-wrap select, .v-input-wrap textarea { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--v-text-1); }
.v-input-wrap input::placeholder, .v-input-wrap textarea::placeholder { color: var(--v-text-3); opacity: 1; }
.v-input-wrap--amount { min-height: 68px; }
.v-input-wrap--amount input { font-size: 28px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.v-input-wrap--error { border-color: var(--v-danger); }
.v-input-wrap--success { border-color: var(--v-positive); }
.v-field--disabled { opacity: .48; }

.v-badge { min-height: 30px; width: fit-content; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid var(--v-line); border-radius: 999px; color: var(--v-text-2); font-size: 12px; font-weight: 600; letter-spacing: .035em; }
.v-badge--success { border-color: color-mix(in srgb,var(--v-positive) 55%,var(--v-line)); background: var(--v-positive-soft); color: var(--v-positive); }
.v-badge--accent { border-color: color-mix(in srgb,var(--v-accent) 42%,var(--v-line)); background: var(--v-surface-accent); color: var(--v-accent-strong); }

.v-surface { border: 1px solid transparent; border-radius: var(--v-radius-card); }
.v-surface--base { background: var(--v-surface-1); }
.v-surface--section { border-color: color-mix(in srgb,var(--v-line) 72%,transparent); background: var(--v-surface-1); box-shadow: var(--v-shadow-card); }
.v-surface--interactive { border-color: var(--v-line); background: var(--v-surface-2); }
.v-surface--floating { border-color: color-mix(in srgb,var(--v-line) 84%,transparent); background: var(--v-surface-2); box-shadow: var(--v-shadow-float); }
.v-interactive-surface { transition: transform var(--v-motion-standard) var(--v-ease-out), border-color var(--v-motion-fast) ease, box-shadow var(--v-motion-standard) var(--v-ease-out), background-color var(--v-motion-fast) ease; }

.v-list { margin: 0; padding: 0; list-style: none; }
.v-list-row { width: 100%; min-height: 64px; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--v-line); background: transparent; color: inherit; text-align: left; transition: transform var(--v-motion-standard) var(--v-ease-out), border-color var(--v-motion-fast) ease, background-color var(--v-motion-fast) ease, box-shadow var(--v-motion-standard) var(--v-ease-out); }
.v-list-row:last-child { border-bottom: 0; }
.v-list-row__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--v-surface-3); color: var(--v-accent-strong); }
.v-list-row__copy { min-width: 0; display: grid; gap: 2px; }
.v-list-row__copy strong { overflow: hidden; font-size: 15px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.v-list-row__copy small { min-width: 0; overflow: hidden; color: var(--v-text-2); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.v-list-row__value { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-list-row__value--positive { color: var(--v-positive); }
.v-list-row__value--negative { color: var(--v-danger); }

.v-balance-card { container-type: inline-size; padding: clamp(22px,2.5vw,28px); text-align: left; }
.v-balance-card__hero,.v-balance-card__primary-group,.v-balance-card__primary,.v-balance-card__stats { min-width: 0; }
.v-balance-card__hero { width: 100%; display: grid; align-content: center; gap: 0; }
.v-balance-card__topline { position: relative; min-height: 19px; display: flex; align-items: center; padding-inline: 2px; }
.v-balance-card__currency { position: absolute; z-index: 2; top: -12px; right: -6px; min-width: 62px; min-height: 44px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; padding: 4px 6px; border: 0; border-radius: 10px; background: transparent; color: var(--v-text-2); font-size: 13px; font-weight: 600; transition: color var(--v-motion-fast) ease,background-color var(--v-motion-fast) ease,transform var(--v-motion-standard) var(--v-ease-out); }
.v-balance-card__currency .v-icon { width: 14px; height: 14px; transform: rotate(90deg); }
.v-balance-card__primary-group { display: grid; justify-items: center; }
.v-balance-card__primary { min-width: 0; width: 100%; display: grid; justify-items: center; padding: 0 2px; border: 0; background: transparent; color: inherit; text-align: center; }
.v-balance-card__amount { min-width: 0; width: 100%; max-width: 100%; display: flex; align-items: baseline; justify-content: center; margin: 2px 0 0; white-space: nowrap; transition: transform var(--v-motion-standard) var(--v-ease-out),color var(--v-motion-fast) ease; }
.v-balance-card__amount strong { min-width: 0; color: var(--v-balance-ink); font-size: clamp(40px,10cqi,48px); font-weight: 500; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.v-balance-card__amount.is-long strong { font-size: clamp(34px,8.7cqi,43px); }
.v-balance-card__amount.is-very-long strong { font-size: clamp(29px,7.4cqi,38px); }
.v-balance-period { min-height: 29px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 3px 7px; border: 0; border-radius: 9px; background: transparent; color: var(--v-text-2); font-size: 10px; font-weight: 600; letter-spacing: .075em; line-height: 1.15; text-transform: uppercase; transition: color var(--v-motion-fast) ease,background-color var(--v-motion-fast) ease,transform var(--v-motion-standard) var(--v-ease-out); }
.v-balance-period .v-icon { width: 15px; height: 15px; }
.v-balance-card__stats { width: min(100%,390px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0 auto; }
.v-stat { min-width: 0; min-height: 49px; display: grid; justify-items: center; align-content: center; gap: 3px; padding: 3px 8px; border: 1px solid transparent; border-radius: 12px; background: transparent; text-align: center; transition: transform var(--v-motion-standard) var(--v-ease-out),background-color var(--v-motion-fast) ease,border-color var(--v-motion-fast) ease; }
.v-stat--expense { position: relative; }
.v-stat--expense::before { position: absolute; top: 7px; bottom: 7px; left: -5px; width: 1px; background: var(--v-line); content: ""; }
.v-stat span { color: var(--v-text-2); font-size: 12px; }
.v-stat strong { max-width: 100%; overflow: hidden; font-size: clamp(18px,5cqi,23px); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.v-goal-create { min-height: 40px; display: inline-flex; width: fit-content; margin: 2px auto 0; padding-inline: 8px; font-size: 13px; }
.v-goal-create .v-icon { width: 17px; height: 17px; }

@container (min-width: 500px) {
  .v-balance-card__amount strong { font-size: clamp(42px,8.4cqi,48px); }
  .v-balance-card__amount.is-long strong { font-size: clamp(37px,7.5cqi,43px); }
  .v-balance-card__amount.is-very-long strong { font-size: clamp(32px,6.5cqi,38px); }
  .v-stat strong { font-size: clamp(20px,4.2cqi,23px); }
}

.v-action-pair { width: min(100%,var(--v-action-group-width,424px)); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-inline: auto; }
.v-action-pair .v-button { min-width: 0; padding-inline: 16px; }
.v-action-pair.is-stacked { width: min(100%,360px); grid-template-columns: minmax(0,1fr); }
.v-action-pair .v-button--income { border-color: color-mix(in srgb,var(--v-positive) 50%,var(--v-line)); background: color-mix(in srgb,var(--v-positive) 9%,var(--v-surface-1)); color: var(--v-positive); }
.v-action-pair .v-button--expense { border-color: color-mix(in srgb,var(--v-danger) 40%,var(--v-line)); background: color-mix(in srgb,var(--v-danger) 7%,var(--v-surface-1)); color: var(--v-danger); }

.v-goal-card { position: relative; min-height: 220px; display: grid; grid-template-columns: minmax(0,260px) 160px; justify-content: center; gap: 28px; align-items: center; padding: 24px 26px; overflow: hidden; transition: border-color var(--v-motion-fast) ease,background-color var(--v-motion-fast) ease,box-shadow var(--v-motion-standard) var(--v-ease-out); }
.v-goal-card__copy { position: relative; min-width: 0; display: grid; align-content: center; gap: 7px; }
.v-goal-card__copy > :not(.v-goal-card__details-hit) { position: relative; z-index: 1; pointer-events: none; }
.v-goal-card__details-hit { position: absolute; z-index: 0; inset: -12px -10px; width: calc(100% + 20px); height: calc(100% + 24px); padding: 0; border: 0; border-radius: 16px; background: transparent; }
.v-goal-card__details-hit:focus-visible { outline: 3px solid color-mix(in srgb,var(--v-focus) 84%,transparent); outline-offset: 2px; }
.v-goal-card__name { margin: 2px 0 0; overflow: hidden; display: -webkit-box; color: var(--v-text-1); font-size: clamp(24px,2.7vw,30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.v-goal-card__amount { margin: 0; color: var(--v-text-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.v-goal-card__amount strong { color: var(--v-accent-strong); }
.v-goal-card__pace { min-height: 18px; margin: 0; color: var(--v-text-3); font-size: 12px; line-height: 1.4; }
.v-goal-card__visual { position: relative; min-width: 0; display: grid; place-items: center; align-self: center; padding-bottom: 26px; }
.v-goal-card__visual-button { position: relative; z-index: 2; width: 160px; padding: 0 0 26px; border: 0; border-radius: 20px; background: transparent; color: inherit; transition: transform var(--v-motion-standard) var(--v-ease-out); }
.v-goal-card__visual-button:active, .v-popover__option:active { transform: scale(.975); transition-duration: 90ms; }
.v-goal-card__art { position: relative; width: 160px; aspect-ratio: 1; transition: transform var(--v-motion-standard) var(--v-ease-out); }
.v-goal-card__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: translateX(var(--v-art-x,0)) translateY(var(--v-art-y,0)) scale(var(--v-art-scale,1)); transform-origin: center; }
.v-goal-card__art--vacation { --v-art-x: 0%; --v-art-y: 0%; --v-art-scale: 1; }
.v-goal-card__art img:first-child { opacity: .22; filter: grayscale(1) saturate(.08) brightness(.8) contrast(.55); }
:root[data-theme="dark"] .v-goal-card__art img:first-child { opacity: .18; filter: grayscale(1) saturate(.05) brightness(.48) contrast(.65); }
.v-goal-card__art img:last-child { clip-path: inset(40% 0 0); }
.v-goal-card__art[hidden] { display: none; }
.v-goal-card__visual-percent { position: absolute; left: 50%; bottom: 0; min-width: 58px; padding: 6px 10px; border: 1px solid color-mix(in srgb,var(--v-accent) 18%,var(--v-line)); border-radius: 999px; background: color-mix(in srgb,var(--v-surface-1) 94%,var(--v-canvas)); color: var(--v-accent-strong); font-size: 18px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; transform: translateX(-50%); }
.v-goal-card__percent { color: var(--v-accent-strong); font-size: clamp(42px,6vw,64px); font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.v-goal-card--no-image { min-height: 146px; grid-template-columns: minmax(0,1fr) auto; justify-content: stretch; }
.v-goal-card--no-image .v-goal-card__visual { align-self: center; padding-left: 18px; border-left: 1px solid var(--v-line); }
.v-goal-card--no-image .v-goal-card__visual-button { min-height: 72px; padding: 0; display: grid; place-items: center; }
.v-goal-card--no-image .v-goal-card__visual-percent { position: relative; inset: auto; transform: none; }
.v-goal-card--complete { border-color: color-mix(in srgb,var(--v-positive) 42%,var(--v-line)); }
.v-goal-card__over { margin: 0; color: var(--v-positive); font-size: 12px; font-weight: 600; }
.v-goal-card__next { position: relative !important; z-index: 3 !important; width: fit-content; min-height: 44px; margin-top: 5px; padding: 6px 12px; pointer-events: auto !important; font-size: 12px; }
.v-goal-card__next[hidden] { display: none; }
.v-goal-card--no-image .v-goal-card__visual-button { width: 118px; }
.v-goal-card--no-image .v-goal-card__visual { border: 0; }

.v-panel { border: 1px solid var(--v-line); border-radius: var(--v-radius-panel); background: var(--v-surface-2); box-shadow: var(--v-shadow-float); }
.v-panel__header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 10px 22px; }
.v-panel__body { padding: 4px 22px 22px; }
.v-panel__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 0 22px 22px; }
.v-popover { width: min(340px,100%); padding: 10px; border: 1px solid var(--v-line); border-radius: 20px; background: var(--v-chrome); box-shadow: var(--v-shadow-float); -webkit-backdrop-filter: blur(var(--v-blur-chrome)) saturate(1.08); backdrop-filter: blur(var(--v-blur-chrome)) saturate(1.08); }
.v-popover__option { min-height: 48px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px; border: 0; border-radius: 13px; background: transparent; text-align: left; transition: transform var(--v-motion-standard) var(--v-ease-out), background-color var(--v-motion-fast) ease, color var(--v-motion-fast) ease; }
.v-alert { width: min(400px,100%); padding: 22px; border: 1px solid var(--v-line); border-radius: 24px; background: var(--v-surface-2); box-shadow: var(--v-shadow-float); }
.v-alert .v-card-title { margin-bottom: 7px; }
.v-alert__actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 22px; }
.v-sheet { width: min(560px,100%); padding: 8px 18px calc(18px + var(--v-safe-bottom)); border: 1px solid var(--v-line); border-radius: 30px 30px 22px 22px; background: var(--v-surface-2); box-shadow: var(--v-shadow-float); }
.v-sheet__handle { width: 42px; height: 5px; margin: 2px auto 8px; border-radius: 999px; background: var(--v-line-strong); }

.v-lab-toolbar { position: sticky; z-index: 20; top: 0; min-height: calc(68px + var(--v-safe-top)); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: calc(10px + var(--v-safe-top)) max(18px,var(--v-safe-right)) 10px max(18px,var(--v-safe-left)); border-bottom: 1px solid color-mix(in srgb,var(--v-line) 84%,transparent); background: var(--v-chrome); -webkit-backdrop-filter: blur(var(--v-blur-chrome)) saturate(1.08); backdrop-filter: blur(var(--v-blur-chrome)) saturate(1.08); }
.v-lab-toolbar__actions { display: flex; align-items: center; gap: 8px; }
.v-lab-toolbar__status { display: none; color: var(--v-text-2); font-size: 12px; }
.v-lab-page { width: min(100%,var(--v-content)); margin: 0 auto; padding: clamp(28px,5vw,68px) clamp(16px,4vw,44px) 90px; }
.v-lab-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: end; padding-bottom: clamp(32px,6vw,70px); }
.v-lab-hero__copy { max-width: 850px; display: grid; gap: 14px; }
.v-lab-hero .v-body { max-width: 720px; }
.v-lab-hero__meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.v-lab-section { display: grid; gap: 20px; padding: clamp(30px,5vw,58px) 0; border-top: 1px solid var(--v-line); }
.v-lab-section__heading { max-width: 760px; display: grid; gap: 8px; }
.v-grid { display: grid; gap: 16px; }
.v-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.v-grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.v-grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.v-demo { min-width: 0; padding: 20px; border: 1px solid var(--v-line); border-radius: var(--v-radius-card); background: var(--v-surface-1); }
.v-demo__label { margin: 0 0 15px; color: var(--v-text-3); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.v-demo__stack { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.v-demo__stack--spaced { margin-top: 16px; }
.v-demo__form { display: grid; gap: 16px; }
.v-type-specimen { display: grid; gap: 18px; }
.v-type-row { display: grid; grid-template-columns: 118px minmax(0,1fr); align-items: baseline; gap: 20px; }
.v-type-row > span { color: var(--v-text-3); font-size: 12px; }
.v-swatches { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.v-swatch { min-width: 0; display: grid; gap: 9px; color: var(--v-text-2); font-size: 11px; }
.v-swatch::before { min-height: 76px; border: 1px solid var(--v-line); border-radius: 16px; background: var(--swatch); content: ""; }
.v-swatch--canvas { --swatch: var(--v-canvas); }
.v-swatch--surface-1 { --swatch: var(--v-surface-1); }
.v-swatch--surface-2 { --swatch: var(--v-surface-2); }
.v-swatch--surface-3 { --swatch: var(--v-surface-3); }
.v-swatch--accent { --swatch: var(--v-surface-accent); }
.v-token-line { display: flex; flex-wrap: wrap; gap: 8px; }
.v-space-token { display: inline-flex; align-items: center; gap: 7px; color: var(--v-text-2); font-size: 12px; }
.v-space-token::before { width: var(--size); height: var(--size); max-width: 48px; max-height: 48px; border-radius: 4px; background: var(--v-surface-accent); content: ""; }
.v-space-token--4 { --size: 4px; }
.v-space-token--8 { --size: 8px; }
.v-space-token--12 { --size: 12px; }
.v-space-token--16 { --size: 16px; }
.v-space-token--24 { --size: 24px; }
.v-space-token--32 { --size: 32px; }
.v-space-token--48 { --size: 48px; }
.v-overlay-board { min-height: 520px; position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.7fr); gap: 24px; align-items: center; padding: clamp(18px,4vw,42px); overflow: hidden; border: 1px solid var(--v-line); border-radius: 30px; background: linear-gradient(150deg,var(--v-canvas-deep),var(--v-canvas)); }
.v-overlay-board::before { position: absolute; inset: 0; background: var(--v-overlay); content: ""; }
.v-overlay-board > * { position: relative; z-index: 1; }
.v-overlay-board__side { display: grid; gap: 16px; }
.v-long-copy { display: grid; gap: 14px; }
.v-long-copy__row { padding: 16px; border: 1px solid var(--v-line); border-radius: 16px; background: var(--v-surface-2); }
.v-long-copy__row span { display: block; margin-bottom: 6px; color: var(--v-text-3); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.v-shell-page { min-height: 100dvh; background-color: var(--v-canvas); overscroll-behavior-y: none; }
.v-app-shell { min-height: 100dvh; display: grid; grid-template-columns: 96px minmax(0,1fr); }
.v-side-rail { position: sticky; z-index: 20; top: 0; height: 100dvh; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 8px; border-right: 1px solid color-mix(in srgb,var(--v-line) 68%,transparent); background: color-mix(in srgb,var(--v-chrome) 82%,var(--v-canvas)); -webkit-backdrop-filter: blur(8px) saturate(1.04); backdrop-filter: blur(8px) saturate(1.04); }
.v-side-rail .v-brand__name { display: none; }
.v-side-rail__nav { width: 100%; display: grid; gap: 5px; margin-top: 10px; }
.v-nav-item { min-height: 58px; min-width: 0; display: grid; place-items: center; align-content: center; gap: 4px; padding: 6px 3px; border-radius: 16px; background: transparent; color: var(--v-text-2); text-decoration: none; }
.v-nav-item span { max-width: 100%; overflow: hidden; display: -webkit-box; font-size: 10px; font-weight: 500; line-height: 1.08; text-align: center; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.v-nav-item.is-active { background: var(--v-surface-accent); color: var(--v-accent-strong); }
.v-app-main { min-width: 0; }
.v-app-topbar { position: relative; z-index: 15; width: min(calc(100% - 48px),var(--v-shell-content)); min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 auto; padding: 16px 0 0; background: transparent; }
.v-app-topbar > .v-brand { display: none; }
.v-app-topbar__date { color: var(--v-text-3); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .035em; }
.v-app-topbar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.v-sign-in { color: var(--v-accent-strong); }
.v-app-content { width: min(calc(100% - 48px),var(--v-shell-content)); margin: 0 auto; padding: 14px 0 64px; }
.v-money-layout { min-width: 0; display: grid; gap: 18px; align-items: start; }

/* The balance module follows one adaptive hierarchy at every width. */
.v-overview { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.v-balance-cluster { min-width: 0; min-height: 236px; display: grid; grid-template-rows: minmax(0,1fr) auto; gap: 7px; padding: 13px 20px 14px; }
.v-overview .v-balance-card { min-height: 0; display: grid; align-content: center; padding: 0; text-align: center; }
.v-overview .v-balance-card__hero { width: 100%; }
.v-overview .v-action-pair { gap: 16px; }
.v-overview .v-action-pair .v-button { min-height: 50px; }
.v-overview > .v-goal-card { min-height: 236px; grid-template-columns: minmax(220px,280px) 176px; justify-content: center; gap: 20px; padding: 16px 24px; }
.v-overview > .v-goal-card .v-goal-card__copy { align-content: center; }
.v-overview > .v-goal-card .v-goal-card__name { font-size: clamp(32px,2.7vw,37px); }
.v-overview > .v-goal-card .v-goal-card__amount { font-size: 15px; }
.v-overview > .v-goal-card .v-goal-card__pace { font-size: 13px; }
.v-overview > .v-goal-card .v-goal-card__visual,
.v-overview > .v-goal-card .v-goal-card__visual-button,
.v-overview > .v-goal-card .v-goal-card__art { width: 176px; }

.v-breakdown-card { min-width: 0; min-height: 306px; display: flex; flex-direction: column; padding: 24px 26px 20px; }
.v-breakdown-card__header { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.v-breakdown-card__header > div:first-child { min-width: 150px; display: grid; gap: 7px; }
.v-breakdown-card__total { font-size: 23px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.v-breakdown-tabs { min-width: 230px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; padding: 3px; border: 1px solid var(--v-line); border-radius: 14px; background: var(--v-surface-2); }
.v-breakdown-tabs button { min-width: 0; min-height: 38px; padding: 5px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--v-text-2); font-size: 12px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; transition: background-color var(--v-motion-fast) ease,color var(--v-motion-fast) ease,transform var(--v-motion-standard) var(--v-ease-out); }
.v-breakdown-list { min-height: 0; display: grid; margin-top: 12px; }
.v-breakdown-row { min-width: 0; min-height: 42px; display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 5px 4px; border: 0; border-bottom: 1px solid color-mix(in srgb,var(--v-line) 76%,transparent); background: transparent; color: inherit; text-align: left; transition: background-color var(--v-motion-fast) ease,border-color var(--v-motion-fast) ease; }
.v-breakdown-row:last-child { border-bottom: 0; }
.v-breakdown-row__icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--v-surface-3); color: var(--v-accent-strong); }
.v-breakdown-row__icon .v-icon { width: 17px; height: 17px; }
.v-breakdown-row__name { min-width: 0; overflow: hidden; color: var(--v-text-2); font-size: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.v-breakdown-row__amount { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-breakdown-card__all { min-height: 38px; align-self: flex-end; margin: auto -8px -8px 0; padding-inline: 10px; font-size: 13px; }
.v-breakdown-card__all .v-icon,.v-breakdown-dialog__all .v-icon { width: 17px; height: 17px; }
.v-money-layout:is([data-goal-state="hidden"],[data-goal-state="none"]) .v-overview > .v-goal-card { display: none; }
.v-money-layout[data-secondary-state="empty"] .v-overview { grid-template-columns: minmax(0,560px); justify-content: center; }

.v-insight-card { min-width: 0; min-height: 236px; display: grid; align-content: center; gap: 12px; padding: 17px 22px; }
.v-insight-card__header { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.v-insight-card__header > div { min-width: 0; display: grid; gap: 5px; }
.v-insight-card__period-heading { margin: 0; color: var(--v-text-1); font-size: clamp(16px,1.45vw,18px); font-weight: 600; letter-spacing: -.012em; line-height: 1.2; }
.v-insight-card__result { overflow: hidden; font-size: clamp(26px,2.5vw,32px); font-weight: 600; letter-spacing: -.02em; line-height: 1.06; text-overflow: ellipsis; white-space: nowrap; }
.v-insight-card__caption { color: var(--v-text-2); font-size: 12px; }
.v-insight-card__details { min-height: 40px; margin: -6px -9px 0 0; padding-inline: 9px; font-size: 13px; }
.v-insight-card__details .v-icon { width: 17px; height: 17px; }
.v-balance-flow { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 18px minmax(0,1fr); align-items: center; gap: 9px; padding: 10px 12px; border-radius: 15px; background: color-mix(in srgb,var(--v-surface-3) 58%,transparent); }
.v-balance-flow > div { min-width: 0; display: grid; gap: 2px; }
.v-balance-flow > div:last-child { text-align: right; }
.v-balance-flow span { color: var(--v-text-3); font-size: 10px; }
.v-balance-flow strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.v-balance-flow > .v-icon { width: 18px; height: 18px; color: var(--v-text-3); }
.v-cashflow-ratio { --v-income-share: 64%; --v-expense-share: 36%; min-width: 0; display: grid; gap: 8px; }
.v-cashflow-ratio[data-period-ratio="week"] { --v-income-share: 57%; --v-expense-share: 43%; }
.v-cashflow-ratio[data-period-ratio="month"] { --v-income-share: 64%; --v-expense-share: 36%; }
.v-cashflow-ratio[data-period-ratio="all"] { --v-income-share: 63%; --v-expense-share: 37%; }
.v-cashflow-ratio__labels { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--v-text-3); font-size: 11px; }
.v-cashflow-ratio__labels span { min-width: 0; }
.v-cashflow-ratio__labels span:last-child { text-align: right; }
.v-cashflow-ratio__labels strong { color: var(--v-text-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.v-cashflow-ratio__track { height: 7px; display: grid; grid-template-columns: var(--v-income-share) var(--v-expense-share); overflow: hidden; border-radius: 999px; background: var(--v-surface-3); }
.v-cashflow-ratio__income { background: var(--v-positive); }
.v-cashflow-ratio__expense { background: color-mix(in srgb,var(--v-danger) 72%,var(--v-surface-3)); }
.v-insight-card__facts { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; }
.v-insight-card__facts > div { min-width: 0; display: grid; gap: 4px; padding-top: 9px; border-top: 1px solid var(--v-line); }
.v-insight-card__facts dt { color: var(--v-text-3); font-size: 11px; }
.v-insight-card__facts dd { min-width: 0; margin: 0; overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.v-insight-card__facts--wide { grid-template-columns: repeat(2,minmax(0,1fr)); }
.v-insight-card__facts--three { grid-template-columns: repeat(3,minmax(0,1fr)); }

.v-activity-card { min-width: 0; width: 100%; margin-inline: auto; padding: 4px 0 0; }
.v-activity-card__heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 4px 13px; }
.v-activity-card__all-link { display: none; }
.v-activity-card .v-list--overview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px 12px; }
.v-activity-card .v-list--overview > li { min-width: 0; }
.v-activity-extra { display: none; }
.v-activity-card .v-list--overview .v-list-row { min-height: 68px; padding: 8px 14px; border: 1px solid transparent; border-radius: 16px; background: color-mix(in srgb,var(--v-surface-1) 88%,var(--v-canvas)); box-shadow: 0 7px 20px rgb(23 58 62 / 4%); }
:root[data-theme="dark"] .v-activity-card .v-list--overview .v-list-row { background: color-mix(in srgb,var(--v-surface-1) 92%,var(--v-canvas)); box-shadow: 0 7px 20px rgb(0 0 0 / 12%); }
.v-activity-card .v-list-row__copy strong { display: -webkit-box; overflow: hidden; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.v-list-row--more { grid-template-columns: 44px minmax(0,1fr) 22px; color: var(--v-accent-strong); }
.v-list-row__chevron { width: 18px; height: 18px; justify-self: end; }
.v-bottom-nav { display: none; }

.v-breakdown-dialog { width: min(460px,calc(100% - 32px)); max-height: min(720px,calc(100dvh - 32px)); padding: 0; border: 0; overflow: visible; background: transparent; color: var(--v-text-1); opacity: 0; transform: translateY(8px) scale(.985); transform-origin: var(--v-panel-origin,50% 50%); transition: opacity var(--v-motion-standard) ease,transform var(--v-motion-panel) var(--v-ease-out); }
.v-breakdown-dialog[open].is-visible { opacity: 1; transform: translateY(0) scale(1); }
.v-breakdown-dialog::backdrop { background: transparent; opacity: 1; transition: none; }
.v-breakdown-dialog.is-visible::backdrop { opacity: 1; }
.v-breakdown-dialog__surface { max-height: min(720px,calc(100dvh - 32px)); overflow: auto; overscroll-behavior: contain; padding: 24px; border: 1px solid color-mix(in srgb,var(--v-line) 88%,var(--v-surface-1)); border-radius: 25px; background: var(--v-surface-1); box-shadow: var(--v-shadow-float); }
.v-breakdown-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid var(--v-line); }
.v-breakdown-dialog__header .v-eyebrow:not([data-period-label]) { display: none; }
.v-breakdown-dialog__header > div { display: grid; gap: 5px; }
.v-breakdown-dialog__header .v-eyebrow { color: var(--v-accent-strong); }
.v-breakdown-dialog__header .v-card-title { font-size: clamp(20px,4.8vw,23px); line-height: 1.2; }
.v-breakdown-dialog__header .v-icon-button { border-color: var(--v-line); background: var(--v-surface-2); box-shadow: none; }
.v-balance-edit-dialog { width: min(440px,calc(100% - 32px)); }
.v-breakdown-dialog__total { display: block; margin: 18px 0 14px; font-size: 29px; font-weight: 600; letter-spacing: -.02em; }
.v-breakdown-dialog .v-breakdown-tabs { width: 100%; }
.v-breakdown-dialog .v-breakdown-list { margin-top: 14px; }
.v-breakdown-dialog .v-breakdown-row { min-height: 50px; }
.v-breakdown-dialog__all { width: 100%; margin-top: 14px; }
.v-period-tabs { width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; margin-top: 18px; padding: 3px; border: 1px solid var(--v-line); border-radius: 14px; background: var(--v-surface-2); }
.v-period-tabs button { min-width: 0; min-height: 40px; padding: 5px 7px; border: 0; border-radius: 10px; background: transparent; color: var(--v-text-2); font-size: 12px; font-weight: 600; line-height: 1.15; }
[data-calendar-status]:not([hidden]) { margin-top: 10px; }
.v-dynamics-summary { display: grid; justify-items: center; gap: 5px; margin-top: 15px; padding: 16px; border-radius: 18px; background: color-mix(in srgb,var(--v-surface-3) 55%,transparent); text-align: center; }
.v-dynamics-summary__delta { font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.v-balance-flow--dialog { width: 100%; margin-top: 9px; padding: 9px 0 0; border-top: 1px solid var(--v-line); border-radius: 0; background: transparent; }
.v-dynamics-sources { display: grid; gap: 0; margin: 14px 0 0; }
.v-dynamics-sources > div { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 2px; border-bottom: 1px solid var(--v-line); }
.v-dynamics-sources > div:last-child { border-bottom: 0; }
.v-dynamics-sources dt { color: var(--v-text-2); font-size: 13px; }
.v-dynamics-sources dd { margin: 0; font-size: 14px; font-weight: 600; white-space: nowrap; }

@media (hover: hover) and (pointer: fine) {
  .v-button:hover,.v-icon-button:hover { transform: translateY(-1px); box-shadow: var(--v-shadow-control); }
  .v-app-topbar .v-icon-button:hover { box-shadow: none; }
  .v-nav-item:hover { transform: translateY(-1px);  color: var(--v-text-1); }
  .v-interactive-surface:hover { z-index: 1; border-color: color-mix(in srgb,var(--v-accent) 36%,var(--v-line)); box-shadow: var(--v-shadow-lift); transform: translateY(-1px); }
  .v-list-row:hover {    transform: translateY(-1px); }
  .v-activity-card .v-list--overview .v-list-row:hover {    transform: translateY(-2px); }
  .v-goal-card:hover { border-color: color-mix(in srgb,var(--v-line) 72%,transparent); background: var(--v-surface-1); }
  .v-goal-card__visual-button:hover .v-goal-card__art { transform: translateY(-2px) scale(1.005); }
  .v-balance-card__primary:hover { background: transparent; }
  .v-balance-card__primary:hover .v-balance-card__amount { transform: translateY(-1px); }
  .v-balance-card__currency:hover {  color: var(--v-accent-strong); transform: translateY(-1px); }
  .v-balance-period:hover { color: var(--v-accent-strong); transform: translateY(-1px); }
  .v-stat:hover { border-color: transparent; background: transparent; }
  .v-stat:hover strong { transform: translateY(-1px); }
  .v-stat strong { transition: transform var(--v-motion-standard) var(--v-ease-out); }
  .v-breakdown-row:hover { border-color: color-mix(in srgb,var(--v-accent) 24%,var(--v-line)); background: color-mix(in srgb,var(--v-accent) 7%,transparent); }
  .v-breakdown-tabs button:hover,.v-period-tabs button:hover { color: var(--v-text-1); }
  .v-popover__option:hover {  color: var(--v-text-1); transform: translateX(2px); }
}

.v-list-row:active { transform: scale(.99); transition-duration: 90ms; }
.v-balance-card__primary:active { transform: none; }
.v-balance-card__primary:active .v-balance-card__amount { transform: scale(.99); transition-duration: 90ms; }
.v-goal-card__visual-button:active .v-goal-card__art { transform: translateY(0) scale(.99); transition-duration: 90ms; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .v-lab-toolbar,.v-side-rail,.v-popover { background: color-mix(in srgb,var(--v-surface-1) 92%,var(--v-canvas)); }
}

@media (min-width: 900px) {
  .v-activity-extra { display: list-item; }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .v-app-topbar,.v-app-content { width: calc(100% - 36px); }
  .v-overview { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .v-balance-cluster { min-height: 236px; padding-inline: 18px; }
  .v-overview > .v-goal-card { min-height: 236px; grid-template-columns: minmax(190px,230px) 158px; justify-content: center; gap: 16px; padding-inline: 20px; }
  .v-overview > .v-goal-card .v-goal-card__visual,
  .v-overview > .v-goal-card .v-goal-card__visual-button,
  .v-overview > .v-goal-card .v-goal-card__art { width: 158px; }
  .v-overview > .v-goal-card .v-goal-card__name { font-size: 29px; }
  .v-insight-card { min-height: 236px; padding-inline: 20px; }
  .v-insight-card__facts--three { gap: 9px; }
  .v-insight-card__facts dd { font-size: 12px; }
  .v-breakdown-card { min-height: 252px; padding-inline: 22px; }
  .v-breakdown-card__header { align-items: flex-start; }
  .v-breakdown-tabs { min-width: 206px; }
}

@media (max-width: 1099px) {
  .v-grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v-swatches { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* Tablet portrait is intentionally denser than phone and keeps the inline statistics slot. */
@media (min-width: 720px) and (max-width: 899px) {
  .v-app-topbar,.v-app-content { width: calc(100% - 32px); }
  .v-app-content { padding-top: 14px; }
  .v-overview { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .v-overview > * { width: min(100%,660px); margin-inline: auto; }
  .v-balance-cluster { min-height: 226px; padding: 16px 22px; }
  .v-overview .v-balance-card { text-align: center; }
  .v-overview .v-balance-card__primary { justify-items: center; text-align: center; }
  .v-overview > .v-goal-card { min-height: 226px; grid-template-columns: minmax(230px,285px) 172px; justify-content: center; gap: 18px; padding: 16px 28px; }
  .v-overview > .v-goal-card .v-goal-card__visual,
  .v-overview > .v-goal-card .v-goal-card__visual-button,
  .v-overview > .v-goal-card .v-goal-card__art { width: 172px; }
  .v-overview > .v-goal-card .v-goal-card__name { font-size: 30px; }
  .v-insight-card { min-height: 226px; padding: 18px 26px; }
  .v-breakdown-card { min-height: 0; padding: 24px 28px 20px; }
  .v-breakdown-card__header > div:first-child { min-width: 180px; }
  .v-breakdown-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
  .v-breakdown-row:nth-child(3) { border-bottom: 0; }
  .v-activity-card .v-list--overview { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .v-activity-card .v-list--overview .v-list-row { min-height: 68px; padding: 8px 12px; border-color: transparent; }
}

@media (max-width: 719px) {
  :root { --v-radius-card: 20px; --v-radius-panel: 26px; }
  .v-lab-toolbar { gap: 8px; padding-inline: 14px; }
  .v-lab-toolbar .v-brand__name { max-width: 128px; }
  .v-lab-toolbar__actions .v-button { min-height: 44px; padding-inline: 12px; font-size: 13px; }
  .v-lab-page { padding-inline: 16px; }
  .v-lab-hero { grid-template-columns: 1fr; align-items: start; }
  .v-lab-hero__meta { justify-content: flex-start; }
  .v-grid--2,.v-grid--3,.v-grid--4 { grid-template-columns: 1fr; }
  .v-swatches { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v-type-row { grid-template-columns: 1fr; gap: 5px; }
  .v-demo { padding: 16px; }
  .v-goal-card { min-height: 0; grid-template-columns: minmax(0,1fr) 124px; justify-content: stretch; gap: 10px; padding: 18px; }
  .v-goal-card__name { font-size: 22px; }
  .v-goal-card__visual,.v-goal-card__visual-button,.v-goal-card__art { width: 124px; }
  .v-goal-card__visual,.v-goal-card__visual-button { padding-bottom: 22px; }
  .v-goal-card--no-image { min-height: 132px; grid-template-columns: minmax(0,1fr) auto; gap: 14px; }
  .v-goal-card--no-image .v-goal-card__visual { padding-left: 14px; }
  .v-goal-card__percent { font-size: 42px; }
  .v-overlay-board { min-height: 720px; grid-template-columns: 1fr; align-content: end; padding: 14px; }
  .v-overlay-board__side { align-self: start; }
  .v-panel__header { padding-left: 18px; }
  .v-panel__body,.v-panel__actions { padding-left: 18px; padding-right: 18px; }

  .v-app-shell { display: block; }
  .v-side-rail { display: none; }
  .v-app-main { position: relative; }
  .v-app-topbar { position: absolute; top: 0; right: 0; width: auto; min-height: calc(52px + var(--v-safe-top)); justify-content: flex-end; margin: 0; padding: calc(8px + var(--v-safe-top)) max(14px,var(--v-safe-right)) 0 0; border: 0; background: transparent; pointer-events: none; }
  .v-app-topbar > .v-brand,.v-app-topbar__date { display: none; }
  .v-app-topbar__actions { pointer-events: auto; }
  .v-app-topbar .v-icon-button { width: 44px; height: 44px; flex-basis: 44px; background: color-mix(in srgb,var(--v-surface-1) 92%,transparent); box-shadow: none; }
  .v-app-content { width: 100%; padding: calc(66px + var(--v-safe-top)) max(14px,var(--v-safe-right)) calc(96px + var(--v-safe-bottom)) max(14px,var(--v-safe-left)); }
  .v-money-layout { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .v-overview { grid-template-columns: minmax(0,1fr); gap: 14px; }

  /* Phone keeps the accepted hierarchy. Inline month detail is desktop/tablet only. */
  .v-balance-cluster { min-height: 0; display: grid; gap: 10px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .v-overview .v-balance-card { min-height: 0; display: grid; padding: 18px 18px 14px; border: 1px solid color-mix(in srgb,var(--v-line) 72%,transparent); border-radius: var(--v-radius-card); background: var(--v-surface-1); box-shadow: var(--v-shadow-card); text-align: center; }
  .v-overview .v-balance-card__topline { min-height: 21px; }
  .v-overview .v-balance-card__currency { top: -11px; right: -4px; }
  .v-overview .v-balance-card__amount { margin-top: 5px; }
  .v-overview .v-balance-card__amount strong { font-size: clamp(40px,11.6vw,48px); }
  .v-overview .v-balance-card__amount.is-long strong { font-size: clamp(36px,10.2vw,43px); }
  .v-overview .v-balance-card__amount.is-very-long strong { font-size: clamp(31px,8.8vw,38px); }
  .v-overview .v-balance-card__stats { width: min(100%,360px); }
  .v-money-layout[data-goal-state="none"] .v-goal-create { margin-top: 2px; }
  .v-overview .v-action-pair { display: none; }
  .v-overview > .v-goal-card { min-height: 0; grid-template-columns: minmax(0,1fr) clamp(126px,35vw,140px); justify-content: stretch; gap: 8px; padding: 20px; }
  .v-overview > .v-goal-card .v-goal-card__copy { gap: 6px; }
  .v-overview > .v-goal-card .v-goal-card__name { font-size: 24px; }
  .v-overview > .v-goal-card .v-goal-card__visual,
  .v-overview > .v-goal-card .v-goal-card__visual-button,
  .v-overview > .v-goal-card .v-goal-card__art { width: clamp(126px,35vw,140px); }
  .v-overview > .v-breakdown-card,.v-overview > .v-insight-card { display: none !important; }
  .v-breakdown-card { min-height: 0; padding: 20px; }
  .v-breakdown-card__header { display: grid; gap: 14px; }
  .v-breakdown-tabs { width: 100%; min-width: 0; }
  .v-activity-card { padding: 20px; border: 1px solid color-mix(in srgb,var(--v-line) 72%,transparent); border-radius: var(--v-radius-card); background: var(--v-surface-1); box-shadow: var(--v-shadow-card); }
  .v-activity-card__heading { width: 100%; }
  .v-activity-card__all-link { display: inline-flex; min-height: 40px; margin-right: -8px; padding-inline: 9px; }
  .v-activity-card .v-section-title { font-size: clamp(21px,5.8vw,24px); }
  .v-activity-card .v-list--overview { display: block; }
  .v-activity-card .v-list--overview .v-list-row { min-height: 68px; grid-template-columns: 42px minmax(0,1fr) auto; gap: 10px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--v-line); border-radius: 0; background: transparent; box-shadow: none; }
  .v-activity-card .v-list--overview > .v-activity-phone-last .v-list-row { border-bottom: 0; }
  .v-activity-more { display: none; }
  .v-list-row__value { font-size: 14px; }

  .v-bottom-nav { position: fixed; z-index: 25; left: 0; right: 0; bottom: max(8px,var(--v-safe-bottom)); min-height: 56px; display: grid; grid-template-columns: repeat(4,minmax(0,69px)); justify-content: center; gap: 0; padding: 4px 0; isolation: isolate; pointer-events: none; }
  .v-bottom-nav::before { position: absolute; z-index: -1; inset: 0; width: min(calc(100% - 56px),276px); margin-inline: auto; border: 1px solid color-mix(in srgb,var(--v-nav-border) 84%,var(--v-text-2)); border-radius: 19px; background: var(--v-nav-glass); box-shadow: 0 12px 28px color-mix(in srgb,var(--v-canvas-deep) 27%,transparent),inset 0 1px 0 color-mix(in srgb,var(--v-text-1) 9%,transparent); content: ''; }
  .v-bottom-nav .v-nav-item { position: relative; min-height: 48px; gap: 2px; padding: 3px 1px; border-radius: 15px; color: var(--v-text-1); pointer-events: auto; }
  .v-bottom-nav .v-nav-item.is-active { background: var(--v-nav-active); color: var(--v-accent-strong); }
  .v-bottom-nav .v-nav-item span { font-size: 9.5px; }

  .v-breakdown-dialog { position: fixed; inset: auto auto max(12px,var(--v-safe-bottom),var(--v-dialog-bottom,0px)) 50%; width: min(calc(100% - 24px),460px); max-height: calc(var(--v-usable-height,100svh) - 24px); margin: 0; transform: translate(-50%,22px); transform-origin: 50% 100%; }
  .v-breakdown-dialog[open].is-visible { transform: translate(-50%,0); }
  .v-breakdown-dialog__surface { max-height: calc(var(--v-usable-height,100svh) - 24px); padding: 20px 18px calc(18px + var(--v-safe-bottom)); border-radius: 26px; }
  .v-breakdown-dialog__header { padding-bottom: 14px; }
}

@media (max-width: 390px) {
  .v-lab-toolbar .v-brand__name { display: none; }
  .v-lab-toolbar__actions { gap: 4px; }
  .v-action-pair { gap: 8px; }
  .v-action-pair .v-button { font-size: 14px; }
  .v-goal-card { min-height: 0; grid-template-columns: minmax(0,1fr) 116px; }
  .v-goal-card__amount { font-size: 12px; }
  .v-goal-card__visual,.v-goal-card__visual-button,.v-goal-card__art { width: 116px; }
  .v-goal-card__visual-percent { min-width: 52px; padding: 5px 8px; font-size: 16px; }
  .v-stat strong { font-size: 18px; }
  .v-overview > .v-goal-card { grid-template-columns: minmax(0,1fr) 132px; gap: 6px; padding-inline: 18px; }
  .v-overview > .v-goal-card .v-goal-card__visual,
  .v-overview > .v-goal-card .v-goal-card__visual-button,
  .v-overview > .v-goal-card .v-goal-card__art { width: 132px; }
}

@media (max-width: 350px) {
  .v-activity-card .v-section-title { font-size: 20px; }
  .v-activity-card .v-list--overview .v-list-row { grid-template-columns: 42px minmax(0,1fr); }
  .v-activity-card .v-list--overview .v-list-row__icon { grid-row: 1 / span 2; }
  .v-activity-card .v-list--overview .v-list-row__copy,
  .v-activity-card .v-list--overview .v-list-row__value { grid-column: 2; }
  .v-activity-card .v-list--overview .v-list-row__value { justify-self: end; }
}

/* 1A.12 overview composition. All colors inherit the established light/dark tokens. */
.v-phone-copy { display: none; }
.v-overview { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 12px; }
.v-balance-cluster { min-height: 232px; grid-template-columns: minmax(0,1fr) clamp(96px,10vw,132px); grid-template-rows: minmax(0,1fr) auto; gap: 3px 10px; padding: 14px 18px 13px; }
.v-overview .v-balance-card { grid-column: 1; grid-row: 1; align-content: space-between; text-align: center; }
.v-balance-card__hero { align-content: stretch; }
.v-overview .v-balance-card__topline { min-height: 25px; align-items: flex-start; }
.v-overview .v-balance-card__topline .v-eyebrow { color: var(--v-text-1); font-size: 15px; font-weight: 600; letter-spacing: -.015em; text-transform: none; }
.v-overview .v-balance-card__currency { top: -10px; right: 1px; }
.v-overview .v-balance-card__amount strong { font-size: clamp(36px,4vw,49px); font-weight: 600; }
.v-overview .v-balance-card__amount.is-long strong { font-size: clamp(31px,3.6vw,43px); }
.v-overview .v-balance-card__amount.is-very-long strong { font-size: clamp(27px,3.1vw,37px); }
.v-overview .v-balance-period { min-height: 25px; font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.v-overview .v-balance-card__stats { width: 100%; max-width: 390px; margin-top: 5px; }
.v-overview .v-action-pair { grid-column: 1; grid-row: 2; width: 100%; max-width: none; gap: 10px; }
.v-overview .v-action-pair .v-button { min-height: 40px; border-color: transparent; font-size: 13px; }
.v-spending-ring { --v-spent-percent: 56%; min-width: 0; grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: center; align-content: center; gap: 8px; text-align: center; }
.v-spending-ring__dial { width: clamp(84px,8vw,113px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--v-danger) var(--v-spent-percent),color-mix(in srgb,var(--v-text-3) 21%,var(--v-surface-2)) 0); transform: rotate(-90deg); }
.v-spending-ring__dial::before { width: calc(100% - 11px); aspect-ratio: 1; grid-area: 1 / 1; border-radius: 50%; background: var(--v-surface-1); content: ""; }
.v-spending-ring__dial strong { position: relative; grid-area: 1 / 1; color: var(--v-text-1); font-size: clamp(20px,2vw,27px); font-weight: 600; font-variant-numeric: tabular-nums; transform: rotate(90deg); }
.v-spending-ring__caption { color: var(--v-text-2); font-size: 11px; line-height: 1.3; }
.v-overview > .v-goal-card { min-height: 232px; grid-template-columns: minmax(0,1fr) clamp(95px,11vw,150px); justify-content: stretch; gap: 8px; padding: 19px clamp(14px,2vw,23px); }
.v-overview > .v-goal-card .v-goal-card__copy { gap: 7px; }
.v-overview > .v-goal-card .v-eyebrow { color: var(--v-text-1); font-size: 15px; font-weight: 600; letter-spacing: -.015em; text-transform: none; }
.v-overview > .v-goal-card .v-goal-card__name { font-size: clamp(23px,2.55vw,34px); }
.v-overview > .v-goal-card .v-goal-card__amount { color: var(--v-text-2); font-size: clamp(14px,1.55vw,21px); }
.v-goal-card__amount strong,.v-goal-card__remaining strong { font-weight: 600; }
.v-goal-card__remaining { margin: 0; font-size: clamp(13px,1.4vw,17px); }
.v-overview > .v-goal-card .v-goal-card__pace { font-size: clamp(10px,1.1vw,13px); }
.v-overview > .v-goal-card .v-goal-card__visual,
.v-overview > .v-goal-card .v-goal-card__visual-button,
.v-overview > .v-goal-card .v-goal-card__art { width: clamp(95px,11vw,150px); }
.v-overview > .v-goal-card .v-goal-card__visual-percent { left: auto; right: 0; transform: none; }
.v-money-layout[data-secondary-state="empty"] .v-overview { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); justify-content: stretch; }
.v-spending-card { min-width: 0; min-height: 232px; display: grid; align-content: center; gap: 14px; padding: 17px clamp(15px,2vw,24px); }
.v-spending-card[hidden],.v-monthly-details[hidden] { display: none !important; }
.v-spending-card__heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.v-spending-card__heading h2,.v-monthly-details h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.v-spending-card__heading span { color: var(--v-text-2); font-size: 11px; white-space: nowrap; }
.v-spending-bars { min-width: 0; display: grid; gap: 8px; }
.v-spending-bars__row { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; color: var(--v-text-2); font-size: 12px; }
.v-spending-bars__row strong { color: var(--v-danger); font-weight: 600; font-variant-numeric: tabular-nums; }
.v-spending-bars__track { height: 7px; grid-column: 1 / -1; overflow: hidden; border-radius: 99px; background: color-mix(in srgb,var(--v-text-3) 17%,var(--v-surface-2)); }
.v-spending-bars__track > span { height: 100%; display: block; border-radius: inherit; background: color-mix(in srgb,var(--v-danger) 77%,var(--v-surface-1)); }
.v-monthly-details { display: none !important; }
.v-monthly-details .v-period-tabs { margin-top: 0; }
.v-monthly-details__summary { display: grid; gap: 3px; }
.v-monthly-details__summary strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.v-monthly-details__summary span,.v-monthly-details__ratio span { color: var(--v-text-2); font-size: 12px; }
.v-monthly-details__ratio { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--v-surface-2); }
.v-monthly-details__ratio strong { font-size: 21px; font-variant-numeric: tabular-nums; }
.v-monthly-details h3 { margin: 0; font-size: 15px; }
.v-monthly-details__facts { display: grid; gap: 0; margin: 0; }
.v-monthly-details__facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--v-line); font-size: 12px; }
.v-monthly-details__facts dt { color: var(--v-text-2); }
.v-monthly-details__facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.v-activity-card .v-list--overview { gap: 2px 12px; }
.v-activity-card .v-list--overview .v-list-row { min-height: 62px; border-radius: 10px; box-shadow: none; }

@media (min-width: 720px) and (max-width: 1099px) {
  .v-balance-cluster { min-height: 226px; grid-template-columns: minmax(0,1fr) 105px; padding: 14px; }
  .v-overview > .v-goal-card { min-height: 226px; grid-template-columns: minmax(0,1fr) 110px; }
  .v-overview > .v-goal-card .v-goal-card__visual,
  .v-overview > .v-goal-card .v-goal-card__visual-button,
  .v-overview > .v-goal-card .v-goal-card__art { width: 110px; }
  .v-spending-ring__dial { width: 88px; }
}
@media (min-width: 720px) and (max-width: 899px) {
  .v-overview { grid-template-columns: minmax(0,1fr); }
  .v-overview > .v-goal-card { grid-template-columns: minmax(0,1fr) 150px; }
  .v-overview > .v-goal-card .v-goal-card__visual,
  .v-overview > .v-goal-card .v-goal-card__visual-button,
  .v-overview > .v-goal-card .v-goal-card__art { width: 150px; }
  .v-monthly-details:not([hidden]) { width: min(100%,660px); display: grid !important; gap: 14px; margin-inline: auto; padding: 22px; }
  .v-monthly-details:not([hidden]) ~ .v-spending-card { display: none; }
}
@media (max-width: 719px) {
  .v-desktop-copy { display: none; }
  .v-phone-copy { display: inline; }
  .v-overview { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .v-balance-cluster { min-height: 0; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; gap: 10px; padding: 0; }
  .v-overview .v-balance-card { grid-column: 1; grid-row: 1; align-content: center; padding: 18px 18px 14px; text-align: center; }
  .v-overview .v-balance-card__topline .v-eyebrow { color: var(--v-text-2); font-size: 11px; font-weight: 600; letter-spacing: .065em; text-transform: uppercase; }
  .v-overview .v-balance-card__currency { top: -11px; right: -4px; }
  .v-overview .v-balance-card__amount strong { font-size: clamp(40px,11.6vw,48px); font-weight: 500; }
  .v-overview .v-balance-card__amount.is-long strong { font-size: clamp(36px,10.2vw,43px); }
  .v-overview .v-balance-card__amount.is-very-long strong { font-size: clamp(31px,8.8vw,38px); }
  .v-overview .v-balance-period { min-height: 29px; font-size: 10px; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; }
  .v-overview .v-balance-card__stats { width: min(100%,360px); margin-top: 0; }
  .v-overview .v-action-pair { grid-column: 1; grid-row: 2; display: grid; width: min(100%,var(--v-action-group-width,424px)); }
  .v-overview .v-action-pair .v-button { min-height: 48px; font-size: 14px; }
  .v-overview .v-action-pair .v-button--income { border-color: color-mix(in srgb,var(--v-positive) 50%,var(--v-line)); }
  .v-overview .v-action-pair .v-button--expense { border-color: color-mix(in srgb,var(--v-danger) 40%,var(--v-line)); }
  .v-spending-ring { display: none; }
  .v-overview > .v-goal-card { min-height: 0; grid-template-columns: minmax(0,1fr) clamp(126px,35vw,140px); gap: 8px; padding: 20px; }
  .v-overview > .v-goal-card .v-goal-card__copy { gap: 6px; }
  .v-overview > .v-goal-card .v-eyebrow { color: var(--v-text-2); font-size: 12px; font-weight: 600; letter-spacing: .095em; text-transform: uppercase; }
  .v-overview > .v-goal-card .v-goal-card__name { font-size: 24px; }
  .v-overview > .v-goal-card .v-goal-card__amount { color: var(--v-text-2); font-size: 14px; }
  .v-overview > .v-goal-card .v-goal-card__pace { font-size: 12px; }
  .v-overview > .v-goal-card .v-goal-card__visual,
  .v-overview > .v-goal-card .v-goal-card__visual-button,
  .v-overview > .v-goal-card .v-goal-card__art { width: clamp(126px,35vw,140px); }
  .v-overview > .v-goal-card .v-goal-card__visual-percent { left: 50%; right: auto; transform: translateX(-50%); }
  .v-spending-card:not(.v-card-carousel__slide) { display: none !important; }
  .v-monthly-details:not([hidden]) { display: grid !important; gap: 14px; padding: 19px; }
  .v-activity-card .v-list--overview .v-list-row { min-height: 68px; border-radius: 0; }
}

/* Balanced headings and distinct controls for amount, currency and period. */
.v-balance-card__currency--phone { display: none; }
.v-balance-card__amount-line { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; }
.v-balance-card__amount-line::before { grid-column: 1; content: ""; }
.v-balance-card__amount-line .v-balance-card__primary { grid-column: 2; width: auto; min-height: 54px; padding: 4px 0; }
.v-balance-card__currency--desktop { position: static; grid-column: 3; justify-self: start; align-self: center; min-width: 50px; min-height: 44px; margin-left: clamp(5px,1.1vw,15px); font-size: 13px; }
.v-overview .v-balance-card__hero { gap: 2px; }
.v-overview .v-balance-period { min-height: 40px; min-width: 112px; padding: 7px 12px; font-size: 13px; font-weight: 600; letter-spacing: 0; border-radius: 12px; background: color-mix(in srgb,var(--v-surface-accent) 52%,var(--v-surface-1)); color: var(--v-text-1); }
.v-overview .v-balance-period .v-icon { width: 16px; height: 16px; }
.v-spending-ring__dial { background: conic-gradient(color-mix(in srgb,var(--v-danger) 68%,var(--v-surface-1)) var(--v-spent-percent),color-mix(in srgb,var(--v-text-3) 21%,var(--v-surface-2)) 0); }
.v-spending-ring__dial::before { width: calc(100% - 8px); }
.v-spending-ring__caption { font-size: 12px; }
.v-overview > .v-goal-card { align-items: stretch; padding-block: 14px; }
.v-overview > .v-goal-card .v-goal-card__copy { height: 100%; align-content: space-between; align-self: stretch; gap: 5px; }
.v-overview > .v-goal-card .v-goal-card__visual-button { align-self: center; }
.v-overview > .v-goal-card .v-goal-card__pace { font-size: clamp(11px,1.15vw,13px); }
.v-balance-edit-form { display: grid; gap: 8px; margin-top: 19px; }
.v-balance-edit-form label { color: var(--v-text-2); font-size: 13px; font-weight: 600; line-height: 1.35; }
.v-balance-edit-form .v-form-label { margin-top: 7px; color: var(--v-text-2); font-size: 13px; font-weight: 600; line-height: 1.35; }
.v-balance-edit-form label:not(:first-child) { margin-top: 7px; }
.v-balance-edit-form input { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--v-line); border-radius: 14px; outline: none; background: var(--v-surface-2); color: var(--v-text-1); font: inherit; font-size: 16px; font-weight: 500; }
.v-balance-edit-form input[inputmode="decimal"] { min-height: 56px; font-size: clamp(21px,5vw,24px); font-weight: 600; font-variant-numeric: tabular-nums; }
.v-balance-edit-form input:focus-visible { border-color: var(--v-focus); box-shadow: 0 0 0 3px color-mix(in srgb,var(--v-focus) 25%,transparent); }
.v-balance-edit-form input::placeholder { color: var(--v-text-3); opacity: 1; font-weight: 400; }
.v-balance-edit-form input[readonly] { color: var(--v-text-2); cursor: default; }
.v-balance-edit-form select { width: 100%; min-height: 50px; padding: 9px 14px; border: 1px solid var(--v-line); border-radius: 14px; background: var(--v-surface-2); color: var(--v-text-1); font: inherit; font-size: 16px; }
:root[data-theme="dark"] .v-balance-edit-form select,:root[data-theme="dark"] .v-module-filter select { color-scheme: dark; }
.v-balance-edit-form select:focus-visible { outline: 3px solid var(--v-focus); outline-offset: 2px; }
.v-category-choice { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 14px; border: 1px solid var(--v-line); border-radius: 14px; background: var(--v-surface-2); color: var(--v-text-1); font: inherit; font-size: 15px; text-align: left; }
.v-category-dialog { width: min(420px,calc(100% - 24px)); }
.v-category-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 17px; }
.v-category-option { min-width: 0; min-height: 52px; padding: 9px 12px; border: 1px solid var(--v-line); border-radius: 13px; background: var(--v-surface-2); color: var(--v-text-1); text-align: left; font: inherit; font-size: 14px; }
.v-operation-currency { min-height: 42px; width: fit-content; display: flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid var(--v-line); border-radius: 11px; background: var(--v-surface-accent); color: var(--v-text-2); font: inherit; font-size: 13px; }
.v-operation-currency strong { color: var(--v-accent-strong); }
.v-balance-edit-form .v-operation-exchange { padding: 9px 12px; border-radius: 12px; background: var(--v-surface-accent); color: var(--v-text-1); font-size: 13px; }
.v-currency-dialog { width: min(480px,calc(100% - 24px)); }
.v-currency-dialog .v-breakdown-dialog__surface { display: flex; flex-direction: column; overflow: hidden; }
.v-currency-search { width: 100%; min-height: 48px; margin-top: 18px; padding: 9px 13px; border: 1px solid var(--v-line-strong); border-radius: 13px; background: var(--v-surface-2); color: var(--v-text-1); font: inherit; font-size: 16px; }
.v-currency-list { min-height: 0; max-height: min(480px,48dvh); overflow: auto; display: grid; gap: 6px; margin-top: 14px; }
.v-currency-option { min-width: 0; min-height: 53px; display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 12px; padding: 8px 13px; border: 1px solid transparent; border-radius: 12px; background: var(--v-surface-2); color: var(--v-text-2); text-align: left; font: inherit; font-size: 14px; }
.v-currency-option strong { color: var(--v-text-1); }
.v-currency-settings { display: grid; justify-items: start; gap: 15px; padding: 24px; }
.v-currency-settings[hidden] { display: none; }
.v-currency-settings h2,.v-currency-settings p { margin: 0; }
.v-currency-settings p { color: var(--v-text-2); line-height: 1.5; }
.v-goal-visual-selected { min-height: 66px; display: flex; align-items: center; gap: 13px; padding: 5px 12px; border: 1px solid var(--v-line-strong); border-radius: 14px; background: var(--v-surface-2); color: var(--v-text-1); text-align: left; font: inherit; font-weight: 600; }
.v-goal-visual-selected img { width: 54px; height: 54px; object-fit: contain; }
/* Twenty illustrations fit the available viewport; the body can still scroll
   for enlarged text or a very small keyboard viewport. No scroll owner is hidden. */
.v-goal-visual-dialog { --v-dialog-width: 650px; }
.v-goal-visual-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); grid-template-rows: repeat(4,minmax(0,1fr)); gap: 8px; flex: 1 1 auto; min-height: 0; }
.v-goal-visual-grid button { min-width: 0; min-height: 44px; display: grid; grid-template-rows: minmax(0,1fr) auto; justify-items: center; align-items: center; gap: 4px; padding: 7px 4px; border: 1px solid var(--v-line); border-radius: 15px; background: var(--v-surface-2); color: var(--v-text-1); font: inherit; font-size: 12px; font-weight: 600; line-height: 1.2; }
.v-goal-visual-grid img { width: 100%; height: 100%; max-height: 92px; min-height: 0; object-fit: contain; }
.v-goal-visual-grid button > span { min-width: 0; min-height: 1.2em; display: grid; place-items: center; text-align: center; overflow-wrap: anywhere; }
@media (max-width: 500px) {
  .v-goal-visual-grid { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(7,minmax(0,1fr)); gap: 5px; }
  .v-goal-visual-grid button { padding: 5px 3px; gap: 2px; font-size: 11px; border-radius: 12px; }
}
@media (max-height: 450px) and (min-width: 501px) {
  .v-goal-visual-grid { gap: 4px; }
  .v-goal-visual-grid button { padding: 3px; gap: 1px; font-size: 11px; }
}
.v-balance-edit-form p { margin: 0; color: var(--v-text-2); font-size: 12px; line-height: 1.4; }
.v-balance-edit-form .v-balance-edit-form__error:not([hidden]) { padding: 10px 12px; border: 1px solid color-mix(in srgb,var(--v-danger) 35%,var(--v-line)); border-radius: 12px; background: var(--v-danger-soft); color: var(--v-danger); font-size: 13px; }
.v-balance-edit-form__actions { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,140px),1fr)); gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--v-line); }
.v-balance-edit-form__actions .v-button { min-width: 0; }
.v-balance-edit-dialog .v-delete-summary { margin: 18px 0 0; padding: 15px 16px; border: 1px solid var(--v-line); border-radius: 15px; background: var(--v-surface-2); color: var(--v-text-1); font-size: 14px; font-weight: 600; line-height: 1.5; }
.v-balance-edit-dialog[data-delete-dialog] .v-delete-summary,
.v-balance-edit-dialog[data-backup-dialog] .v-delete-summary { border-color: color-mix(in srgb,var(--v-danger) 27%,var(--v-line)); background: color-mix(in srgb,var(--v-danger-soft) 62%,var(--v-surface-1)); }
.v-balance-edit-dialog > .v-breakdown-dialog__surface > .v-module-status { margin: 13px 2px 0; line-height: 1.5; }
.v-balance-edit-dialog > .v-breakdown-dialog__surface > .v-small { margin: 16px 2px 0; }

@media (max-width: 719px) {
  .v-balance-card__currency--phone { display: inline-flex; }
  .v-balance-card__currency--desktop { display: none; }
  .v-balance-card__amount-line { display: block; }
  .v-balance-card__amount-line::before { display: none; }
  .v-balance-card__amount-line .v-balance-card__primary { width: 100%; min-height: 64px; padding: 8px 0; }
  .v-overview .v-balance-card__topline .v-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; }
  .v-overview .v-balance-card__amount strong { font-size: clamp(39px,11.2vw,46px); font-weight: 600; }
  .v-overview .v-balance-card__amount.is-long strong { font-size: clamp(35px,10vw,42px); }
  .v-overview .v-balance-card__amount.is-very-long strong { font-size: clamp(30px,8.7vw,37px); }
  .v-overview .v-balance-card__primary-group { gap: 4px; }
  .v-overview .v-balance-period { min-height: 48px; min-width: 130px; padding: 9px 15px; margin-bottom: 4px; font-size: 12px; letter-spacing: 0; text-transform: none; }
  .v-overview > .v-goal-card { align-items: center; padding: 20px; }
  .v-overview > .v-goal-card .v-goal-card__copy { height: auto; align-content: center; gap: 6px; }
}

/* 1A.13: goal copy remains a compact group at every width. */
.v-overview .v-balance-card__primary-group { gap: 8px; }
.v-overview .v-balance-card__amount-line .v-balance-card__primary { min-height: 60px; }
.v-overview > .v-goal-card .v-goal-card__copy { height: 100%; grid-template-rows: auto minmax(0,1fr); align-content: stretch; gap: 0; }
.v-overview > .v-goal-card .v-goal-card__details-group { min-width: 0; display: grid; align-self: center; align-content: center; gap: 8px; padding: 4px 0; }
.v-overview > .v-goal-card .v-goal-card__name { margin: 0; font-size: clamp(23px,2.25vw,30px); font-weight: 600; }
.v-overview > .v-goal-card .v-goal-card__amount { font-size: clamp(14px,1.35vw,18px); }
.v-overview > .v-goal-card .v-goal-card__remaining { font-size: clamp(13px,1.3vw,16px); }
.v-overview > .v-goal-card .v-goal-card__pace { min-height: 0; margin-top: 2px; color: var(--v-text-2); font-size: clamp(11px,1.05vw,13px); }

@media (min-width: 720px) and (max-width: 1099px) {
  .v-overview .v-balance-card__primary-group { gap: 6px; }
  .v-overview > .v-goal-card .v-goal-card__details-group { gap: 7px; }
}
@media (max-width: 719px) {
  .v-overview .v-balance-card__primary-group { gap: 4px; }
  .v-overview .v-balance-card__amount-line .v-balance-card__primary { min-height: 64px; }
  .v-overview > .v-goal-card .v-goal-card__copy { height: auto; grid-template-rows: auto auto; gap: 8px; }
  .v-overview > .v-goal-card .v-goal-card__details-group { gap: 6px; padding: 0; }
  .v-overview > .v-goal-card .v-goal-card__name { font-size: clamp(21px,5.8vw,24px); }
  .v-overview > .v-goal-card .v-goal-card__amount { font-size: 13px; }
  .v-overview > .v-goal-card .v-goal-card__pace { margin-top: 2px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.v-snapshot-empty { margin: 8px 0; color: var(--v-text-2); font-size: 14px; line-height: 1.4; }
.v-live-page .v-app-content { visibility: hidden; }
:root[data-live-state="ready"] .v-live-page .v-app-content,
:root[data-live-state="refreshing"] .v-live-page .v-app-content { visibility: visible; }
.v-live-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; min-height: 64px; margin: 24px auto; padding: 16px 24px; border: 1px solid var(--v-line); border-radius: var(--v-radius-card); background: var(--v-surface-1); color: var(--v-text-2); text-align: center; }
:root[data-live-state="ready"] .v-live-banner { display: none; }
:root[data-live-state="refreshing"] .v-live-banner[data-mode="loading"] { display: none; }
.v-live-banner[data-mode="loading"] { width: 44px; height: 44px; min-height: 44px; margin: min(23dvh,190px) auto; padding: 0; border: 0; background: transparent; }
.v-live-banner[data-mode="loading"]::before { width: 32px; height: 32px; border: 3px solid var(--v-line); border-top-color: var(--v-accent); border-radius: 50%; content: ""; animation: v-spin .9s linear infinite; }
.v-live-banner button { min-height: 40px; border: 0; background: transparent; color: var(--v-accent-strong); font: inherit; font-weight: 600; cursor: pointer; }
.v-write-status:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 0 0 18px; padding: 12px 18px; border: 1px solid var(--v-line-strong); border-radius: var(--v-radius-control); background: var(--v-surface-2); color: var(--v-text-1); font-size: 14px; }
.v-write-status button { min-height: 44px; padding: 0 12px; border: 1px solid var(--v-line-strong); border-radius: 10px; color: var(--v-accent-strong); background: var(--v-surface-1); font: inherit; font-weight: 600; cursor: pointer; }
.v-module-screen { max-width: 900px; margin: 0 auto; }
.v-screen-enter { animation: v-screen-enter 200ms var(--v-ease-out) both; }
@keyframes v-screen-enter { from { opacity: .72; } to { opacity: 1; } }
.v-settings-section-enter { animation: v-screen-enter 200ms var(--v-ease-out) both; }
.v-breakdown-dialog.is-restoring { transition: none !important; }
.v-breakdown-dialog.is-restoring::backdrop { transition: none !important; }
.v-list-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 18px 0 6px; }
.v-list-filters label { min-width: min(100%,190px); flex: 1 1 190px; display: grid; gap: 6px; color: var(--v-text-2); font-size: 13px; font-weight: 600; }
.v-list-filters input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--v-line-strong); border-radius: 12px; background: var(--v-surface-1); color: var(--v-text-1); font: inherit; font-size: 15px; }
.v-list-filters > button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--v-line-strong); border-radius: 12px; background: var(--v-surface-2); color: var(--v-accent-strong); font: inherit; font-weight: 600; }
.v-settings-menu { overflow: hidden; display: grid; border: 1px solid var(--v-line); border-radius: 22px; background: var(--v-surface-1); }
.v-settings-menu[hidden] { display: none; }
.v-settings-menu button { min-width: 0; min-height: 76px; display: grid; grid-template-columns: 44px minmax(0,1fr) 16px; align-items: center; gap: 14px; padding: 12px 20px; border: 0; border-bottom: 1px solid var(--v-line); background: transparent; color: var(--v-text-2); text-align: left; font: inherit; cursor: pointer; }
.v-settings-menu button:last-child { border-bottom: 0; }
.v-settings-menu button > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.v-settings-menu strong { color: var(--v-text-1); font-size: 16px; overflow-wrap: anywhere; }
.v-settings-menu small { color: var(--v-text-2); font-size: 13px; line-height: 1.35; }
.v-settings-menu__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--v-surface-accent); color: var(--v-accent-strong); font-size: 22px; }
.v-settings-detail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; }
.v-settings-detail[hidden] { display: none; }
.v-settings-detail button { min-height: 44px; border: 0; background: transparent; color: var(--v-accent-strong); font: inherit; font-weight: 600; }
.v-settings-detail h2 { margin: 0; color: var(--v-text-1); font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .v-screen-enter,.v-settings-section-enter { animation: none; } }
.v-module-screen__heading { margin: 4px 0 22px; }
.v-module-screen__heading h1 { margin: 4px 0 0; font-size: clamp(28px,3vw,38px); letter-spacing: -.02em; line-height: 1.1; }
.v-module-tabs { display: inline-flex; max-width: 100%; gap: 4px; padding: 4px; border-radius: 14px; background: var(--v-surface-3); }
.v-module-tabs button { min-height: 44px; padding: 9px 16px; border: 0; border-radius: 11px; background: transparent; color: var(--v-text-2); font-size: 13px; font-weight: 600; }
.v-module-filter { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; margin-top: 16px; color: var(--v-text-2); font-size: 13px; font-weight: 600; }
.v-module-filter select { min-width: 180px; max-width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--v-line-strong); border-radius: 11px; background: var(--v-surface-1); color: var(--v-text-1); font: inherit; font-size: 14px; }
.v-module-status { min-height: 1.4em; margin: 16px 0; color: var(--v-text-2); font-size: 13px; line-height: 1.45; }
.v-module-status[data-loading="true"] { min-height: 30px; font-size: 0; }
.v-module-status[data-loading="true"]::before { display: block; width: 24px; height: 24px; border: 2px solid var(--v-line); border-top-color: var(--v-accent); border-radius: 50%; content: ""; animation: v-spin .9s linear infinite; }
.v-operation-list { display: grid; gap: 9px; }
.v-operation-item { min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr) auto auto; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--v-line); border-radius: 16px; background: var(--v-surface-1); }
.v-operation-item--clickable { grid-template-columns: minmax(0,1fr) auto; }
.v-operation-item__main { min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.v-operation-item__main:hover .v-operation-item__copy strong { color: var(--v-accent-strong); }
.v-operation-item__main:disabled { cursor: default; opacity: .65; }
.v-operation-item__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--v-surface-accent); color: var(--v-accent-strong); }
.v-operation-item__copy { min-width: 0; display: grid; gap: 3px; }
.v-operation-item__copy strong { overflow-wrap: anywhere; font-size: 15px; line-height: 1.25; }
.v-operation-item__copy small { color: var(--v-text-2); font-size: 12px; line-height: 1.3; }
.v-operation-item__amount { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-operation-item__action { min-height: 44px; padding: 7px 11px; border: 1px solid var(--v-line-strong); border-radius: 10px; background: var(--v-surface-2); color: var(--v-text-2); font-size: 12px; font-weight: 600; }
.v-operation-item__action:hover { color: var(--v-text-1); }
.v-operation-item__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.v-operation-item__actions .v-operation-item__action { min-width: 80px; }
.v-operation-item__action:disabled { opacity: .55; cursor: default; }
.v-history-list { display: grid; gap: 9px; }
.v-history-item { min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--v-line); border-radius: 16px; background: var(--v-surface-1); }
.v-history-item__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--v-surface-accent); color: var(--v-accent-strong); }
.v-history-item__copy { min-width: 0; display: grid; gap: 3px; }
.v-history-item__copy strong { overflow-wrap: anywhere; font-size: 15px; line-height: 1.25; }
.v-history-item__copy small { color: var(--v-text-2); font-size: 12px; line-height: 1.3; }
.v-history-item__amount { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-module-more { display: block; margin: 20px auto; }
.v-recovery-section { padding: 22px; }
.v-goal-settings { display: grid; gap: 12px; margin-bottom: 16px; padding: 22px; }
.v-goal-settings h2 { margin: 0; font-size: 20px; }
.v-goal-settings > p { margin: 0; color: var(--v-text-2); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.v-goal-settings .v-goal-settings__name { color: var(--v-text-1); font-size: 17px; font-weight: 600; }
.v-goal-settings__progress { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.v-goal-settings__progress > div { min-width: 0; display: grid; gap: 3px; padding: 12px; border-radius: 12px; background: var(--v-surface-2); }
.v-goal-settings__progress span { color: var(--v-text-2); font-size: 12px; }
.v-goal-settings__progress strong { overflow-wrap: anywhere; color: var(--v-text-1); font-size: 15px; font-variant-numeric: tabular-nums; }
.v-goal-settings__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.v-goal-settings__actions .v-button { min-height: 44px; }
.v-goal-movements-section { padding: 22px; margin-bottom: 16px; }
.v-goal-movements-section h2 { margin: 0 0 8px; font-size: 20px; }
.v-goal-movements-section > p:not(.v-module-status) { margin: 0; color: var(--v-text-2); font-size: 13px; line-height: 1.5; }
.v-goal-transfers { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--v-line); }
.v-goal-transfers h3 { margin: 0 0 7px; font-size: 17px; }
.v-goal-transfers > p:not(.v-module-status) { margin: 0; color: var(--v-text-2); font-size: 13px; line-height: 1.5; }
.v-goal-movements-list { display: grid; gap: 9px; }
.v-goal-movement { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 15px; border: 1px solid var(--v-line); border-radius: 16px; background: var(--v-surface-1); }
.v-goal-movement__copy { min-width: 0; display: grid; gap: 4px; }
.v-goal-movement__copy strong { font-size: 14px; }
.v-goal-movement__copy small { color: var(--v-text-2); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.v-goal-movement__amount { flex: none; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-goal-movement--deleted .v-goal-movement__amount { color: var(--v-text-2); }
.v-periods-section, .v-export-section { padding: 22px; margin-bottom: 16px; }
.v-periods-section h2, .v-export-section h2 { margin: 0 0 8px; font-size: 20px; }
.v-periods-section p, .v-export-section p { margin: 0; color: var(--v-text-2); font-size: 13px; line-height: 1.5; }
.v-periods-section__top { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.v-periods-section__top > div { min-width: 0; }
.v-periods-section__top .v-button { flex: none; min-height: 44px; }
.v-periods-section > .v-small { margin-top: 10px; }
.v-periods-section .v-module-status, .v-export-section .v-module-status { margin: 16px 0; }
.v-periods-list { display: grid; gap: 9px; }
.v-period-item { display: grid; gap: 8px; min-width: 0; padding: 14px 16px; border: 1px solid var(--v-line); border-radius: 16px; background: var(--v-surface-1); }
.v-period-item__heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; }
.v-period-item__heading strong { font-size: 15px; }
.v-period-item__heading span { color: var(--v-text-2); font-size: 12px; }
.v-periods-section .v-period-item__balance { color: var(--v-text-1); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.v-periods-section .v-period-item__changes { color: var(--v-text-2); font-size: 12px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.v-export-section .v-button { min-height: 44px; margin-top: 14px; }
.v-backup-import { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--v-line); }
.v-backup-import h3 { margin: 0 0 8px; font-size: 17px; }
.v-backup-import label { display: block; margin-top: 16px; color: var(--v-text-2); font-size: 13px; font-weight: 600; }
.v-backup-import input[type="file"] { display: block; width: 100%; min-width: 0; max-width: 440px; margin-top: 8px; padding: 12px; border: 1px solid var(--v-line); border-radius: 12px; background: var(--v-surface-2); color: var(--v-text-1); font: inherit; }
.v-backup-summary, .v-backup-undo { max-width: 580px; margin-top: 16px; padding: 16px; border: 1px solid var(--v-line); border-radius: 16px; background: var(--v-surface-2); }
.v-backup-summary strong, .v-backup-undo strong { color: var(--v-text-1); }
.v-export-section .v-backup-summary p, .v-export-section .v-backup-undo p { margin-top: 8px; }
.v-backup-import .v-module-status { margin: 12px 0; }
.v-recovery-section h2 { margin: 0 0 8px; font-size: 20px; }
.v-recovery-section > p:not(.v-module-status) { margin: 0; color: var(--v-text-2); font-size: 13px; line-height: 1.5; }
.v-delete-summary { margin: 20px 0 0; overflow-wrap: anywhere; font-size: 16px; font-weight: 600; }
@media (max-width: 719px) {
  .v-operation-item { grid-template-columns: 40px minmax(0,1fr) auto; gap: 8px; padding: 12px; }
  .v-operation-item--clickable { grid-template-columns: minmax(0,1fr); }
  .v-operation-item__main { grid-template-columns: 40px minmax(0,1fr) auto; gap: 8px; }
  .v-operation-item--clickable .v-operation-item__actions { grid-column: 1; }
  .v-operation-item__icon { width: 40px; height: 40px; }
  .v-operation-item__amount { font-size: 13px; }
  .v-operation-item__actions { grid-column: 2 / -1; justify-self: end; }
  .v-operation-item__action { min-width: 96px; }
  .v-history-item { grid-template-columns: 40px minmax(0,1fr) auto; gap: 8px; padding: 12px; }
  .v-history-item__icon { width: 40px; height: 40px; }
  .v-history-item__amount { font-size: 13px; }
  .v-recovery-section { padding: 17px; }
  .v-goal-settings { padding: 17px; }
  .v-goal-movements-section { padding: 17px; }
  .v-goal-movement { align-items: start; flex-direction: column; gap: 8px; }
  .v-periods-section, .v-export-section { padding: 17px; }
  .v-periods-section__top { flex-direction: column; gap: 12px; }
}
.v-live-auth { width: min(440px,calc(100vw - 32px)); max-width: none; max-height: min(90dvh,620px); padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--v-line); border-radius: 25px; background: var(--v-surface-1); color: var(--v-text-1); box-shadow: var(--v-shadow-float); opacity: 0; transform: translateY(8px) scale(.985); transition: opacity var(--v-motion-standard) ease,transform var(--v-motion-panel) var(--v-ease-out); }
.v-live-auth[open].is-visible { opacity: 1; transform: translateY(0) scale(1); }
.v-live-auth::backdrop { background: transparent; opacity: 1; transition: none; }
.v-live-auth.is-visible::backdrop { opacity: 1; }
.v-live-auth__surface { display: grid; gap: 18px; padding: 24px; }
.v-live-auth__surface header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--v-line); }
.v-live-auth__surface h2 { margin: 0; font-size: clamp(20px,4.8vw,23px); letter-spacing: -.018em; line-height: 1.2; }
.v-live-auth__surface header .v-icon-button { border-color: var(--v-line); background: var(--v-surface-2); box-shadow: none; }
.v-live-auth__surface form { display: grid; gap: 10px; }
.v-live-auth__surface label { color: var(--v-text-2); font-size: 13px; font-weight: 600; }
.v-live-auth__surface input { width: 100%; min-height: 52px; padding: 10px 14px; border: 1px solid var(--v-line); border-radius: var(--v-radius-control); outline: 0; background: var(--v-surface-2); color: var(--v-text-1); font: inherit; }
.v-live-auth__surface input:focus-visible { border-color: var(--v-focus); box-shadow: 0 0 0 3px color-mix(in srgb,var(--v-focus) 20%,transparent); }
.v-live-auth__surface form .v-button { margin-top: 8px; }
.v-live-auth__hint { margin: 0 0 4px; color: var(--v-text-2); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.v-live-auth__hint strong { color: var(--v-text-1); font-weight: 600; }
.v-live-auth__message { min-height: 1.4em; margin: 0; color: var(--v-text-2); font-size: 13px; line-height: 1.5; }
.v-support-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding: 22px; }
.v-support-card h2 { margin: 0 0 7px; font-size: 20px; }
.v-support-card p { margin: 0; color: var(--v-text-2); font-size: 13px; line-height: 1.5; }
.v-support-card .v-button { flex: none; }
.v-support-dialog { width: min(520px,calc(100% - 32px)); }
.v-support-dialog__body { display: grid; gap: 22px; padding-top: 16px; }
.v-support-faq { border: 1px solid var(--v-line); border-radius: 16px; overflow: hidden; }
.v-support-faq details + details { border-top: 1px solid var(--v-line); }
.v-support-faq summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; color: var(--v-text-1); font-size: 14px; font-weight: 600; line-height: 1.35; list-style: none; cursor: pointer; }
.v-support-faq summary::-webkit-details-marker { display: none; }
.v-support-faq summary:focus-visible { outline: 3px solid var(--v-focus); outline-offset: -3px; }
.v-support-faq summary::after { width: 8px; height: 8px; flex: 0 0 8px; border-right: 2px solid var(--v-accent-strong); border-bottom: 2px solid var(--v-accent-strong); content: ""; transform: rotate(45deg); transition: transform var(--v-motion-fast) ease; }
.v-support-faq details[open] summary::after { transform: rotate(225deg); }
.v-support-faq details[open] summary { background: var(--v-surface-2); }
.v-support-faq details p { margin: 0; padding: 2px 14px 15px; color: var(--v-text-2); font-size: 13px; line-height: 1.55; }
.v-support-contact { display: grid; gap: 9px; padding-top: 18px; border-top: 1px solid var(--v-line); }
.v-support-contact h3 { margin: 0; font-size: 18px; letter-spacing: -.015em; }
.v-support-contact p { margin: 0; color: var(--v-text-2); font-size: 13px; line-height: 1.5; }
.v-support-contact label { margin-top: 7px; color: var(--v-text-2); font-size: 13px; font-weight: 600; }
.v-support-contact textarea { width: 100%; min-height: 106px; padding: 12px 14px; border: 1px solid var(--v-line); border-radius: 14px; outline: 0; resize: vertical; background: var(--v-surface-2); color: var(--v-text-1); font: inherit; font-size: 16px; line-height: 1.4; }
.v-support-contact textarea:focus-visible { border-color: var(--v-focus); box-shadow: 0 0 0 3px color-mix(in srgb,var(--v-focus) 20%,transparent); }
.v-support-contact textarea::placeholder { color: var(--v-text-3); opacity: 1; }
.v-support-contact__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.v-support-contact__actions .v-button { flex: 1 1 160px; }
@media (max-width: 719px) {
  .v-support-card { align-items: stretch; flex-direction: column; padding: 17px; }
  .v-support-card .v-button { align-self: start; }
  .v-support-dialog { width: min(calc(100% - 24px),520px); }
}
@media (max-width: 600px) {
  .v-live-auth { position: fixed; inset: auto auto max(12px,var(--v-safe-bottom)) 50%; width: min(calc(100% - 24px),440px); max-height: calc(100dvh - 24px); margin: 0; transform: translate(-50%,22px); transform-origin: 50% 100%; }
  .v-live-auth[open].is-visible { transform: translate(-50%,0); }
  .v-live-auth__surface { padding: 20px 18px calc(18px + var(--v-safe-bottom)); }
}

/* Let user content and longer translations grow without hiding financial data. */
.v-balance-card__amount { white-space: normal; }
.v-balance-card__amount strong,
.v-stat strong,
.v-insight-card__result,
.v-insight-card__facts dd,
.v-breakdown-card__total,
.v-breakdown-row__amount,
.v-operation-item__amount,
.v-history-item__amount,
.v-list-row__value,
.v-monthly-details__summary strong,
.v-monthly-details__facts dd,
.v-dynamics-sources dd { min-width: 0; max-width: 100%; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }
.v-goal-card__name { display: block; overflow: visible; overflow-wrap: anywhere; -webkit-line-clamp: unset; }
.v-goal-card__amount,
.v-goal-card__pace,
.v-spending-card__heading,
.v-spending-bars__row,
.v-breakdown-dialog__header .v-card-title,
.v-module-screen__heading h1 { min-width: 0; overflow-wrap: anywhere; }
.v-list-row__copy strong { display: block; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; -webkit-line-clamp: unset; }
.v-action-pair .v-button { padding-block: 8px; }
.v-action-pair .v-button__label { white-space: normal; overflow-wrap: anywhere; text-align: center; }
.v-module-tabs { display: flex; flex-wrap: wrap; }
.v-module-tabs button { min-width: 0; flex: 1 1 max-content; overflow-wrap: anywhere; }
.v-dynamics-sources > div,
.v-monthly-details__facts > div { flex-wrap: wrap; }
.v-breakdown-dialog__header > :first-child,
.v-live-auth__surface header h2 { min-width: 0; overflow-wrap: anywhere; }
.v-breakdown-dialog__header .v-icon-button { flex: 0 0 var(--v-touch); }
.v-button { padding-block: 8px; text-align: center; overflow-wrap: anywhere; }
.v-button__label { white-space: normal; overflow-wrap: anywhere; }
.v-breakdown-row__name,
.v-balance-flow strong { overflow: visible; overflow-wrap: anywhere; text-overflow: clip; white-space: normal; }
.v-spending-card__heading { flex-wrap: wrap; }
.v-spending-card__heading span { white-space: normal; overflow-wrap: anywhere; }
.v-spending-bars__row strong { min-width: 0; overflow-wrap: anywhere; }
.v-goal-movement__amount { min-width: 0; max-width: 100%; flex: 0 1 auto; overflow-wrap: anywhere; white-space: normal; }
.v-module-filter { width: 100%; flex-wrap: wrap; }
.v-module-filter select { min-width: 0; flex: 1 1 180px; }

/* Native iOS pickers use their own appearance; these controls retain the active theme. */
.v-filter-choice,.v-date-choice { min-width: 0; min-height: 46px; padding: 9px 14px; border: 1px solid var(--v-line-strong); border-radius: 12px; background: var(--v-surface-1); color: var(--v-text-1); font: inherit; font-size: 15px; text-align: left; }
.v-filter-choice { min-width: min(230px,65vw); }
.v-date-choice { width: 100%; }
.v-date-dialog,.v-goal-actions-dialog { width: min(420px,calc(100% - 24px)); }
.v-date-month { display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; gap: 4px; margin: 16px 0 12px; text-align: center; }
.v-date-month button,.v-date-actions button { min-height: 44px; border: 1px solid var(--v-line); border-radius: 12px; background: var(--v-surface-2); color: var(--v-text-1); font: inherit; }
.v-date-month button { font-size: 24px; }
.v-date-weekdays,.v-date-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; text-align: center; }
.v-date-weekdays span { padding: 8px 0; color: var(--v-text-2); font-size: 12px; }
.v-date-grid button,.v-date-grid > span { width: 100%; min-height: 40px; display: grid; place-items: center; border: 0; border-radius: 11px; background: transparent; color: var(--v-text-1); font: inherit; font-variant-numeric: tabular-nums; }
.v-date-grid button:hover,.v-date-grid button.is-today {  color: var(--v-accent-strong); }
.v-date-grid button[aria-selected="true"] {   font-weight: 600;   }
.v-date-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 17px; }
.v-date-actions button { padding: 0 16px; }
.v-goal-actions-list { display: grid; gap: 6px; margin-top: 17px; }
.v-goal-actions-list button { min-height: 52px; padding: 10px 14px; border: 1px solid var(--v-line); border-radius: 13px; background: var(--v-surface-2); color: var(--v-text-1); text-align: left; font: inherit; font-weight: 500; }
.v-goal-actions-list button:disabled { opacity: .45; }
.v-goal-card__next { position: relative; z-index: 3; pointer-events: auto; }
@media (min-width: 720px) {
  .v-overview > .v-goal-card:not(.v-goal-card--no-image) .v-goal-card__copy {
    height: auto; grid-template-rows: auto auto; align-content: center; gap: 20px;
  }
  .v-overview > .v-goal-card .v-goal-card__details-group { align-self: auto; padding: 0; }
}
.v-language-settings { padding: 24px; }
.v-language-settings h2 { margin: 0 0 16px; }
.v-language-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 8px; }
.v-language-list button { min-height: 48px; padding: 10px 13px; border: 1px solid var(--v-line); border-radius: 12px; background: var(--v-surface-2); color: var(--v-text-1); text-align: left; font: inherit; }
.v-language-list button[aria-pressed="true"] {    font-weight: 600;  }
.v-write-status:not([hidden]) { position: fixed; z-index: 30; inset: auto max(12px,env(safe-area-inset-right)) calc(78px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); width: max-content; max-width: min(480px,calc(100vw - 24px)); margin: 0 auto; box-shadow: var(--v-shadow-float); }
.v-support-card > div { min-width: 0; overflow-wrap: anywhere; }
.v-support-card .v-button { min-width: 0; flex: 0 1 auto; }
.v-nav-item span { display: block; overflow: visible; overflow-wrap: anywhere; -webkit-line-clamp: unset; }
.v-side-rail { overflow-y: auto; }
@media (max-width: 719px) {
  .v-overview .v-balance-card__topline { padding-inline-end: 68px; }
  .v-overview .v-balance-card__topline .v-eyebrow { overflow-wrap: anywhere; text-align: start; }
}
@media (max-width: 350px) {
  html { min-width: 0; }
  .v-overview > .v-goal-card { grid-template-columns: minmax(0,1fr); }
  .v-overview > .v-goal-card .v-goal-card__visual-button { grid-column: 1; justify-self: center; }
  .v-overview .v-balance-card__stats { gap: 2px; }
}

/* The goal illustration uses visible painted area for its progress. Keep the
   unfilled portion recognizable, and place its percentage with the artwork. */
.v-goal-card__art img:first-child { opacity: .4; filter: grayscale(1) saturate(0) brightness(.72) contrast(.85); }
:root[data-theme="dark"] .v-goal-card__art img:first-child { opacity: .38; filter: grayscale(1) saturate(0) brightness(.65) contrast(.9); }
.v-goal-card__art img:last-child { transition: clip-path 210ms var(--v-ease-out); }
@media (min-width: 720px) {
  .v-overview > .v-goal-card:not(.v-goal-card--no-image) {
    grid-template-columns: minmax(0,285px) clamp(112px,12vw,172px);
    justify-content: center;
    gap: clamp(10px,1.4vw,19px);
  }
  .v-overview > .v-goal-card .v-goal-card__visual,
  .v-overview > .v-goal-card .v-goal-card__visual-button,
  .v-overview > .v-goal-card .v-goal-card__art { width: clamp(112px,12vw,172px); }
  .v-overview > .v-goal-card .v-goal-card__visual-percent {
    left: 50%; right: auto; transform: translateX(-50%);
  }
  .v-overview > .v-goal-card:not(.v-goal-card--no-image) .v-goal-card__copy {
    gap: 9px; grid-template-rows: auto auto; align-content: center;
  }
}

/* Currency choice remains inside the operation being edited. */
.v-currency-inline[hidden] { display: none; }
.v-currency-inline { min-width: 0; width: 100%; padding: 12px; border: 1px solid var(--v-line-strong); border-radius: 15px; background: var(--v-surface-2); }
.v-currency-inline__label { display: grid; gap: 8px; color: var(--v-text-2); font-size: 13px; font-weight: 600; }
.v-currency-inline__label input { min-width: 0; width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid var(--v-line-strong); border-radius: 11px; background: var(--v-surface-1); color: var(--v-text-1); font: inherit; font-size: 15px; }
.v-currency-inline .v-currency-list { max-height: min(246px,33dvh); margin-top: 8px; }
.v-currency-inline .v-currency-option { min-height: 43px; background: var(--v-surface-1); }
.v-currency-inline .v-balance-edit-form__error { margin: 8px 0 0; }

/* A goal opens with its state and main actions, not a list of destinations. */
.v-goal-actions-dialog { width: min(570px,calc(100% - 24px)); }
.v-goal-actions-dialog .v-breakdown-dialog__surface { max-height: min(760px,calc(100dvh - 24px)); }
.v-goal-details { display: grid; gap: 15px; padding-top: 18px; }
.v-goal-details__hero { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 140px; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--v-line); border-radius: 17px; background: var(--v-surface-2); }
.v-goal-details__numbers { min-width: 0; display: grid; align-content: center; gap: 5px; }
.v-goal-details__numbers strong { color: var(--v-accent-strong); font-size: clamp(23px,4vw,31px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.v-goal-details__numbers span { color: var(--v-text-2); font-size: 15px; overflow-wrap: anywhere; }
.v-goal-details__numbers small { color: var(--v-text-2); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.v-goal-details__picture { min-width: 0; display: grid; justify-items: center; gap: 3px; }
.v-goal-details__picture .v-goal-card__art { width: min(100%,135px); }
.v-goal-details__picture strong { min-width: 56px; padding: 4px 9px; border: 1px solid var(--v-line-strong); border-radius: 999px; background: var(--v-surface-1); color: var(--v-accent-strong); text-align: center; font-size: 16px; font-variant-numeric: tabular-nums; }
.v-goal-details__picture .v-goal-card__art[hidden] { display: none; }
.v-goal-details .v-goal-actions-list { margin: 0; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.v-goal-details .v-goal-actions-list button { min-height: 50px; }
.v-goal-details .v-goal-actions-list button:first-child { grid-column: 1 / -1; border-color: color-mix(in srgb,var(--v-accent) 42%,var(--v-line)); background: var(--v-surface-accent); color: var(--v-accent-strong); }
.v-goal-details__edit { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; border-top: 1px solid var(--v-line); }
.v-goal-details__edit button,.v-goal-details__more button { min-height: 42px; padding: 7px 12px; border: 1px solid var(--v-line); border-radius: 11px; background: var(--v-surface-1); color: var(--v-accent-strong); font: inherit; font-weight: 600; }
.v-goal-details__more summary { width: fit-content; padding: 8px 2px; color: var(--v-text-2); cursor: pointer; font-weight: 500; }
.v-goal-details__more button { margin-top: 5px; }
.v-goal-inline { display: grid; gap: 9px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--v-line); }
.v-goal-inline__choices { display: flex; flex-wrap: wrap; gap: 7px; }
.v-goal-inline__choices button { min-height: 42px; padding: 7px 11px; border: 1px solid var(--v-line-strong); border-radius: 11px; background: var(--v-surface-2); color: var(--v-text-1); font: inherit; font-size: 13px; font-weight: 500; }
.v-goal-inline__amount[hidden] { display: none; }
.v-goal-inline__amount { display: grid; gap: 7px; }
.v-goal-inline__amount > div { display: flex; gap: 8px; }
.v-goal-inline__amount input { min-width: 0; flex: 1; }
.v-goal-inline__hide { width: fit-content; min-height: 42px; margin-top: 12px; padding: 8px 0; border: 0; background: transparent; color: var(--v-text-2); font: inherit; font-size: 13px; font-weight: 500; text-align: left; }
.v-goal-inline__hide:hover { color: var(--v-accent-strong); }
.v-edit-operation-actions { grid-template-columns: minmax(0,1fr); gap: 8px; }
.v-edit-operation-actions .v-button { padding-inline: 4px; font-size: 13px; }
@media (max-width: 719px) {
  .v-live-auth { bottom: max(12px,var(--v-safe-bottom),var(--v-dialog-bottom,0px)); max-height: calc(var(--v-usable-height,100svh) - 24px); }
}
.v-currency-dialog .v-currency-list { flex: 1 1 auto; max-height: min(48dvh,480px); overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; overscroll-behavior: contain; }
@media (max-width: 719px) {
  .v-currency-dialog .v-breakdown-dialog__surface { height: min(720px,calc(var(--v-usable-height,100svh) - 24px)); }
  .v-currency-dialog .v-currency-list { max-height: none; }
}
@media (max-width: 470px) {
  .v-goal-details__hero { grid-template-columns: minmax(0,1fr) 105px; gap: 7px; padding: 12px; }
  .v-goal-details__numbers strong { font-size: 21px; }
  .v-goal-details__picture .v-goal-card__art { width: 100px; }
  .v-goal-details .v-goal-actions-list { grid-template-columns: minmax(0,1fr); }
  .v-goal-details .v-goal-actions-list button:first-child { grid-column: 1; }
}

/* One visible viewport contains the shell, navigation and modal surfaces.
   Browser chrome and keyboard events change geometry once per frame. */
.v-side-rail { top: var(--v-viewport-top,0px); height: var(--v-viewport-height,100dvh); padding-top: max(18px,var(--v-safe-top)); padding-bottom: max(18px,var(--v-safe-bottom)); }
.v-breakdown-dialog,.v-live-auth {
  --v-dialog-width: 460px;
  position: fixed; inset: auto; top: var(--v-viewport-top,0px); left: var(--v-viewport-left,0px);
  width: var(--v-viewport-width,100vw); height: var(--v-viewport-height,100dvh);
  max-width: none; max-height: none; margin: 0;
  padding: max(16px,var(--v-safe-top)) max(16px,var(--v-safe-right)) max(16px,var(--v-safe-bottom)) max(16px,var(--v-safe-left));
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  overflow: hidden; overflow: clip; opacity: 1; transform: none; transition: none;
  align-items: center; justify-items: center;
}
.v-breakdown-dialog[open],.v-live-auth[open] { display: grid; }
.v-breakdown-dialog:not([open]),.v-live-auth:not([open]) { display: none; }
.v-breakdown-dialog[open].is-visible,.v-live-auth[open].is-visible { transform: none; }
.v-breakdown-dialog > .v-breakdown-dialog__surface,.v-live-auth > .v-live-auth__surface {
  min-width: 0; min-height: 0; width: min(100%,var(--v-dialog-width)); max-height: 100%;
  border: 1px solid var(--v-line); border-radius: 25px; background: var(--v-surface-1); box-shadow: none;
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 1; transform: translate3d(0,calc(var(--v-viewport-height,100dvh) / 2 + 50% + max(16px,var(--v-safe-bottom))),0);
  transition: transform var(--v-motion-sheet-in) var(--v-ease-sheet-in);
  backface-visibility: hidden;
}
.v-breakdown-dialog.is-visible > .v-breakdown-dialog__surface,.v-live-auth.is-visible > .v-live-auth__surface { opacity: 1; transform: none; }
.v-breakdown-dialog.is-restoring > .v-breakdown-dialog__surface,.v-live-auth.is-restoring > .v-live-auth__surface { transition: none; }
.v-breakdown-dialog[open] > .v-breakdown-dialog__surface,.v-live-auth[open] > .v-live-auth__surface { isolation: isolate; }
.v-breakdown-dialog.is-closing > .v-breakdown-dialog__surface,.v-live-auth.is-closing > .v-live-auth__surface {
  pointer-events: none; transition-duration: var(--v-motion-sheet-out); transition-timing-function: var(--v-ease-sheet-out);
}
.v-breakdown-dialog.is-replacing::backdrop { opacity: 1; transition: none; }
/* One inexpensive opacity layer belongs to the entire modal family. Native
   modality still owns input/focus; no page blur or stacked native dimming. */
.v-modal-backdrop {
  position: fixed; inset: 0; z-index: var(--v-modal-layer-z,100100);
  pointer-events: none; contain: strict; background: var(--v-modal-dim); opacity: 0;
  transition: opacity var(--v-motion-sheet-in) var(--v-ease-sheet-in);
}
.v-modal-backdrop.is-visible { opacity: 1; will-change: opacity; }
.v-modal-backdrop.is-closing {
  opacity: 0; will-change: opacity;
  transition-duration: var(--v-motion-sheet-out); transition-timing-function: var(--v-ease-sheet-out);
}
.v-modal-backdrop.is-picker { transition-duration: 160ms; transition-timing-function: var(--v-ease-out); }
.v-modal-backdrop.is-picker.is-closing { transition-duration: 120ms; }
.v-modal-backdrop.is-instant { transition: none; }
@media (prefers-reduced-motion: reduce) { .v-modal-backdrop { transition: none !important; } }
.v-breakdown-dialog::backdrop,.v-live-auth::backdrop { background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;opacity:1;transition:none; }
.v-breakdown-dialog.v-dialog-shared-backdrop::backdrop,.v-live-auth.v-dialog-shared-backdrop::backdrop { opacity:0;transition:none; }
.v-live-auth { --v-dialog-width: 440px; }
.v-support-dialog { --v-dialog-width: 520px; }
.v-goal-actions-dialog { --v-dialog-width: 570px; }
.v-goal-visual-dialog { --v-dialog-width: 650px; }
.v-date-dialog { --v-dialog-width: 420px; }
.v-currency-dialog > .v-breakdown-dialog__surface { display: flex; flex-direction: column; height: min(680px,100%); overflow: hidden; }
.v-currency-dialog .v-currency-list { min-height: 0; max-height: none; flex: 1 1 auto; }
.v-breakdown-dialog__header,.v-live-auth__surface > header { flex: none; }
.v-dialog-body { min-width: 0; min-height: 0; flex: 1 1 auto; overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scroll-padding-block: 10px; }
.v-dialog-body input,.v-dialog-body textarea { scroll-margin-block: 10px; }
.v-dialog-body > .v-balance-edit-form { margin-top: 18px; padding-bottom: 4px; }
.v-currency-dialog .v-dialog-body { display: flex; flex-direction: column; overflow: hidden; }
.v-currency-dialog .v-currency-search,.v-currency-dialog [data-currency-error] { flex: none; }
.v-editor-dialog .v-breakdown-dialog__header { display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr); gap: 8px; align-items: center; }
.v-editor-dialog .v-breakdown-dialog__header > .v-icon-button { grid-column: 1; grid-row: 1; justify-self: start; }
.v-editor-dialog .v-breakdown-dialog__header > :is(h2,div) { grid-column: 2; grid-row: 1; text-align: center; }
.v-editor-dialog .v-breakdown-dialog__header .v-card-title { font-size: 16px; line-height: 1.25; }
.v-editor-dialog .v-dialog-save { grid-column: 3; grid-row: 1; justify-self: stretch;
  min-width: 0; min-height: 44px; padding: 6px 2px; border: 0; border-radius: 12px;
  background: transparent; color: var(--v-accent-strong); font-size: 14px; font-weight: 600;
  line-height: 1.25; box-shadow: none; }
.v-editor-dialog .v-dialog-save:hover { background: var(--v-surface-accent); box-shadow: none; transform: none; }
:root.v-keyboard-open .v-breakdown-dialog > .v-breakdown-dialog__surface,
:root.v-keyboard-open .v-live-auth > .v-live-auth__surface { padding-block: 14px; }
:root.v-keyboard-open .v-breakdown-dialog__header { padding-bottom: 10px; }
/* The inner body owns scrolling; full-viewport modal wrappers stay clipped. */
.v-breakdown-dialog,.v-live-auth { scrollbar-width:none; }
.v-breakdown-dialog::-webkit-scrollbar,.v-live-auth::-webkit-scrollbar { width:0; height:0; }
@media (prefers-reduced-motion: reduce) {
  .v-breakdown-dialog > .v-breakdown-dialog__surface,.v-live-auth > .v-live-auth__surface { transition: none; transform: none; }
}
@media (max-width: 719px) {
  .v-breakdown-dialog,.v-live-auth { align-items: end; padding: max(12px,var(--v-safe-top)) max(12px,var(--v-safe-right)) max(12px,var(--v-safe-bottom)) max(12px,var(--v-safe-left)); }
  .v-breakdown-dialog > .v-breakdown-dialog__surface,.v-live-auth > .v-live-auth__surface {
    border-radius: 26px; padding-bottom: 18px; opacity: 1;
    transform: translate3d(0,calc(100% + max(12px,var(--v-safe-bottom))),0);
    transition: transform var(--v-motion-sheet-in) var(--v-ease-sheet-in);
    backface-visibility: hidden;
  }
  .v-breakdown-dialog.is-closing > .v-breakdown-dialog__surface,.v-live-auth.is-closing > .v-live-auth__surface {
    transition-duration: var(--v-motion-sheet-out); transition-timing-function: var(--v-ease-sheet-out);
  }
  .v-breakdown-dialog.is-visible > .v-breakdown-dialog__surface,.v-live-auth.is-visible > .v-live-auth__surface { transform: none; }
  .v-app-topbar { position: relative; top: auto; right: auto; width: 100%; height: calc(52px + var(--v-safe-top)); min-height: 0;
    padding: var(--v-safe-top) max(14px,var(--v-safe-right)) 0 max(14px,var(--v-safe-left)); background: var(--v-canvas); }
  .v-app-content { padding-top: 14px; }
  .v-editor-dialog > .v-breakdown-dialog__surface { padding: 18px; }
}
@media (max-width: 719px) and (prefers-reduced-motion: reduce) {
  .v-breakdown-dialog > .v-breakdown-dialog__surface,.v-live-auth > .v-live-auth__surface { transition: none; transform: none; }
}

/* A returned form is already at its final pose on every layout. Keep this
   rule until the next exit; an opening-focus RAF must not restart its entry. */
.v-breakdown-dialog.is-restoring > .v-breakdown-dialog__surface,
.v-live-auth.is-restoring > .v-live-auth__surface { transition:none; transform:none; }
/* Desktop mouse/trackpad surfaces open in place. Primary touch devices keep
   their sheet motion; anchored pickers retain their compact reveal. */
@media (hover:hover) and (pointer:fine) {
  .v-breakdown-dialog:not(.v-glass-picker) > .v-breakdown-dialog__surface,
  .v-live-auth > .v-live-auth__surface { transition:none; transform:none; }
  .v-modal-backdrop { transition:none; }
}

/* A quiet structural placeholder avoids an empty page on cold network loads. */
/* The phone shell occupies the viewport. Only its content scrolls; switching
   to a taller screen cannot turn the navigation into part of the document. */
@media (max-width: 719px) {
  html:has(body.v-shell-page) { height: 100%; min-height: 0; overflow: hidden; scrollbar-gutter: auto; }
  body.v-shell-page { height: 100svh; min-height: 0; overflow: hidden; }
  .v-shell-page .v-app-shell { position: fixed; top: var(--v-viewport-top,0px); left: var(--v-viewport-left,0px);
    width: var(--v-viewport-width,100vw); height: var(--v-viewport-height,100svh); min-height: 0; overflow: hidden; }
  .v-shell-page .v-app-main {
    height: 100%; min-height: 0; overflow-x: hidden; overflow-y: auto;
    overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch;
  }
  :root.v-dialog-open .v-shell-page .v-app-main { overflow-y: hidden; }
  :root.v-dialog-open .v-bottom-nav { pointer-events: none; }
  .v-bottom-nav {
    position: fixed;
    top: auto;
    bottom: calc(var(--v-viewport-bottom,0px) + max(8px,var(--v-safe-bottom)));
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}
.v-live-skeleton { width: min(calc(100% - 48px),var(--v-shell-content)); margin: 14px auto 0; }
:root[data-live-state="ready"] .v-live-skeleton,
:root[data-live-state="refreshing"] .v-live-skeleton { display: none; }
:root[data-live-state="locked"] .v-live-page .v-app-content { display: none; }
:root[data-live-state="locked"] .v-live-banner[data-mode="loading"] { display: none; }
.v-live-skeleton__cards { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 16px; }
.v-live-skeleton__cards > div { min-height: 230px; display: grid; align-content: center; gap: 22px; padding: 28px; border: 1px solid var(--v-line); border-radius: var(--v-radius-card); background: var(--v-surface-1); }
.v-live-skeleton__cards span,.v-live-skeleton__cards strong,.v-live-skeleton__cards small,.v-live-skeleton__rows span { display: block; height: 15px; border-radius: 999px; background: var(--v-surface-3); }
.v-live-skeleton__cards span { width: 24%; }
.v-live-skeleton__cards strong { width: 58%; height: 38px; }
.v-live-skeleton__cards small { width: 72%; }
.v-live-skeleton__cards small:last-child { width: 42%; }
.v-live-skeleton__rows { display: grid; gap: 12px; margin-top: 24px; }
.v-live-skeleton__rows span { height: 65px; border-radius: 17px; background: var(--v-surface-1); }
.v-module-status[data-loading="true"] { width: 100%; }
.v-module-status[data-loading="true"]::before { width: 100%; height: 60px; border: 0; border-radius: 14px; background: var(--v-surface-2); animation: none; }
@media (max-width: 719px) {
  .v-live-skeleton { width: 100%; padding: calc(66px + var(--v-safe-top)) max(14px,var(--v-safe-right)) calc(96px + var(--v-safe-bottom)) max(14px,var(--v-safe-left)); }
  .v-live-skeleton__cards { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .v-live-skeleton__cards > div { min-height: 190px; }
}

/* Connection information stays in document flow and never covers navigation or forms. */
.v-offline-status { margin: 0 auto 12px; max-width: 680px; padding: 8px 14px; border-radius: var(--v-radius-control); background: var(--v-surface-2); color: var(--v-text-2); font-size: 13px; line-height: 1.45; text-align: center; }
.v-offline-status[hidden] { display: none; }
