/* ==========================================================================
   Veroxoning — 2026 skin for the personal area (/app?view=cabinet).
   Same editorial language as the homepage: warm paper, deep forest, gold,
   Newsreader display serif + Inter. Only tokens and surfaces are re-skinned;
   the compiled Vue account bundle keeps its structure and behaviour.
   Loaded after velora-theme.css / wizard-2026.css. The account bundle CSS is
   injected later by the app, so element rules carry a `body` prefix to win
   specificity without scattering !important.
   ========================================================================== */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/assets/fonts/newsreader-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/newsreader-italic-latin.woff2') format('woff2');
}

:root {
  --acct-cream: #f6f1e7;
  --acct-cream-2: #f1ebde;
  --acct-paper: #fffdf8;
  --acct-sand: #ebe3d3;
  --acct-forest: #0b241d;
  --acct-forest-2: #103028;
  --acct-ink: #131c18;
  --acct-ink-2: #33413a;
  --acct-muted: #5c6a62;
  --acct-faint: #7d8a82;
  --acct-line: #e0d8c8;
  --acct-line-strong: #cbc1ad;
  --acct-gold: #e7c169;
  --acct-gold-deep: #b98f2f;
  --acct-green: #24543d;
  --acct-green-bg: #eaf2ec;
  --acct-danger: #a8372f;
  --acct-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --acct-sans: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --acct-r-sm: 10px;
  --acct-r: 16px;
  --acct-r-lg: 22px;
  --acct-shadow: 0 18px 40px rgba(11, 36, 29, 0.06), 0 2px 6px rgba(11, 36, 29, 0.03);
}

/* ── Tokens ─────────────────────────────────────────────────────────────── */
body .vel-cabinet {
  --color-ground: var(--acct-cream);
  --color-surface: var(--acct-paper);
  --color-raised: var(--acct-cream-2);
  --color-fg: var(--acct-ink);
  --color-muted: var(--acct-muted);
  --color-faint: var(--acct-faint);
  --color-line: var(--acct-line);
  --color-line-strong: var(--acct-line-strong);
  --color-track: var(--acct-line);
  --color-accent: var(--acct-forest);
  --color-accent-deep: #071a15;
  --color-accent-dim: var(--acct-forest-2);
  --color-accent-ink: var(--acct-cream);
  --color-success: #2f6b4f;
  --color-danger: var(--acct-danger);
  --radius-control: var(--acct-r-sm);
  --radius-panel: var(--acct-r-lg);
  background: var(--acct-cream);
  color: var(--acct-ink);
  font-family: var(--acct-sans);
}

/* ── Header (stays fixed; JS drives --vel-shell-head-full for the spacer) ── */
body .vel-cabinet .vel-cabinet__header {
  background: color-mix(in srgb, #f6f1e7 88%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-block-end: 1px solid var(--acct-line);
  box-shadow: 0 1px 0 rgba(11, 36, 29, 0.02), 0 10px 24px rgba(11, 36, 29, 0.03);
}
body .vel-cabinet .vel-cabinet__bar {
  gap: 0.85rem;
}
/* bar order: logo | account | tracker (DOM puts the tracker between them) */
body .vel-cabinet .vel-cabinet__side {
  order: 1;
}
body .vel-cabinet .vel-logo__word {
  font-family: var(--acct-serif);
  font-weight: 500;
  font-size: 1.36rem;
  letter-spacing: -0.015em;
  color: var(--acct-forest);
}
body .vel-cabinet .vel-cabinet__user-name {
  color: var(--acct-ink);
}
body .vel-cabinet .vel-cabinet__user-mail {
  color: var(--acct-faint);
}
body .vel-cabinet .vel-cabinet__bell {
  color: var(--acct-muted);
}
body .vel-cabinet .vel-cabinet__bell:hover {
  color: var(--acct-forest);
}
body .vel-cabinet .vel-avatar {
  background: var(--acct-forest);
  color: var(--acct-cream);
  font-family: var(--acct-serif);
  font-weight: 500;
}

/* ── Progress tracker: wizard skin pins height/width for the onboarding
      rail; here it must size to its own content so the header can measure. ── */
body .vel-cabinet .vel-track {
  order: 2;
  inline-size: auto;
  block-size: auto;
  margin-inline: 0;
  background: transparent;
  border: 0;
  padding-block: 0.35rem 0.7rem;
  padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
  gap: 0.15rem;
}
body .vel-cabinet .vel-track__lead {
  font-family: var(--acct-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--acct-muted);
}
body .vel-cabinet .vel-track__meta {
  color: var(--acct-faint);
  font-size: 0.7rem;
}
body .vel-cabinet .vel-track__row {
  --vel-track-line-y: 0.9rem;
}
body .vel-cabinet .vel-step__mark {
  background: var(--acct-paper);
  border-color: var(--acct-line-strong);
  color: var(--acct-muted);
}
body .vel-cabinet .vel-step--done .vel-step__mark {
  background: var(--acct-forest);
  border-color: var(--acct-forest);
  color: var(--acct-gold);
}
body .vel-cabinet .vel-step--current .vel-step__mark {
  background: var(--acct-paper);
  border-color: var(--acct-gold-deep);
  color: var(--acct-forest);
  box-shadow: 0 0 0 4px rgba(231, 193, 105, 0.28);
  animation: none;
}
body .vel-cabinet .vel-step--call .vel-step__mark {
  background: #fdf6e6;
  border-color: var(--acct-gold-deep);
  color: var(--acct-forest);
  animation: none;
}
body .vel-cabinet .vel-step__label {
  color: var(--acct-faint);
}
body .vel-cabinet .vel-step--done .vel-step__label,
body .vel-cabinet .vel-step--current .vel-step__label,
body .vel-cabinet .vel-step--call .vel-step__label {
  color: var(--acct-ink-2);
}

/* Phones: marks only, so the fixed header stays slim */
@media (max-width: 40rem) {
  body .vel-cabinet .vel-cabinet__track {
    padding-block: 0.2rem 0.55rem;
    padding-inline: max(0.85rem, env(safe-area-inset-left)) max(0.85rem, env(safe-area-inset-right));
  }
  body .vel-cabinet .vel-cabinet__track .vel-step {
    min-block-size: 2rem;
    padding-block: 0;
  }
  body .vel-cabinet .vel-cabinet__track .vel-step__label {
    display: none;
  }
  body .vel-cabinet .vel-cabinet__track .vel-track__row {
    --vel-track-line-y: 0.9rem;
  }
  body .vel-cabinet .vel-track__lead {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }
  body .vel-cabinet .vel-track__meta {
    font-size: 0.64rem;
  }
}

/* ── Type ───────────────────────────────────────────────────────────────── */
body .vel-cabinet :is(h1, h2, h3, h4) {
  font-family: var(--acct-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--acct-forest);
}
body .vel-cabinet h1 {
  line-height: 1.12;
}
body .vel-cabinet h2 {
  line-height: 1.18;
}
body .vel-cabinet h3 {
  line-height: 1.25;
}
body .vel-cabinet .vel-label {
  font-family: var(--acct-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--acct-muted);
}
body .vel-cabinet .vel-num {
  font-variant-numeric: tabular-nums;
}

/* ── User / IBAN strip ──────────────────────────────────────────────────── */
body .vel-cabinet .vel-brow {
  border: 1px solid var(--acct-line);
  border-radius: var(--acct-r);
  min-block-size: 3.6rem;
  background: linear-gradient(100deg, var(--acct-cream-2), var(--acct-paper) 64%);
  box-shadow: none;
}
body .vel-cabinet .vel-brow::before {
  display: none;
}
body .vel-cabinet .vel-brow__col + .vel-brow__col {
  border-inline-start-color: var(--acct-line);
}
body .vel-cabinet .vel-brow__lbl {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acct-muted);
}
body .vel-cabinet .vel-brow__val {
  color: var(--acct-forest);
  font-weight: 600;
}
body .vel-cabinet .vel-brow__mono {
  color: var(--acct-ink-2);
}
body .vel-cabinet .vel-brow__ava {
  background: var(--acct-forest);
  color: var(--acct-cream);
  font-family: var(--acct-serif);
}
body .vel-cabinet .vel-brow__iban-btn {
  color: var(--acct-forest);
}
body .vel-cabinet .vel-brow__col--who:hover {
  background: rgba(11, 36, 29, 0.05);
}

/* ── Side navigation ────────────────────────────────────────────────────── */
@media (min-width: 64rem) {
  body .vel-cabinet .vel-cabinet-nav {
    background: linear-gradient(180deg, #f1ebde 0%, #f6f1e7 64%, #f6f1e7 100%);
    border-inline-end: 1px solid var(--acct-line);
  }
  body .vel-cabinet .vel-cabinet-nav__link {
    min-block-size: 2.6rem;
    border-radius: 12px;
    color: var(--acct-ink-2);
    font-weight: 550;
    transition: background-color 0.16s ease, color 0.16s ease;
  }
  body .vel-cabinet .vel-cabinet-nav__link:hover {
    background: var(--acct-cream-2);
    color: var(--acct-forest);
  }
  body .vel-cabinet .vel-cabinet-nav__link--active:not(.vel-cabinet-nav__link--cta),
  body .vel-cabinet .vel-cabinet-nav__link--active:not(.vel-cabinet-nav__link--cta):hover {
    background: var(--acct-forest);
    color: var(--acct-cream);
    box-shadow: 0 12px 26px rgba(11, 36, 29, 0.18);
  }
  body .vel-cabinet .vel-cabinet-nav__link--active .vel-cabinet-nav__icon-wrap {
    color: var(--acct-gold);
  }
  body .vel-cabinet .vel-cabinet-nav__link--cta:not(.vel-cabinet-nav__link--active) {
    background: transparent;
    color: var(--acct-forest);
    box-shadow: inset 0 0 0 1px var(--acct-line-strong);
  }
  body .vel-cabinet .vel-cabinet-nav__link--cta:not(.vel-cabinet-nav__link--active):hover {
    background: var(--acct-cream-2);
    box-shadow: inset 0 0 0 1px var(--acct-forest);
  }
  body .vel-cabinet .vel-cabinet-nav__link--cta.vel-cabinet-nav__link--active {
    background: var(--acct-forest);
    color: var(--acct-cream);
  }
  body .vel-cabinet .vel-cabinet-nav__label {
    font-size: 0.9rem;
  }
}

@media (max-width: 63.99rem) {
  body .vel-cabinet .vel-cabinet-nav {
    border-color: var(--acct-line);
    background: color-mix(in srgb, #fffdf8 95%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  body .vel-cabinet .vel-cabinet-nav__link--active,
  body .vel-cabinet .vel-cabinet-nav__link--active:not(.vel-cabinet-nav__link--cta),
  body .vel-cabinet .vel-cabinet-nav__link--active:hover {
    background: var(--acct-forest);
    color: var(--acct-cream);
  }
  body .vel-cabinet .vel-cabinet-nav__link--active .vel-cabinet-nav__label {
    color: var(--acct-cream);
  }
  body .vel-cabinet .vel-cabinet-nav__link--cta:not(.vel-cabinet-nav__link--active) {
    background: transparent;
    color: var(--acct-forest);
    box-shadow: inset 0 0 0 1px var(--acct-line-strong);
  }
}

/* ── Hero balance card ──────────────────────────────────────────────────── */
body .vel-cabinet .vel-payout,
body .vel-cabinet .vel-payout--ready {
  border: 1px solid #0b241d;
  border-radius: var(--acct-r-lg);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(231, 193, 105, 0.26) 0%, transparent 54%),
    radial-gradient(90% 80% at 0% 100%, rgba(18, 60, 49, 0.9) 0%, transparent 60%),
    linear-gradient(150deg, #0e2a22 0%, #0b241d 58%, #081b16 100%);
  box-shadow: 0 24px 50px rgba(11, 36, 29, 0.22), inset 0 1px 0 rgba(246, 241, 231, 0.08);
  color: var(--acct-cream);
  padding: var(--vel-cab-card-pad, 1rem) clamp(1.05rem, 2vw, 1.6rem);
}
body .vel-cabinet .vel-payout :is(.vel-payout__balance-label, .vel-payout__amount-label) {
  color: rgba(246, 241, 231, 0.62);
  font-weight: 600;
  letter-spacing: 0.13em;
}
body .vel-cabinet .vel-payout .vel-payout__amount {
  font-family: var(--acct-serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--acct-cream);
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1;
}
body .vel-cabinet .vel-payout :is(.vel-payout__prestito, .vel-payout__prestito-bell) {
  color: rgba(246, 241, 231, 0.72);
}
body .vel-cabinet .vel-payout :is(.vel-payout__bstatus, .vel-payout__tan-chip, .vel-payout__approved) {
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(246, 241, 231, 0.22);
  color: var(--acct-cream);
}
body .vel-cabinet .vel-payout .vel-payout__bstatus--ready {
  border-color: rgba(231, 193, 105, 0.45);
  background: rgba(231, 193, 105, 0.12);
  color: #f6e6bd;
}
/* the bundle pins this CTA with !important mint gradients */
body .vel-cabinet .vel-payout .vel-payout__withdraw,
body .vel-cabinet .vel-payout .vel-payout__withdraw:hover:not(:disabled) {
  background: var(--acct-gold) !important;
  border: 0 !important;
  color: var(--acct-forest) !important;
  border-radius: 999px;
  font-weight: 650;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26) !important;
  filter: none !important;
}
body .vel-cabinet .vel-payout .vel-payout__withdraw:hover:not(:disabled) {
  background: var(--acct-gold-deep) !important;
  color: var(--acct-paper) !important;
}
body .vel-cabinet .vel-payout .vel-payout__withdraw--pulse {
  animation: none;
  background: var(--acct-gold) !important;
}
body .vel-cabinet .vel-payout :is(.vel-payout__withdraw-go, .vel-payout__withdraw svg) {
  color: inherit;
}
/* secondary actions on the dark hero read as ghost buttons */
body .vel-cabinet .vel-payout button:not(.vel-payout__withdraw) {
  background: transparent !important;
  border: 1px solid rgba(246, 241, 231, 0.28) !important;
  color: var(--acct-cream) !important;
  box-shadow: none !important;
}
body .vel-cabinet .vel-payout button:not(.vel-payout__withdraw):hover {
  background: rgba(246, 241, 231, 0.1) !important;
  border-color: rgba(246, 241, 231, 0.5) !important;
}

/* ── Steps card ─────────────────────────────────────────────────────────── */
body .vel-cabinet .vel-steps {
  background: var(--acct-paper);
  border: 1px solid var(--acct-line);
  border-radius: var(--acct-r-lg);
  box-shadow: var(--acct-shadow);
}
body .vel-cabinet .vel-steps__toggle-label {
  color: var(--acct-ink-2);
}
body .vel-cabinet .vel-steps__list {
  border-color: var(--acct-line);
}
body .vel-cabinet .vel-step-row__title {
  color: var(--acct-ink-2);
}
body .vel-cabinet .vel-step-row__mark {
  background: var(--acct-cream-2);
  color: var(--acct-forest);
}
body .vel-cabinet .vel-step-row--done .vel-step-row__mark {
  background: var(--acct-forest);
  color: var(--acct-gold);
}
body .vel-cabinet .vel-step-row--current .vel-step-row__mark {
  background: var(--acct-paper);
  box-shadow: inset 0 0 0 2px var(--acct-gold-deep);
  color: var(--acct-forest);
}
body .vel-cabinet .vel-meter {
  background: var(--acct-cream-2);
}
body .vel-cabinet .vel-meter__fill {
  background: var(--acct-forest);
}

/* ── Withdraw panel / methods ───────────────────────────────────────────── */
body .vel-cabinet .vel-ppanel {
  border: 1px solid var(--acct-line);
  border-radius: var(--acct-r-lg);
  background: var(--acct-paper);
  box-shadow: var(--acct-shadow);
}
body .vel-cabinet .vel-ppanel__title {
  font-family: var(--acct-serif);
  color: var(--acct-forest);
}
body .vel-cabinet .vel-ppanel__lead,
body .vel-cabinet .vel-ppanel__max {
  color: var(--acct-muted);
}
body .vel-cabinet .vel-ppanel__sum {
  color: var(--acct-forest);
}
body .vel-cabinet .vel-ppanel__cta {
  border-radius: 999px;
  background: var(--acct-forest);
  color: var(--acct-cream);
}
body .vel-cabinet .vel-ppanel__cta:hover {
  background: var(--acct-forest-2);
}
body .vel-cabinet .vel-methods__item,
body .vel-cabinet .vel-methods__face {
  border-color: var(--acct-line-strong);
  background: var(--acct-paper);
  color: var(--acct-ink-2);
  border-radius: 12px;
}
body .vel-cabinet .vel-methods__item:has(input:checked) .vel-methods__face {
  border-color: var(--acct-forest);
  background: #eef2ee;
  color: var(--acct-forest);
}
body .vel-cabinet .vel-methods__hint {
  color: var(--acct-muted);
}
body .vel-cabinet .vel-range {
  accent-color: var(--acct-forest);
}

/* ── Profile ────────────────────────────────────────────────────────────── */
body .vel-cabinet .vel-profile__heading,
body .vel-cabinet .vel-docs-page__heading {
  font-size: clamp(1.7rem, 2.4vw, 2.05rem);
  text-align: start;
}
body .vel-cabinet .vel-profile__stack > section {
  background: var(--acct-paper);
  border: 1px solid var(--acct-line);
  border-radius: var(--acct-r-lg);
  box-shadow: var(--acct-shadow);
}
body .vel-cabinet .vel-profile__logout {
  border-color: rgba(168, 55, 47, 0.24);
  background: #fbf3f1;
}
body .vel-cabinet .vel-profile__logout-title {
  font-family: var(--acct-serif);
  color: var(--acct-danger);
}
body .vel-cabinet .vel-profile__logout-btn {
  border-radius: 999px;
  background: var(--acct-danger);
  /* the bundle pins the outline variant with `color: …!important` */
  color: var(--acct-paper) !important;
  border-color: rgba(168, 55, 47, 0.45) !important;
}
body .vel-cabinet .vel-profile__logout-btn:hover:not(:disabled) {
  background: #8e2d26;
  border-color: #8e2d26 !important;
}
body .vel-cabinet .vel-personal :is(dt, .vel-personal__label),
body .vel-cabinet .vel-security :is(dt, .vel-security__label) {
  color: var(--acct-muted);
}
body .vel-cabinet .vel-personal :is(dd, .vel-personal__value),
body .vel-cabinet .vel-security :is(dd, .vel-security__value) {
  color: var(--acct-ink);
}

/* ── Documents ──────────────────────────────────────────────────────────── */
body .vel-cabinet .vel-docs-page__heading {
  font-size: clamp(1.7rem, 2.4vw, 2.05rem);
}
body .vel-cabinet .vel-docs-page__panel,
body .vel-cabinet .vel-docs-page__accepted,
body .vel-cabinet .vel-contract-block {
  background: var(--acct-paper);
  border: 1px solid var(--acct-line);
  border-radius: var(--acct-r-lg);
  box-shadow: var(--acct-shadow);
}
body .vel-cabinet .vel-docs-page__subhead {
  font-family: var(--acct-serif);
}
/* legal preview: the one-word title must not push the page wide on phones */
body .vel-cabinet .vel-csheet__title {
  font-size: clamp(0.8rem, 2.8vw, 1.05rem);
  overflow-wrap: anywhere;
  hyphens: auto;
}
body .vel-cabinet .vel-docs-page__list {
  border-color: var(--acct-line);
}
body .vel-cabinet .vel-docs-page__moved {
  border: 1px solid rgba(185, 143, 47, 0.3);
  background: #fdf6e6;
  border-radius: var(--acct-r);
  color: #6b5518;
}
body .vel-cabinet .vel-docs-page__moved-text {
  color: #6b5518;
}
body .vel-cabinet .vel-doc-card,
body .vel-cabinet .vel-docup {
  background: var(--acct-paper);
  border-color: var(--acct-line);
  border-radius: var(--acct-r);
}
body .vel-cabinet .vel-docup__badge--verified {
  background: var(--acct-green-bg);
  color: var(--acct-green);
  border-color: rgba(47, 107, 79, 0.3);
}

/* ── Support chat ───────────────────────────────────────────────────────── */
body .vel-cabinet .vel-chat__card {
  background: var(--acct-paper);
  border: 1px solid var(--acct-line);
  border-radius: var(--acct-r-lg);
  box-shadow: var(--acct-shadow);
}
body .vel-cabinet .vel-chat__head {
  background: linear-gradient(140deg, #0e2a22 0%, #0b241d 72%);
  color: var(--acct-cream);
}
body .vel-cabinet .vel-chat__name,
body .vel-cabinet .vel-chat__title {
  font-family: var(--acct-serif);
  color: var(--acct-cream);
}
body .vel-cabinet .vel-chat__head :is(.vel-chat__status, .vel-chat__hours, .vel-chat__workhours) {
  color: rgba(246, 241, 231, 0.74);
}
body .vel-cabinet .vel-chat__thread {
  background: var(--acct-cream);
}

/* ── Inputs ─────────────────────────────────────────────────────────────── */
body .vel-cabinet :is(input, select, textarea) {
  border-color: var(--acct-line-strong);
  background: var(--acct-paper);
  color: var(--acct-ink);
}
body .vel-cabinet :is(input, select, textarea):focus,
body .vel-cabinet :is(input, select, textarea):focus-visible {
  outline: none;
  border-color: var(--acct-forest);
  box-shadow: 0 0 0 3px rgba(11, 36, 29, 0.12);
}

/* ── Dialogs — the bundle teleports them outside .vel-cabinet, so these
      rules are scoped to the page that hosts the cabinet, not to the element. */
body:has(.vel-cabinet) dialog[open] {
  background: var(--acct-paper);
  border: 1px solid var(--acct-line);
  border-radius: var(--acct-r-lg);
  color: var(--acct-ink);
  box-shadow: 0 30px 64px rgba(11, 36, 29, 0.3), 0 2px 0 rgba(255, 255, 255, 0.7) inset;
}
body:has(.vel-cabinet) dialog[open]::backdrop {
  background: rgba(11, 36, 29, 0.56);
}
body:has(.vel-cabinet) dialog :is(input, select, textarea) {
  border-color: var(--acct-line-strong);
  background: var(--acct-paper);
  border-radius: var(--acct-r-sm);
  color: var(--acct-ink);
}
body:has(.vel-cabinet) dialog :is(input, select, textarea):focus,
body:has(.vel-cabinet) dialog :is(input, select, textarea):focus-visible {
  outline: none;
  border-color: var(--acct-forest);
  box-shadow: 0 0 0 3px rgba(11, 36, 29, 0.12);
}
body:has(.vel-cabinet) dialog :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--acct-gold-deep);
  outline-offset: 3px;
}

/* IBAN sheet */
body:has(.vel-cabinet) .vel-ciban__title {
  font-family: var(--acct-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--acct-forest);
  font-size: clamp(1.4rem, 3.4vw, 1.65rem);
  line-height: 1.15;
}
body:has(.vel-cabinet) .vel-ciban__lead {
  color: var(--acct-muted);
}
body:has(.vel-cabinet) .vel-ciban__privacy {
  color: var(--acct-faint);
}
body:has(.vel-cabinet) .vel-ciban__close {
  color: var(--acct-muted);
}
body:has(.vel-cabinet) .vel-ciban__close:hover,
body:has(.vel-cabinet) .vel-ciban__close:active {
  background: var(--acct-cream-2);
  color: var(--acct-forest);
}
body:has(.vel-cabinet) .vel-ciban__step {
  border-color: var(--acct-line);
  color: var(--acct-muted);
  border-radius: 999px;
  background: transparent;
}
body:has(.vel-cabinet) .vel-ciban__step--done {
  border-color: var(--acct-line-strong);
  color: var(--acct-forest);
}
body:has(.vel-cabinet) .vel-ciban__step--on,
body:has(.vel-cabinet) .vel-ciban__step--on:hover {
  border-color: var(--acct-forest);
  background: var(--acct-forest);
  color: var(--acct-cream);
}
body:has(.vel-cabinet) .vel-ciban__step--on .vel-ciban__step-num {
  background: var(--acct-gold);
  border-color: var(--acct-gold);
  color: var(--acct-forest);
}
body:has(.vel-cabinet) .vel-ciban__check {
  border-color: var(--acct-line);
  background: var(--acct-cream-2);
  border-radius: var(--acct-r);
}
body:has(.vel-cabinet) .vel-ciban__number {
  color: var(--acct-forest);
}
body:has(.vel-cabinet) .vel-ciban__warn,
body:has(.vel-cabinet) .vel-ciban__saved {
  color: var(--acct-muted);
}
body:has(.vel-cabinet) .vel-ciban__actions button,
body:has(.vel-cabinet) .vel-ciban__form > button[type='submit'] {
  min-block-size: 2.9rem;
  border: 0;
  border-radius: 999px;
  font-weight: 650;
  transition: background-color 0.16s ease, color 0.16s ease;
}
body:has(.vel-cabinet) .vel-ciban__actions button:last-child,
body:has(.vel-cabinet) .vel-ciban__form > button[type='submit'] {
  background: var(--acct-forest);
  color: var(--acct-cream);
  box-shadow: 0 12px 26px rgba(11, 36, 29, 0.18);
}
body:has(.vel-cabinet) .vel-ciban__actions button:last-child:hover,
body:has(.vel-cabinet) .vel-ciban__form > button[type='submit']:hover:not(:disabled) {
  background: var(--acct-forest-2);
  color: var(--acct-cream);
}
body:has(.vel-cabinet) .vel-ciban__actions button:not(:last-child) {
  background: transparent;
  border: 1px solid var(--acct-line-strong);
  color: var(--acct-forest);
}
body:has(.vel-cabinet) .vel-ciban__actions button:not(:last-child):hover {
  background: var(--acct-cream-2);
}
body:has(.vel-cabinet) .vel-ciban__form > button[type='submit']:disabled {
  background: var(--acct-cream-2);
  border: 1px solid var(--acct-line);
  color: var(--acct-muted);
  box-shadow: none;
  opacity: 1;
}

/* Focus ring — gold on paper */
body .vel-cabinet :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--acct-gold-deep);
  outline-offset: 3px;
}

/* Level-change overlay: the compiled CSS whitens .vel-lvl__logo with
   filter:brightness(0) invert(), which turns the brand tile into a plain
   white square. Drop the filter so the real logo shows, nothing else. */
.vel-lvl .vel-lvl__logo.vel-logo {
  filter: none !important;
}

/* Withdrawal scene (bank → Veroxoning → account): the middle node prints the
   hub initial as skewed white text. Swap the glyph for the real logo tile,
   same box, so the centre of the animation carries the brand mark. */
.vel-scene__brand-mark[data-v-3cf241f1] {
  font-size: 0 !important;
  letter-spacing: 0 !important;
  transform: none !important;
  width: calc(var(--vel-node-size, 4.2rem) * 0.6);
  height: calc(var(--vel-node-size, 4.2rem) * 0.6);
  border-radius: calc(var(--vel-node-size, 4.2rem) * 0.16);
  background: url('/assets/logo-mark.svg') center / contain no-repeat;
}

/* CPI / RSV-certificate timeline on level 3: same whitening filter as the
   overlay logo turned the "in progress" node into a blank white square. */
.vel-cpi-timeline__brand[data-v-5dfea18e] {
  filter: none !important;
}
/* The bundle draws its own stroke-V inside the mark; the tile in the
   background already carries the V, so hide the duplicate glyph. */
.vel-cpi-timeline__brand[data-v-5dfea18e] path {
  display: none;
}

/* System agent toast: same whitening filter (logo → white square). */
.vel-agent-toast__sys-logo[data-v-6150ece4] {
  filter: none !important;
}

/* Policy document (new 1357×1920 template, 2026-11-26): the printed holder
   name now sits directly above the rule under "Kunde / Vertragspartner:"
   (PDF: x 101.3 / baseline y 628.3 — patched in the bundle's bT builder).
   The preview overlay must follow the same spot. */
.vel-pdf-dlg__name[data-v-1eef5a7e] {
  top: 24.2% !important;
  left: 17.15% !important;
  max-width: 28% !important;
}
