/* Thalu presentation only. Entitlements and workflow rules live elsewhere. */
html[data-brand="thalu"] .platform-ui #header.header.fixed-top {
  border-bottom: 2px solid var(--brand-decoration);
}
html[data-brand="thalu"] .header .logo {
  width: auto;
  gap: 10px;
}
/* Display the original header mark with its transparent background. */
html[data-brand="thalu"] .header .logo img {
  width: auto;
  height: 42px;
  max-height: 42px;
  object-fit: contain;
  padding: 4px;
  border-radius: 4px;
  background: transparent;
  margin-right: 0;
}
html[data-brand="thalu"] .header .logo-header-wordmark {
  color: var(--white);
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: var(--lm-text-display);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  white-space: nowrap;
}
html[data-brand="thalu"] .header .logo-header-wordmark-suffix {
  color: var(--brand-decoration);
  letter-spacing: 0;
}
html[data-brand="thalu"] .sidebardashboard-nav .nav-link {
  border: 1px solid transparent;
  color: var(--brand-sidebar-fg);
}
html[data-brand="thalu"] .sidebardashboard-nav .nav-link.active {
  background: var(--navy);
  box-shadow: inset 3px 0 var(--brand-decoration);
}
html[data-brand="thalu"] .sidebardashboard-nav .nav-link.active span,
html[data-brand="thalu"] .sidebardashboard-nav .nav-link.active > .lm-icon {
  color: var(--white);
}
html[data-brand="thalu"] .sidebardashboard-nav:hover .nav-link {
  border-color: transparent;
}
/* Keep the workspace visible when the existing desktop rail expands. */
@media (min-width: 992px) {
  html[data-brand="thalu"] body:has(.sidebardashboard:hover, .sidebardashboard:focus-within) {
    --platform-rail: calc(var(--lm-sidebar-expanded-width, 240px) + 4px);
  }
  html[data-brand="thalu"] .platform-content-shell {
    transition: padding-left .3s ease;
  }
}
html[data-brand="thalu"] :is(.hero, .admin-hero, .fin-hero, .risk-hero, .fintech-hero, .kpi-hero, .hero-card) {
  background: var(--brand-banner);
}
html[data-brand="thalu"] .platform-ui :is(.fin-card, .card) {
  border-color: var(--border);
}
html[data-brand="thalu"] .platform-ui :is(.form-control, .form-select) {
  border-color: var(--lm-slate-500);
}
html[data-brand="thalu"] .platform-ui :is(.form-control, .form-select):focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), .15);
}
html[data-brand="thalu"] .platform-ui .btn-primary {
  --bs-btn-bg: var(--navy);
  --bs-btn-border-color: var(--navy);
  --bs-btn-hover-bg: var(--lm-navy-deep);
  --bs-btn-hover-border-color: var(--lm-navy-deep);
  --bs-btn-active-bg: var(--lm-navy-deep);
  --bs-btn-active-border-color: var(--lm-navy-deep);
  --bs-btn-disabled-bg: var(--navy);
  --bs-btn-disabled-border-color: var(--navy);
}
html[data-brand="thalu"] .platform-ui :is(.table, .fintech-table) > thead > tr > th {
  background: var(--lm-slate-200);
  color: var(--navy);
  border-bottom-color: var(--border);
}
html[data-brand="thalu"] :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
html[data-brand="thalu"] :is(#header, .sidebardashboard, .fin-hero) :is(a, button):focus-visible {
  outline-color: var(--brand-highlight);
}
html[data-brand="thalu"] .platform-ui .text-muted {
  color: var(--muted) !important; /* Bootstrap utility declares !important. */
}
html[data-brand="thalu"] .auth-form-panel {
  background: var(--brand-page-bg);
}
html[data-brand="thalu"] .auth-brand img {
  width: 158px;
  height: auto;
  padding: 8px;
  background: transparent;
  border-radius: var(--lm-radius-sm);
}
html[data-brand="thalu"] .auth-brand-tag {
  color: var(--muted);
}
html[data-brand="thalu"] .auth-immersive-bg {
  background: var(--brand-banner);
}
html[data-brand="thalu"] .auth-immersive-brand > img {
  width: 130px;
  height: auto;
  max-height: none;
  padding: 8px;
  border-radius: var(--lm-radius-sm);
  background: var(--brand-logo-backing);
}
html[data-brand="thalu"] .auth-brand-panel {
  background-image: var(--brand-banner) !important; /* Replace the inline stock photo. */
}
html[data-brand="thalu"] .auth-brand-panel::before {
  background: transparent;
}
html[data-brand="thalu"] .auth-brand-mark-name,
html[data-brand="thalu"] .auth-brand-mark-line {
  color: var(--white);
}
html[data-brand="thalu"] .auth-brand-mark-rule {
  background: var(--brand-decoration);
}
html[data-brand="thalu"] .auth-submit {
  background: var(--navy);
}
@media (prefers-reduced-motion: reduce) {
  html[data-brand="thalu"] *, html[data-brand="thalu"] *::before {
    scroll-behavior: auto;
    transition-duration: 0s;
  }
}
@media print {
  html[data-brand="thalu"] :is(.hero, .admin-hero, .fin-hero, .risk-hero, .fintech-hero, .kpi-hero, .hero-card) {
    background: var(--white) !important;
    color: var(--ink) !important;
    border: 1px solid var(--border) !important;
  }
  html[data-brand="thalu"] :is(.hero, .admin-hero, .fin-hero, .risk-hero, .fintech-hero, .kpi-hero, .hero-card) * {
    color: var(--ink) !important;
  }
}
