#app img[src="/images/logo.svg"], #app .brand-logo, .side-drawer .drawer-logo, #app .logo-box img { content: url("/images/ufg-logo.png"); object-fit: contain; }
#app .home-page .banner-img { content: url("/images/ufg-banner-20261116.svg"); }
/* UFG Capital visual theme. Business components and market colors stay intact. */
:root {
  --theme: #d80616;
  --theme-green: #d80616;
  --theme-strong: #b60512;
  --lowTheme: #fff2f3;
  --link: #bd0b19;
  --page2: #f5f5f7;
  --card: #f7f7f9;
  --line: #e9e9ee;
  --text: #25262b;
  --radius: 12px;
  --van-primary-color: #d80616;
}
body { background: #ededf1; }
#app { box-shadow: 0 0 48px #25262b0a; }
#app .login-page { padding: 20px 32px 30px; background: linear-gradient(180deg,#fff 65%,#faf8f8); }
#app .login-page .topbar { min-height: 48px; }
#app .login-page .logo-box { margin: 32px 0 46px; }
#app .login-page .logo-box img { width: min(100%,320px); }
#app .login-page .login-form { gap: 23px; }
#app .login-page .field-block { gap: 10px; color: #404149; font-weight: 500; }
#app .login-page .van-cell { height: 50px; background: #fafafa; border-radius: 10px; }
#app .login-page .van-cell:focus-within { border-color: #d80616; box-shadow: 0 0 0 3px #d806160d; }
#app .login-page .login-button { height: 48px; margin-top: 5px; border-radius: 10px; background: #d80616; box-shadow: 0 6px 18px #d8061626; font-weight: 600; }
#app .login-page .van-checkbox__icon--checked .van-icon { background: #d80616 !important; border-color: #d80616 !important; }
#app .login-page .login-links { gap: 21px; }
#app .login-page .associations { margin-top: 56px; color: #85858d; font-size: 11px; line-height: 1.9; }
#app .language-menu button.active { color: #d80616; }
#app .home-page .home-topbar { height: 64px; padding: 0 18px; border-bottom: 1px solid #f0f0f3; }
#app .brand-logo { width: 145px; height: 40px; }
.side-drawer .drawer-logo { width: 150px; height: 40px; }
#app .home-page .top-actions { gap: 15px; color: #3a3b42; }
#app .home-page .swipe-banner { width: calc(100% - 28px); margin: 14px 14px 0; border: 1px solid #ededf0; border-radius: 16px; background: #fff; }
#app .home-page .banner-img { height: auto; aspect-ratio: 540 / 214; object-fit: contain; }
#app .home-page .menu { margin: 12px 14px; padding: 22px 8px; gap: 22px 6px; border: 1px solid #ededf0; border-radius: 16px; }
#app .home-page .menu-box { width: 48px; height: 48px; margin-bottom: 9px; border-radius: 14px; background: #fff2f3; color: #b60512; }
#app .home-page .menu-item { color: #404149; font-size: 11px; }
#app .home-page .stock-card { margin: 12px 14px; padding: 20px 14px 30px; border: 1px solid #ededf0; border-radius: 16px; box-shadow: none; }
#app .home-page .stock-box { border: 1px solid #eeeef2; border-radius: 10px; padding: 12px 8px; }
#app .home-page .stock-box strong { color: #55555f; }
#app .home-page .stock-tab { font-weight: 500; }
#app .home-page .stock-tab.active::after { width: 22px; height: 3px; border-radius: 3px; }
#app .app-tabbar { border-top: 1px solid #e9e9ee; box-shadow: 0 -6px 24px #25262b06; }
#app .app-tabbar a.active { color: #d80616; }
#app .register-button { background: #d80616; border-color: #d80616; }
button:focus-visible, a:focus-visible { outline: 2px solid #d80616; outline-offset: 3px; }
@media (max-width: 360px) {
  #app .login-page { padding-inline: 24px; }
  #app .brand-logo { width: 126px; }
  #app .home-page .top-actions { gap: 12px; }
}

/* Branded default profile avatar, including the account drawer. */
#app .user-profile > img, .side-drawer .drawer-avatar {
  content: url("/images/ufg-avatar-full.png?v=20261116-2");
  object-fit: contain;
  background: #fff;
  border: 0;
  padding: 0;
  object-fit: cover;
}

/* Secondary pages: brand colors only; semantic market/status colors preserved. */
#app .financial-page, #app .financing-page, #app .change-page { background:#f5f5f7; color:#25262b; }
#app .financial-nav, #app .financial-tabs, #app .change-nav { background:#fff; }
#app .product-head, #app .financing-card header { background:linear-gradient(135deg,#fff2f3,#fffafa); }
#app .financial-page .product-card button, #app .financial-page .redeem-button,
#app .financing-page .apply-button, #app .change-page .submit-button,
#app .ipo-row button, #app .ipo-pay-dialog__actions .confirm,
#app .asset-actions a { background:#d80616; }
#app .product-card dd.accent, #app .amount-row dd, #app .financial-tabs .active { color:#b60512; }
#app .financial-tabs .active::after { background:#d80616; }
#app .change-page .form-card { background:#fff; padding-top:20px; padding-bottom:24px; }
#app .change-page .van-cell { background:#fafafa; border-color:#e9e9ee; }
#app .change-page .van-cell:focus-within { border-color:#d80616; }
#app .financing-card, #app .dividend-card, #app .history-card { box-shadow:0 3px 12px #25262b06; border:1px solid #e9e9ee; }

#app .user-actions a, #app .submit-button, #app .dialog-actions .confirm { background:#d80616; }
#app .day-chip.active { border-color:#d80616; color:#b60512; }
#app .dialog-actions .cancel, #app .ipo-pay-dialog__actions .cancel { background:#f1f1f4; color:#55555f; }

/* Soft primary actions; logout retains its destructive emphasis. */
#app .user-actions a, #app .financial-page .product-card button, #app .financial-page .redeem-button, #app .financing-page .apply-button, #app .change-page .submit-button, #app .submit-button, #app .dialog-actions .confirm, #app .ipo-row button, #app .ipo-pay-dialog__actions .confirm, #app .login-page .login-button, #app .register-button, #app .financial-page .apply-buy { background:#a64b60; color:#fff; border:1px solid #a64b60; box-shadow:none; }
#app .user-actions a svg, #app .user-actions a .icon { color:#fff; }

/* Bank form primary action. */
#app .bank-edit-page .submit { background:#a64b60; color:#fff; }
