/* Only the three employee landing pages load this palette. */
body:has(.category-entry) {
  --employee-sage: #c6dfce;
  --paper: #faf9f5;
  --ink: #243f34;
  --muted: #495f53;
  --line: #bfccc2;
  --employee-lilac: #e8e2f2;
  --employee-mint: #d8efe5;
  --employee-apricot: #f4dece;
  --category-wash: linear-gradient(var(--wash-angle), #dfeee2 0%, var(--employee-sage) 56%, #9ebfa9 100%);
  background-color: var(--paper);
  color: var(--ink);
}

#inhalt, .chapter-nav { background-color: var(--paper); }
#mhb-entry-copy, #mhb-entry-copy [data-direct-topics] .mhb-topic-trigger { color: var(--ink); }
#mhb-entry-copy .entry-actions {
  inset-inline-start: 0;
  margin-block-start: clamp(1.75rem, 3.2vw, 2.75rem);
}
#mhb-entry-copy .entry-actions a {
  background: var(--ink);
  color: #fff;
}
#mhb-entry-copy .entry-actions a:hover { background: #355a46; }
#mhb-entry-copy .entry-actions a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.market { background: var(--paper); color: var(--ink); }
.case-inquiry, .portal-promo { background: #e6efe7; }
.portal-window { background: var(--paper); }
.timeline li::before { outline-color: var(--paper); }

.feature-tile.pension-tile, .pension-graphic, .palette-concept .employee-bav-promo {
  background: var(--employee-lilac);
}
.feature-tile.health-tile, .survey-graphic, #bkv-fuer-ihr-team {
  background: var(--employee-mint);
}
.risk-tile {
  background: var(--employee-apricot);
  border-color: #9e7258;
  padding-inline: clamp(1rem, 1.8vw, 1.8rem);
  padding-block-end: 1rem;
}
.risk-abbr { color: #654633; }

/* The Hebrew page uses the original posters and topic directory. */
.palette-concept .topic-section, .palette-concept .question-section { background: var(--paper); }
.topic-card[href$="/group-accident-insurance/"] { background: var(--employee-apricot); }

@media (orientation: landscape) and (max-height: 550px) {
  /* The chapter layout also reserves space for its footer and scroll link. */
  #palette-top[data-mhb-first] { min-height: var(--entry-height); }
}
