/* Cashback Pro V36.7.1 — Vietnamese-safe typography, restrained hierarchy and complete brand mark. */
:root {
  --font-sans: "Inter", "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Be Vietnam Pro", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Nunito Sans", "Be Vietnam Pro", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}
html, body { font-family: var(--font-sans) !important; }
button, input, select, textarea, .btn, .tab-btn, .side-link, .nav-label, .text-action {
  font-family: var(--font-ui) !important;
}
h1, h2, h3, h4, h5, h6, .brand-title, .panel-heading h2, .seasonal-right h3 {
  font-family: var(--font-display) !important;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
code, pre, kbd, samp, .mono, .font-mono { font-family: var(--font-mono) !important; }
body.dashboard-home .seasonal-welcome h1 {
  font-size: clamp(23px, calc(2.4vw + 1px), 35px) !important;
  line-height: 1.22 !important;
  letter-spacing: -0.025em !important;
  font-weight: 800 !important;
}
body.dashboard-home .seasonal-orders .panel-heading h2 {
  font-size: 18px !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
}
body.dashboard-home .seasonal-welcome p {
  font-size: 14px !important;
  line-height: 1.55 !important;
}
body.dashboard-home .seasonal-kpi small {
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}
body.dashboard-home .seasonal-kpi em {
  font-size: 11.5px !important;
  line-height: 1.45 !important;
}
body.dashboard-home .seasonal-kpi strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
body.dashboard-home .seasonal-welcome .eyebrow {
  font-family: var(--font-ui) !important;
  font-size: 10px !important;
  letter-spacing: 2.1px !important;
  font-weight: 800 !important;
}
/* Light appearance: clearer navy hierarchy and a restrained blue accent. */
body.dashboard-home.default-light-mode .seasonal-welcome h1 { color: #1d2d45 !important; }
body.dashboard-home.default-light-mode .seasonal-welcome .eyebrow { color: #3e78ad !important; }
body.dashboard-home.default-light-mode .seasonal-welcome p,
body.dashboard-home.default-light-mode .seasonal-kpi small,
body.dashboard-home.default-light-mode .seasonal-kpi em,
body.dashboard-home.default-light-mode .seasonal-orders .panel-heading p { color: #52657d !important; }
body.dashboard-home.default-light-mode .seasonal-kpi strong { color: #172b45 !important; }
body.dashboard-home.default-light-mode .seasonal-orders .panel-heading h2 { color: #20334d !important; }
body.dashboard-home.default-light-mode .seasonal-orders .text-action { color: #286da9 !important; }
body.dashboard-home.default-light-mode .dashboard-orders th { color: #405875 !important; }
/* Dark appearance: keep high contrast while softening secondary copy. */
body.dashboard-home:not(.default-light-mode) .seasonal-welcome p,
body.dashboard-home:not(.default-light-mode) .seasonal-kpi small,
body.dashboard-home:not(.default-light-mode) .seasonal-kpi em,
body.dashboard-home:not(.default-light-mode) .seasonal-orders .panel-heading p { color: #c3d5e9 !important; }
/* Keep the new complete PNG mark fully visible in portrait and landscape headers. */
html body .app-header .brand-stack,
html body .app-header .brand,
html body .app-header .brand-icon { overflow: visible !important; }
html body .app-header .brand-icon {
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important;
}
html body .app-header .brand-icon img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  overflow: visible !important;
  background: transparent !important;
}
@media (max-width: 760px) {
  body.dashboard-home .seasonal-welcome h1 {
    font-size: clamp(20px, calc(5.2vw + 1px), 25px) !important;
    line-height: 1.24 !important;
  }
  body.dashboard-home .seasonal-orders .panel-heading h2 { font-size: 18px !important; }
  body.dashboard-home .seasonal-welcome p { font-size: 13.5px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body .app-header .brand-icon img { transition: none !important; }
}
