/* Vastelor windows: one set of surfaces, field rows and actions for both themes.
   Motion and viewport containment are owned by vastelor-contract.css. */
:root {
  --v-window-edge: color-mix(in srgb,var(--v-line) 42%,transparent);
  --v-window-background: #f2f1f7;
}
:root[data-theme="dark"] { --v-window-background: var(--v-surface-2); }
/* Full windows share one canvas. Fields keep their own contrasting cards;
   anchored glass calendars continue to use the picker material. */
.v-breakdown-dialog > .v-breakdown-dialog__surface,
.v-live-auth > .v-live-auth__surface { background: var(--v-window-background); }
:root:not([data-theme="dark"]) :is(.v-breakdown-dialog,.v-live-auth) {
  --v-text-1: #111114; --v-text-2: #66666e; --v-text-3: #76767e;
}
/* Leave room for the glass rim and keyboard outline inside the scroll clip.
   Content keeps its horizontal position; overflow remains native and auto. */
.v-dialog-body { padding: 4px; margin-inline: -4px; }
.v-surface { border-color: var(--v-window-edge); }
.v-breakdown-dialog__surface,.v-live-auth__surface { border-color: var(--v-window-edge); }
.v-editor-dialog { --v-dialog-width: 510px; }
.v-editor-dialog > .v-breakdown-dialog__surface {
  padding: 22px; background: var(--v-window-background); border: 1px solid var(--v-window-edge);
}
.v-breakdown-dialog__header,.v-live-auth__surface > header { border-bottom: 0; }
:is(.v-breakdown-dialog__header,.v-live-auth__surface > header) > .v-icon-button {
  width: 44px; height: 44px; min-height: 44px; padding: 0;
  border: 0;
  border-radius: 50%; background: var(--v-surface-3); box-shadow: none; color: var(--v-text-2);
}
:is(.v-breakdown-dialog__header,.v-live-auth__surface > header) > .v-icon-button:hover {
   color: var(--v-text-1);
}
.v-editor-dialog .v-breakdown-dialog__header {
  grid-template-columns: 44px minmax(0,1fr) auto; gap: 14px 10px; padding-bottom: 0;
}
.v-editor-dialog .v-breakdown-dialog__header > :is(h2,div) {
  grid-column: 1 / -1; grid-row: 2; text-align: left; min-width: 0;
}
.v-editor-dialog .v-breakdown-dialog__header .v-eyebrow { display: none; }
.v-editor-dialog .v-breakdown-dialog__header .v-card-title {
  font-size: 26px; font-weight: 600; line-height: 1.18; letter-spacing: -.02em; overflow-wrap: anywhere;
}
.v-editor-dialog .v-dialog-save {
  min-height: 44px; min-width: 0; max-width: 100%; width: auto; justify-self: end;
  padding: 10px 19px; border-radius: 999px; background: var(--v-accent); color: var(--v-accent-ink);
  font-size: 15px; font-weight: 600; line-height: 1.3; white-space: normal; overflow-wrap: anywhere;
  box-shadow: none;
}
.v-editor-dialog .v-dialog-save:hover { background: var(--v-accent-strong); box-shadow: none; }
.v-editor-dialog .v-dialog-save:disabled { opacity: .5; cursor: default; }
.v-editor-dialog .v-dialog-body { margin-top: 18px; }
.v-editor-dialog .v-dialog-body > .v-balance-edit-form { margin: 0; padding-bottom: 2px; gap: 16px; }
.v-editor-dialog .v-dialog-body > .v-small { margin: 0 0 12px; overflow-wrap: anywhere; }
.v-amount-field {
  min-width: 0; padding: 10px 14px; border: 1px solid var(--v-window-edge); border-radius: 18px; background: var(--v-surface-1);
  box-shadow: none;
}
.v-editor-dialog .v-amount-field > label {
  display: block; margin: 0; font-size: 12px; font-weight: 500; color: var(--v-text-2);
}
.v-amount-field__line { display: flex; min-width: 0; align-items: center; gap: 12px; }
.v-editor-dialog .v-amount-field__line > input {
  flex: 1 1 0; width: 0; min-width: 0; min-height: 44px; padding: 4px 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none;
  color: var(--v-text-1); font-size: clamp(25px,6.4vw,30px); font-weight: 600;
  letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums;
}
.v-editor-dialog .v-amount-field__line > input::placeholder { font-weight: 500; color: var(--v-text-3); }
.v-amount-field__line > .v-operation-currency,
.v-amount-field__line > .v-amount-currency {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 8px 11px; border: 0; border-radius: 999px;
  background: var(--v-surface-accent); color: var(--v-accent-strong); font-size: 14px; font-weight: 600;
}
.v-amount-field__line .v-icon { width: 16px; height: 16px; }
.v-amount-field:focus-within { box-shadow: none; }
.v-editor-dialog .v-amount-field__line > input:focus {
  border: 0; outline: none; box-shadow: none;
}
.v-form-group { min-width: 0; overflow: hidden; border-radius: 20px; background: var(--v-surface-1);
  border: 1px solid var(--v-window-edge); box-shadow: none; }
.v-form-row {
  display: flex; align-items: center; min-width: 0; min-height: 76px; gap: 12px; padding: 10px 14px;
}
.v-form-row__field { min-width: 0; flex: 1; }
.v-editor-dialog .v-form-row__field > label {
  display: block; margin: 0; font-size: 12px; font-weight: 500; color: var(--v-text-2);
}
.v-editor-dialog .v-form-row__field > input {
  width: 100%; min-width: 0; min-height: 36px; padding: 5px 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; outline: none; font-size: 16px; font-weight: 500;
}
.v-editor-dialog .v-form-row__field > input:focus { border: 0; outline: none; box-shadow: none; }
.v-form-row:focus-within { background: color-mix(in srgb,var(--v-surface-accent) 48%,var(--v-surface-1)); }
.v-form-choice {
  width: 100%; min-width: 0; min-height: 64px; display: grid;
  grid-template-columns: 32px minmax(0,.85fr) minmax(0,1.15fr) 16px;
  align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 0;
  background: transparent; color: var(--v-text-1); text-align: left; font-size: 15px; font-weight: 500;
}
.v-form-group > :is(.v-form-row,.v-form-choice):not(:first-child) {
  border-top: 1px solid var(--v-window-edge);
}
.v-form-choice:focus-visible { outline: 2px solid var(--v-focus); outline-offset: -3px; }
.v-form-choice__label { min-width: 0; overflow-wrap: anywhere; }
.v-form-choice__value { min-width: 0; overflow-wrap: anywhere; text-align: right; color: var(--v-text-2);
  font-size: 14px; line-height: 1.35; font-weight: 400; }
.v-form-choice > .v-icon { width: 16px; height: 16px; color: var(--v-text-3); }
.v-pictogram { display: grid; place-items: center;
  width: 32px; height: 32px; flex: 0 0 32px; border-radius: 8px; }
.v-pictogram .v-icon { width: 20px; height: 20px; }
/* Original colour tiles, shared by dynamic categories and static menu rows. */
:is(.v-pictogram,.v-settings-menu__icon,.v-operation-item__icon,.v-history-item__icon,.v-list-row__icon) {
  --v-pictogram-fill: #178b81;
  border: 0; background: var(--v-pictogram-fill); color: #fff; box-shadow: none;
}
:is(.v-pictogram,.v-settings-menu__icon,.v-operation-item__icon,.v-history-item__icon,.v-list-row__icon):has(
  :is([data-v-icon="note"],[data-v-icon="food"],[data-v-icon="transport"],[data-v-icon="tag"],[data-v-icon="education"],[data-v-icon="globe"])) {
  --v-pictogram-fill: #438ccb;
}
:is(.v-pictogram,.v-settings-menu__icon,.v-operation-item__icon,.v-history-item__icon,.v-list-row__icon):has(
  :is([data-v-icon="briefcase"],[data-v-icon="coffee"])) { --v-pictogram-fill: #c9669b; }
:is(.v-pictogram,.v-settings-menu__icon,.v-operation-item__icon,.v-history-item__icon,.v-list-row__icon):has(
  :is([data-v-icon="gift"],[data-v-icon="history"],[data-v-icon="restore"],[data-v-icon="refund"])) { --v-pictogram-fill: #9274bc; }
:is(.v-pictogram,.v-settings-menu__icon,.v-operation-item__icon,.v-history-item__icon,.v-list-row__icon):has(
  :is([data-v-icon="health"],[data-v-icon="calendar"])) { --v-pictogram-fill: #cb727e; }
:is(.v-pictogram,.v-settings-menu__icon,.v-operation-item__icon,.v-history-item__icon,.v-list-row__icon):has(
  :is([data-v-icon="settings"],[data-v-icon="other"])) { --v-pictogram-fill: #55717c; }
:is(.v-pictogram,.v-settings-menu__icon,.v-operation-item__icon,.v-history-item__icon,.v-list-row__icon) .v-icon { color: #fff; }
.v-editor-dialog .v-goal-visual-selected { width: 100%; border: 1px solid var(--v-window-edge); border-radius: 20px;
  padding: 9px 14px; background: var(--v-surface-1); font-size: 15px; font-weight: 500; }
.v-editor-dialog .v-goal-visual-selected span { min-width: 0; overflow-wrap: anywhere; }
.v-editor-dialog .v-goal-inline { border: 1px solid var(--v-window-edge); border-radius: 20px; padding: 14px; margin-top: 0; background: var(--v-surface-1); }
.v-editor-dialog .v-goal-inline__choices { gap: 6px; }
.v-editor-dialog .v-goal-inline__choices button { border: 0; border-radius: 12px; font-size: 13px; min-height: 48px;
  background: var(--v-surface-2); color: var(--v-text-2); }
.v-editor-dialog .v-goal-inline__hide { justify-self: center; border: 0; background: transparent;
  color: var(--v-text-2); margin-top: 0; min-height: 44px; font-size: 14px; }
.v-editor-dialog .v-edit-operation-actions { margin: 12px 0 0; padding: 0; border: 0; }
.v-editor-dialog .v-edit-operation-actions .v-button { border: 0; border-radius: 14px; background: transparent;
  min-height: 48px; font-size: 14px; }
.v-editor-dialog .v-edit-operation-actions .v-button:hover { background: var(--v-danger-soft); }
.v-dialog-actions { flex: none; display: flex; justify-content: flex-end; gap: 12px;
  padding-top: 10px; margin-top: 12px; border: 0; }
.v-category-list { grid-template-columns: minmax(0,1fr); gap: 4px; }
.v-category-option { display: flex; align-items: center; gap: 12px; min-height: 58px;
  border-color: transparent; border-radius: 14px; }
.v-category-option > span { min-width: 0; overflow-wrap: anywhere; }
.v-category-option .v-pictogram { flex: 0 0 32px; }
.v-settings-menu__icon { font-size: 0; }
.v-settings-menu__icon .v-icon { width: 23px; height: 23px; }
.v-currency-search { border-color: var(--v-line); border-radius: 999px; }
.v-currency-option { min-height: 58px; border-radius: 15px; }
.v-date-dialog .v-date-month > button { border-radius: 50%; }
.v-date-actions button { border-radius: 999px; }
.v-live-auth__surface input { border-radius: 16px; border-color: var(--v-line); background: var(--v-surface-1); }
.v-shell-page .v-currency-search,
.v-shell-page .v-goal-visual-grid button,
.v-shell-page .v-breakdown-dialog .v-settings-message-field { background: var(--v-surface-1); }
.v-live-auth__surface .v-button--primary { border-radius: 999px; }
/* Modern pill shape with the original quiet income/expense tints. */
.v-action-pair .v-button,
.v-overview .v-action-pair .v-button {
  min-height: 48px; gap: 7px; padding: 10px 14px; border: 1px solid var(--v-action-edge,var(--v-window-edge)); border-radius: 999px;
  font-size: 14px; font-weight: 600; line-height: 1.25; box-shadow: none;
}
.v-action-pair .v-button .v-icon { width: 19px; height: 19px; flex: 0 0 19px; }
.v-action-pair .v-button--income {
  --v-action-edge: color-mix(in srgb,var(--v-positive) 22%,transparent);
  background: color-mix(in srgb,var(--v-positive) 9%,var(--v-surface-1)); color: var(--v-positive);
}
.v-action-pair .v-button--expense {
  --v-action-edge: color-mix(in srgb,var(--v-danger) 22%,transparent);
  background: color-mix(in srgb,var(--v-danger) 7%,var(--v-surface-1)); color: var(--v-danger);
}
.v-action-pair .v-button--income:hover { background: color-mix(in srgb,var(--v-positive) 14%,var(--v-surface-1)); }
.v-action-pair .v-button--expense:hover { background: color-mix(in srgb,var(--v-danger) 12%,var(--v-surface-1)); }
.v-action-pair .v-button__label { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.v-action-pair .v-button:focus-visible { outline-offset: 3px; }
.v-activity-card__all-link { flex-shrink: 0; white-space: nowrap; }
.v-activity-card__heading .v-section-title { min-width: 0; }
@media (min-width: 1100px) {
  .v-overview .v-action-pair { max-width: 440px; }
}
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .v-editor-dialog { --v-dialog-width: 530px; }
  .v-editor-dialog .v-breakdown-dialog__header { grid-template-columns: 44px minmax(0,1fr) 44px; }
  .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: 22px; }
  .v-editor-dialog .v-dialog-actions .v-dialog-save { min-width: 132px; }
}
@media (max-width: 719px) {
  .v-editor-dialog > .v-breakdown-dialog__surface { padding: 18px; border-radius: 28px; }
  .v-editor-dialog .v-breakdown-dialog__header .v-card-title { font-size: 25px; }
}
@media (max-width: 359px) {
  .v-editor-dialog > .v-breakdown-dialog__surface { padding-inline: 14px; }
  .v-editor-dialog .v-dialog-save { padding-inline: 15px; font-size: 14px; }
  .v-amount-field { padding-inline: 13px; }
  .v-amount-field__line { gap: 7px; }
  .v-form-choice { gap: 8px; padding-inline: 12px; }
  .v-form-row { gap: 9px; padding-inline: 12px; }
  .v-action-pair .v-button,.v-overview .v-action-pair .v-button { padding-inline: 10px; font-size: 13px; }
}
:root.v-keyboard-open .v-editor-dialog > .v-breakdown-dialog__surface { padding-block: 12px; }
:root.v-keyboard-open .v-editor-dialog .v-breakdown-dialog__header { gap-block: 8px; padding-bottom: 0; }
:root.v-keyboard-open .v-editor-dialog .v-breakdown-dialog__header .v-card-title { font-size: 21px; }
:root.v-keyboard-open .v-editor-dialog .v-dialog-body { margin-top: 12px; }
:root.v-keyboard-open .v-editor-dialog .v-dialog-actions { margin-top: 8px; padding-top: 8px; }
:root.v-keyboard-open .v-editor-dialog .v-amount-field__line > input { min-height: 44px; font-size: 26px; }
:root.v-keyboard-open .v-editor-dialog .v-goal-inline__amount input { min-height: 44px; }

/* One home hierarchy for phones, tablets and desktop. The goal label occupies
   its own top row; the editable text and illustration share the row below. */
.v-overview .v-balance-card__topline .v-eyebrow,
.v-money-layout .v-overview > .v-goal-card > .v-goal-card__label {
  margin: 0; color: var(--v-text-2); font-size: 11px; font-weight: 500;
  letter-spacing: .055em; line-height: 1.4; text-transform: uppercase;
}
.v-money-layout .v-overview > .v-goal-card {
  --v-goal-art-size: clamp(100px,12vw,172px);
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto minmax(0,1fr); justify-content: stretch;
  align-items: stretch; gap: 14px 18px; padding: 14px 24px;
}
.v-money-layout .v-overview > .v-goal-card > .v-goal-card__label { grid-column: 1 / -1; grid-row: 1; }
.v-money-layout .v-overview > .v-goal-card .v-goal-card__body {
  grid-column: 1; grid-row: 2; display: grid; min-width: 0; width: 100%; height: 100%;
  max-width: calc(285px + var(--v-goal-art-size) + 18px); justify-self: center;
  grid-template-columns: minmax(0,1fr) var(--v-goal-art-size); gap: 18px; align-items: center;
}
.v-money-layout .v-overview > .v-goal-card .v-goal-card__copy {
  grid-column: 1; grid-row: 1; min-width: 0; height: auto; display: grid;
  grid-template-rows: minmax(0,1fr); align-self: stretch; align-content: center; gap: 0;
}
.v-money-layout .v-overview > .v-goal-card .v-goal-card__details-group {
  align-self: center; align-content: center; gap: 8px; padding: 0;
}
.v-money-layout .v-overview > .v-goal-card .v-goal-card__visual-button {
  grid-column: 2; grid-row: 1; align-self: center; justify-self: end;
  width: var(--v-goal-art-size);
}
.v-money-layout .v-overview > .v-goal-card .v-goal-card__visual,
.v-money-layout .v-overview > .v-goal-card .v-goal-card__art { width: var(--v-goal-art-size); }
.v-money-layout .v-overview > .v-goal-card.v-goal-card--no-image { --v-goal-art-size: 86px; }
.v-money-layout .v-overview > .v-goal-card.v-goal-card--no-image .v-goal-card__visual-button { min-height: 72px; }
.v-overview .v-balance-card__amount strong { white-space: nowrap; overflow-wrap: normal; }
.v-overview .v-balance-card__amount.is-wrapped strong { white-space: normal; overflow-wrap: anywhere; }

/* The header shares the page background. Its two independent controls sit in
   one quiet glass capsule, using neutral ink rather than category colors. */
.v-app-topbar { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.v-app-topbar__actions {
  --v-topbar-ink: #171a1d;
  --v-topbar-edge: rgb(23 26 29 / 12%);
  --v-topbar-highlight: rgb(255 255 255 / 92%);
  --v-topbar-hover: rgb(23 26 29 / 6%);
  gap: 6px; flex: 0 0 auto; padding: 3px; border: 1px solid var(--v-topbar-edge); border-radius: 999px;
  background: linear-gradient(180deg,rgb(255 255 255 / 88%),rgb(255 255 255 / 54%));
  box-shadow: inset 0 1px 0 var(--v-topbar-highlight),0 2px 6px rgb(23 26 29 / 3%);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
:root[data-theme="dark"] .v-app-topbar__actions {
  --v-topbar-ink: #fff;
  --v-topbar-edge: rgb(255 255 255 / 13%);
  --v-topbar-highlight: rgb(255 255 255 / 12%);
  --v-topbar-hover: rgb(255 255 255 / 7%);
  background: linear-gradient(180deg,rgb(36 36 38 / 74%),rgb(16 16 17 / 62%));
  box-shadow: inset 0 1px 0 var(--v-topbar-highlight),0 2px 6px rgb(0 0 0 / 9%);
}
.v-app-topbar__actions .v-icon-button {
  width: 44px; height: 44px; min-height: 44px; flex: 0 0 44px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: var(--v-topbar-ink); box-shadow: none;
}
.v-app-topbar__actions .v-icon-button:focus-visible { outline: 2px solid var(--v-topbar-ink); outline-offset: -2px; }
.v-app-topbar__actions .v-icon { width: 24px; height: 24px; color: inherit; }

/* The side rail keeps the original colored glyph tiles used by categories. */
.v-nav-item .v-nav-glyph {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: color-mix(in srgb,var(--v-pictogram-fill) 11%,var(--v-surface-1));
  color: var(--v-pictogram-fill); transition: background-color var(--v-motion-fast) ease,color var(--v-motion-fast) ease;
}
.v-nav-item .v-nav-glyph .v-icon { width: 22px; height: 22px; color: inherit; }
.v-nav-item[data-shell-nav="operations"] .v-nav-glyph { --v-pictogram-fill: #438ccb; }
.v-nav-item.is-active .v-nav-glyph { background: var(--v-pictogram-fill); color: #fff; }
/* Bottom navigation has neutral ink and a quiet neutral selection in both
   themes. Keep the same glyph geometry and touch targets as the side rail. */
.v-bottom-nav {
  --v-bottom-nav-ink: #171a1d; --v-bottom-nav-active: var(--v-hover-surface);
  --v-nav-selection: var(--v-choice-surface);
  --v-nav-selection-edge: var(--v-choice-edge);
}
:root[data-theme="dark"] .v-bottom-nav {
  --v-bottom-nav-ink: #fff; --v-bottom-nav-active: var(--v-hover-surface);
  --v-nav-selection: var(--v-choice-surface);
  --v-nav-selection-edge: var(--v-choice-edge);
}
.v-bottom-nav .v-nav-item { gap: 3px; padding: 4px 2px; color: var(--v-bottom-nav-ink); }
.v-bottom-nav .v-nav-item.is-active {
  border-radius: 999px; background: var(--v-nav-selection); color: var(--v-bottom-nav-ink);
  box-shadow: inset 0 1px 0 var(--v-nav-selection-edge);
}
.v-bottom-nav .v-nav-item .v-nav-glyph {
  width: 30px; height: 30px; border-radius: 9px;
  background: transparent; color: var(--v-bottom-nav-ink);
}
@media (hover: hover) and (pointer: fine) {
  .v-bottom-nav .v-nav-item:hover {  color: var(--v-bottom-nav-ink); }
}
.v-bottom-nav::before { border-color: var(--v-window-edge); border-radius: 999px; }

/* A single glass selection moves under the four independent buttons. On
   browsers without :has(), the active button keeps the same static surface. */
@supports selector(:has(*)) {
  .v-bottom-nav {
    --v-nav-index: 0; --v-nav-cell: min(69px,calc((100% - 56px) / 4));
    grid-template-columns: repeat(4,minmax(0,var(--v-nav-cell)));
  }
  .v-bottom-nav:has([data-shell-nav="operations"].is-active) { --v-nav-index: 1; }
  .v-bottom-nav:has([data-shell-nav="history"].is-active) { --v-nav-index: 2; }
  .v-bottom-nav:has([data-shell-nav="settings"].is-active) { --v-nav-index: 3; }
  .v-bottom-nav::after {
    position: absolute; z-index: 0; top: 3px; bottom: 3px;
    left: calc(50% - var(--v-nav-cell) - var(--v-nav-cell)); width: var(--v-nav-cell);
    border-radius: 999px; background: var(--v-nav-selection);
    box-shadow: inset 0 1px 0 var(--v-nav-selection-edge); content: ''; pointer-events: none;
    transform: translateX(calc(var(--v-nav-index) * 100%));
    transition: transform var(--v-motion-standard) var(--v-ease-out);
  }
  .v-bottom-nav .v-nav-item { z-index: 1; }
  .v-bottom-nav .v-nav-item.is-active { background: transparent; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .v-bottom-nav::after { transition: none; }
}

/* Focus stays inside account controls and cannot be clipped by the scroll body. */
.v-live-auth__surface header { padding-bottom: 0; }
.v-live-auth__message:empty { display: none; }
.v-live-auth[data-auth-mode="account"] { --v-dialog-width:390px; }
.v-account-summary { display:flex;align-items:center;gap:14px;margin:18px 0 20px;min-width:0; }
.v-account-summary[hidden] { display:none; }
.v-account-summary > div { min-width:0; }
.v-account-summary strong { display:block;margin-top:4px;font-size:15px;font-weight:500;overflow-wrap:anywhere; }
.v-account-avatar { display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:50%; }
.v-account-avatar .v-icon { width:23px;height:23px; }
.v-live-auth__surface .v-account-signout { display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:12px 15px;
 border:0;border-radius:16px;background:transparent;color:var(--v-danger);font:inherit;font-size:15px;text-align:start;cursor:pointer; }
.v-account-signout .v-icon { width:20px;height:20px;flex:none; }
.v-live-auth__surface .v-account-signout[hidden] { display:none; }
.v-live-auth__surface :is(button,input):focus-visible { outline: 2px solid var(--v-focus); outline-offset: -3px; }

@media (max-width: 719px) {
  .v-money-layout .v-overview > .v-goal-card { --v-goal-art-size: clamp(96px,28vw,124px); padding: 18px; gap: 14px 12px; }
  .v-money-layout .v-overview > .v-goal-card .v-goal-card__body { max-width: none; gap: 12px; }
  .v-money-layout .v-overview > .v-goal-card .v-goal-card__details-group { gap: 7px; }
  .v-money-layout .v-overview > .v-goal-card .v-goal-card__amount > .v-phone-copy { display: grid; gap: 3px; }
  .v-money-layout .v-overview > .v-goal-card .v-goal-card__amount strong { font-size: 17px; line-height: 1.3; }
  .v-money-layout .v-overview > .v-goal-card .v-goal-card__target { font-size: 13px; line-height: 1.4; }
  .v-money-layout .v-overview > .v-goal-card .v-goal-card__name { font-size: clamp(22px,5.8vw,25px); line-height: 1.15; }
}
@media (max-width: 359px) {
  .v-money-layout .v-overview > .v-goal-card { --v-goal-art-size: 80px; gap: 12px 10px; padding: 16px; }
  .v-money-layout .v-overview > .v-goal-card .v-goal-card__body { gap: 10px; }
  .v-money-layout .v-overview > .v-goal-card .v-goal-card__name { font-size: 21px; }
}

/* Navigation ink is exactly black/white on every device. Financial/category
   colours are independent of navigation and keep their existing tokens. */
:root { --v-navigation-ink: #000; }
:root[data-theme="dark"] { --v-navigation-ink: #fff; }
.v-shell-page .v-nav-item,.v-shell-page .v-nav-item.is-active,
.v-shell-page .v-nav-item .v-nav-glyph,.v-shell-page .v-nav-item.is-active .v-nav-glyph {
  color: var(--v-navigation-ink);
}
.v-shell-page .v-nav-item .v-nav-glyph,.v-shell-page .v-nav-item.is-active .v-nav-glyph { background: transparent; }
.v-shell-page .v-app-topbar__actions .v-icon-button { color: var(--v-navigation-ink); }
.v-shell-page .v-editor-dialog .v-breakdown-dialog__header { grid-template-columns: 44px minmax(0,1fr) auto; }
.v-shell-page .v-editor-dialog .v-breakdown-dialog__header > :is(h2,div) { grid-column: 1 / -1; grid-row: 2; text-align: left; }
.v-shell-page .v-editor-dialog .v-dialog-save { grid-column: 3; grid-row: 1; }
.v-shell-page .v-editor-dialog .v-edit-operation-actions { display: block; margin-top: 14px; }
.v-shell-page .v-editor-dialog .v-edit-operation-actions .v-button {
  width: 100%; gap: 8px; background: color-mix(in srgb,var(--v-danger-soft) 48%,var(--v-surface-1));
}

/* Hover and focus retain the same monochrome navigation ink. */
.v-shell-page .v-nav-item:hover,
.v-shell-page .v-nav-item:focus-visible { color: var(--v-navigation-ink); }

/* Selection stays quiet on touch. Keyboard focus remains explicit. */
.v-category-option { position: relative; padding-right: 37px; border: 1px solid transparent;
  background: transparent; box-shadow: none; color: var(--v-text-1);
  transition: background-color var(--v-motion-fast) ease,transform var(--v-motion-fast) var(--v-ease-out); }
.v-category-option[aria-pressed="true"]::after { position: absolute; right: 13px; content: '✓'; color: var(--v-text-1); font-size: 15px; }
.v-category-option:focus-visible { outline: 2px solid var(--v-focus); outline-offset: -2px; }
.v-category-option:active { transform: scale(.988);  }
@media (hover: hover) and (pointer: fine) {
  .v-category-option:hover { transform: translateY(-2px);  }
  .v-statistics-link:hover { color: var(--v-accent-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .v-category-option { transition: none; }
}

/* A101: separate field cards with the same rhythm in goal and operation editors. */
.v-editor-dialog .v-form-group {
  display: grid; gap: 16px; background: transparent; border: 0; border-radius: 0; overflow: visible;
}
.v-editor-dialog .v-form-row,
.v-editor-dialog .v-form-choice {
  min-height: 80px; padding: 14px 16px; gap: 16px;
  border: 1px solid var(--v-window-edge); border-radius: 20px; background: var(--v-surface-1);
}
.v-editor-dialog .v-form-group > :is(.v-form-row,.v-form-choice):not(:first-child) {
  border-top: 1px solid var(--v-window-edge);
}
.v-editor-dialog .v-form-row .v-pictogram,
.v-editor-dialog .v-form-choice .v-pictogram { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
.v-editor-dialog .v-form-choice {
  grid-template-columns: 38px minmax(0,1fr) 16px;
  grid-template-rows: auto auto; row-gap: 5px;
}
.v-editor-dialog .v-form-choice > .v-pictogram { grid-column: 1; grid-row: 1 / 3; }
.v-editor-dialog .v-form-choice__label { grid-column: 2; grid-row: 1; font-size: 12px; color: var(--v-text-2); }
.v-editor-dialog .v-form-choice__value { grid-column: 2; grid-row: 2; text-align: left; color: var(--v-text-1); font-size: 16px; font-weight: 500; }
.v-editor-dialog .v-form-choice > .v-icon { grid-column: 3; grid-row: 1 / 3; }
.v-editor-dialog .v-form-row__field > label { margin-bottom: 5px; }
.v-editor-dialog .v-form-note label { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; }
.v-form-optional { font-size: 11px; font-weight: 400; color: var(--v-text-3); }
.v-editor-dialog .v-form-note textarea {
  display: block; width: 100%; min-width: 0; min-height: 38px; max-height: 120px; padding: 5px 0;
  resize: vertical; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  color: var(--v-text-1); font: inherit; font-size: 16px; line-height: 1.4;
}
.v-editor-dialog .v-form-note textarea:focus { outline: none; }
.v-editor-dialog .v-form-note textarea::placeholder { color: var(--v-text-3); }
.v-pictogram--detail { --v-pictogram-fill: #6f87a4; }
.v-editor-dialog .v-amount-field { padding: 14px 16px; border-radius: 20px; }
.v-editor-dialog .v-amount-field > label { margin-bottom: 6px; }
.v-goal-saved-field .v-amount-field__line { margin-top: 8px; }
.v-form-hint { margin: 4px 0 0; color: var(--v-text-2); font-size: 12px; line-height: 1.45; }
.v-goal-editor-meter { height: 7px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: var(--v-line); }
.v-goal-editor-meter > span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--v-positive); }
.v-goal-editor-summary { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--v-text-2); font-size: 12px; }
.v-goal-editor-summary > span { min-width: 0; overflow-wrap: anywhere; }
.v-goal-editor-visibility { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 58px; padding: 12px 16px; border: 1px solid var(--v-window-edge); border-radius: 20px; background: var(--v-surface-1); color: var(--v-text-1); font: inherit; font-size: 14px; font-weight: 500; text-align: left; }
.v-editor-toggle { flex: 0 0 44px; height: 26px; padding: 3px; border-radius: 999px; background: var(--v-line); }
.v-editor-toggle::before { content: ''; display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--v-surface-1); box-shadow: 0 1px 3px rgb(0 0 0 / 14%); transition: transform 160ms ease; }
.v-goal-editor-visibility[aria-pressed="true"] .v-editor-toggle { background: var(--v-positive); }
.v-goal-editor-visibility[aria-pressed="true"] .v-editor-toggle::before { transform: translateX(18px); }
.v-goal-editor-visibility:focus-visible { outline: 2px solid var(--v-focus); outline-offset: 2px; }
@media (max-width: 359px) {
  .v-editor-dialog .v-form-row,.v-editor-dialog .v-form-choice { padding-inline: 12px; gap: 12px; }
  .v-editor-dialog .v-form-choice { row-gap: 5px; }
  .v-editor-dialog .v-amount-field { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { .v-editor-toggle::before { transition: none; } }

.v-operation-types { display:inline-flex;align-self:flex-start;flex:none;width:max-content;max-width:100%;padding:3px;border:0;border-radius:999px;gap:2px; }
.v-operation-types button { display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 14px;border:0;border-radius:999px;background:transparent;color:var(--v-text-1);font:inherit;font-size:14px;font-weight:500;cursor:pointer; }
.v-operation-types button[aria-pressed="true"] { background:var(--v-feedback-hover);box-shadow:var(--v-feedback-edge); }
[data-money-type="INCOME"] .v-operation-kind-sign,[data-edit-operation-type][data-kind="income"] .v-operation-kind-sign { color:var(--v-positive); }
[data-money-type="EXPENSE"] .v-operation-kind-sign,[data-edit-operation-type][data-kind="expense"] .v-operation-kind-sign { color:var(--v-danger); }
.v-operation-kind-sign { font-size:20px;font-weight:500;line-height:1; }
.v-operation-kind { display:inline-flex;align-self:flex-start;align-items:center;gap:8px;min-height:44px;width:max-content;max-width:100%;padding:8px 15px;border-radius:999px;font-size:14px; }
.v-editor-operation-actions { display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0; }
.v-shell-page .v-editor-delete { width:44px;height:44px;min-width:44px;min-height:44px;flex:none;display:grid;place-items:center;
  padding:0;border:0;border-radius:50%;background:#ff3b40;color:#fff;cursor:pointer; }
.v-shell-page .v-editor-delete[hidden] { display:none; }
:root[data-theme="dark"] .v-shell-page .v-editor-delete { background:#d84b59; }
.v-shell-page .v-editor-delete .v-icon { width:22px;height:22px;color:inherit; }
.v-shell-page .v-editor-delete[data-action="restore"] { background:var(--v-positive-soft);color:var(--v-positive); }
.v-shell-page .v-editor-delete:focus-visible { outline:2px solid var(--v-focus);outline-offset:3px; }
@media(max-width:359px) { .v-operation-types button { padding-inline:11px;font-size:13px; } }

/* A119: bounded image chooser, including short landscape screens. */
.v-goal-visual-dialog > .v-breakdown-dialog__surface { height: min(100%,680px); }
.v-goal-visual-dialog .v-dialog-body { display: flex; flex-direction: column; margin-top: 14px; }
.v-goal-visual-dialog .v-dialog-body > [role="alert"]:not([hidden]) { flex: none; margin: 8px 0 0; }
@media (max-height: 450px) {
  .v-goal-visual-dialog > .v-breakdown-dialog__surface { padding: 12px; }
  .v-goal-visual-dialog .v-breakdown-dialog__header { min-height: 36px; }
  .v-goal-visual-dialog .v-dialog-body { margin-top: 6px; }
  .v-goal-visual-dialog .v-eyebrow { display: none; }
}
