:root{
  --uov-yellow:#ffd51e;--uov-orange:#f28c00;--uov-anthracite:#242424;
  --brand:#d97700;--brand2:#202020;--bg:#eef1f3;--card:#fff;--text:#172126;
  --muted:#66777f;--line:#d7e0e4;--shadow:0 10px 28px rgba(29,49,56,.09);
}
html[data-theme="dark"]{
  --brand:#ffb000;--brand2:#151515;--bg:#17191b;--card:#24272a;--text:#f4f4f4;
  --muted:#b5bdc1;--line:#3b4145;--shadow:0 10px 28px rgba(0,0,0,.35);
}
body{background:var(--bg)!important;color:var(--text)!important}
.app-header{background:linear-gradient(120deg,var(--uov-anthracite),#111 72%,var(--uov-orange))!important;color:#fff;position:relative}
.app-header:after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:linear-gradient(90deg,var(--uov-yellow),var(--uov-orange))}
.header-tools{position:absolute;right:24px;top:18px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.header-clock{font-weight:800;font-variant-numeric:tabular-nums;background:rgba(255,255,255,.13);padding:8px 11px;border-radius:999px}
.theme-toggle{border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.12);color:white;padding:8px 11px;border-radius:999px;font-weight:800;cursor:pointer}
.card,.tile,.status>div,.source-tile{background:var(--card)!important;color:var(--text)!important;border-color:var(--line)!important}
input,select,textarea{background:var(--card);color:var(--text);border-color:var(--line)!important}
button,.action{background:var(--uov-orange)!important;color:#181818!important}
.workdate-banner{display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:8px 12px;border-radius:999px;font-weight:800;background:rgba(255,255,255,.14)}
.workdate-banner.today{box-shadow:inset 0 0 0 2px #43b56d}.workdate-banner.past{box-shadow:inset 0 0 0 2px #a7afb4}.workdate-banner.future{box-shadow:inset 0 0 0 2px var(--uov-yellow)}
@media(max-width:760px){.header-tools{position:static;margin-top:14px;justify-content:flex-start}.app-header{padding-right:24px!important}}

/* === MER TOOLBOX GEDEELDE HEADER START === */

.app-header {
  background: linear-gradient(135deg, #075f59 0%, #084f4b 72%, #ef8b00 100%);
  color: #fff;
  padding: 24px 32px 18px;
  border-bottom: 4px solid #f4a000;
  box-shadow: 0 10px 28px rgba(20, 40, 45, .18);
}

.app-header .header-main {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.app-header .brand-block {
  min-width: 300px;
}

.app-header .home-link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.5px;
}

.app-header .home-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.app-header .brand-block p {
  margin: 7px 0 0;
  font-size: 15px;
  opacity: .95;
}

.app-header .header-meta {
  margin-top: 11px;
  font-size: 12px;
  opacity: .9;
}

.app-header .header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.app-header .header-nav,
.app-header .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.app-header .header-nav:hover,
.app-header .theme-toggle:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

.app-header .header-nav.active {
  background: #f4a000;
  border-color: #f4a000;
  color: #1d1d1d;
  box-shadow: 0 5px 14px rgba(0,0,0,.18);
}

.app-header .theme-toggle {
  background: #f4a000;
  border-color: #f4a000;
  color: #1d1d1d;
}

.app-header .header-status {
  max-width: 1320px;
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: .9fr 1fr 1fr 1.2fr .9fr .9fr;
  gap: 12px;
}

.app-header .status-chip {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  background: rgba(0,0,0,.15);
  backdrop-filter: blur(4px);
}

.app-header .status-icon {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}

.app-header .status-chip span:last-child {
  min-width: 0;
}

.app-header .status-chip small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .45px;
}

.app-header .status-chip b {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* De centrale header bevat deze status al. */
body > main > .status:first-child {
  display: none;
}

@media (max-width: 1050px) {
  .app-header .header-main {
    flex-direction: column;
  }

  .app-header .header-actions {
    justify-content: flex-start;
  }

  .app-header .header-status {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .app-header {
    padding: 20px 16px 16px;
  }

  .app-header .home-link {
    font-size: 27px;
  }

  .app-header .brand-block {
    min-width: 0;
  }

  .app-header .header-actions {
    width: 100%;
  }

  .app-header .header-nav,
  .app-header .theme-toggle {
    flex: 1 1 auto;
  }

  .app-header .header-status {
    grid-template-columns: 1fr 1fr;
  }

  .app-header .clock-chip {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .app-header .header-status {
    grid-template-columns: 1fr;
  }

  .app-header .clock-chip {
    grid-column: auto;
  }
}

/* === MER TOOLBOX GEDEELDE HEADER EINDE === */

/* === HEADER LAATSTE AFWERKING START === */
.app-header .header-status {
  margin-top: 10px;
}

.app-header .status-chip {
  box-sizing: border-box;
  height: 64px;
  min-height: 64px;
  padding: 8px 12px;
}

.app-header .clock-chip {
  justify-content: flex-start;
}

.app-header .clock-chip .status-icon {
  margin-left: -2px;
}
/* === HEADER LAATSTE AFWERKING EINDE === */

/* ===== PREMIUM HEADER EFFECTS START ===== */

/* Informatievakken: bewust geen klik- of hover-indruk */
.app-header .status-chip {
  border-radius: 18px;
}

/* Alleen echte knoppen krijgen interactief gedrag */
.app-header .header-nav,
.app-header .theme-toggle {
  border-radius: 16px;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.app-header .header-nav:hover,
.app-header .theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

@media (prefers-reduced-motion: reduce) {
  .app-header .header-nav,
  .app-header .theme-toggle {
    transition: none;
  }

  .app-header .header-nav:hover,
  .app-header .theme-toggle:hover {
    transform: none;
  }
}

/* ===== PREMIUM HEADER EFFECTS EINDE ===== */

/* MER CENTRALE HEADER START */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

.app-header {
  padding: 28px 34px 20px;
}

.header-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand-block {
  min-width: 320px;
}

.home-link {
  display: inline-block;
  margin: 0;
  color: inherit;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  text-decoration: none;
}

.brand-block p {
  margin: 6px 0 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

.header-meta {
  margin-top: 12px;
  font-size: 12px;
  opacity: .92;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.header-nav,
.theme-toggle {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.header-status {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.status-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 70px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-family: "Segoe UI", Arial, sans-serif;
}

.status-chip .status-icon {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
}

.status-chip > span:last-child {
  min-width: 0;
}

.status-chip small {
  display: block;
  margin: 0 0 5px;
  font-size: 12px;
  line-height: 1.2;
}

.status-chip b {
  display: block;
  overflow: hidden;
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .header-main {
    flex-direction: column;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .header-status {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .app-header {
    padding: 20px;
  }

  .home-link {
    font-size: 30px;
  }

  .header-actions {
    width: 100%;
  }

  .header-nav,
  .theme-toggle {
    flex: 1 1 auto;
    text-align: center;
  }

  .header-status {
    grid-template-columns: 1fr;
  }
}
/* MER CENTRALE HEADER EINDE */

/* === DEFINITIEVE HEADERAFMETING ===
   Tegels 8 px lager en 8 px kleiner.
   Totale desktop-headerhoogte blijft gelijk.
*/
.app-header {
  padding: 28px 34px;
}

.app-header .header-status {
  margin-top: 18px;
}

.app-header .status-chip {
  box-sizing: border-box;
  height: 56px;
  min-height: 56px;
  padding: 6px 12px;
}

/* === MER TOOLBOX HEADERZOEKER DONKER === */

.app-header .header-actions {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.app-header .header-search {
  position: relative;
  grid-column: 1 / -1;
  justify-self: end;
  width: 520px;
  max-width: 100%;
  margin: 0;
}

.app-header .header-search-icon {
  position: absolute;
  z-index: 2;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 17px;
  line-height: 1;
}

.app-header .header-search input {
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  padding: 0 16px 0 44px;

  border: 1px solid rgba(255,255,255,.30) !important;
  border-radius: 16px;
  outline: none;

  background: rgba(0,0,0,.22);
  color: #fff;

  font: inherit;
  font-size: 14px;
}

.app-header .header-search input::placeholder {
  color: rgba(255,255,255,.72);
  opacity: 1;
}

.app-header .header-search input:focus {
  background: rgba(0,0,0,.32);
  border-color: #f4a000 !important;
  box-shadow: 0 0 0 3px rgba(244,160,0,.18);
}

.app-header .header-nav,
.app-header .theme-toggle,
.app-header .header-search input {
  height: 42px;
  min-height: 42px;
}

.app-header .header-status {
  margin-top: 18px;
}

.app-header .status-chip {
  height: 56px;
  min-height: 56px;
  padding: 6px 12px;
}

@media (max-width: 1050px) {
  .app-header .header-actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-header .header-nav,
  .app-header .theme-toggle,
  .app-header .header-search {
    width: 100%;
  }

  .app-header .header-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .app-header .header-actions {
    grid-template-columns: 1fr;
  }

  .app-header .header-search {
    grid-column: 1;
  }
}

/* === HEADERZOEKER KLEUREENHEID === */
/* Zelfde uitstraling als Werkoverzicht, Bronbeheer en Instellingen. */
.app-header .header-search input {
  height: 42px;
  border: 1px solid rgba(255,255,255,.30) !important;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  color: #fff;
  box-shadow: none;
}

.app-header .header-search input::placeholder {
  color: rgba(255,255,255,.88);
}

.app-header .header-search input:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.40) !important;
}

.app-header .header-search input:focus {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.48) !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.08);
}

.app-header .header-search-icon {
  filter: none;
}

/* === INTERACTIE EN HOVER EENHEID === */

/* Alle echte bedieningselementen reageren hetzelfde. */
.app-header .header-nav,
.app-header .theme-toggle,
.grid a.tile,
button,
a.action,
a.btn {
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

/* Alleen aanklikbare onderdelen bewegen. */
.app-header .header-nav:hover,
.app-header .theme-toggle:hover,
.grid a.tile:hover,
button:hover,
a.action:hover,
a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

/* Dashboardtegels krijgen een rustige, nette hover. */
.grid a.tile:hover {
  border-color: rgba(217,119,0,.38);
}

/* Niet-aanklikbare onderdelen blijven bewust stil. */
.app-header .status-chip,
.grid .tile.disabled {
  transform: none;
  transition: none;
}

.grid .tile.disabled:hover {
  transform: none;
  box-shadow: var(--shadow);
}

/* Geen beweging voor gebruikers die animatie uitschakelen. */
@media (prefers-reduced-motion: reduce) {
  .app-header .header-nav,
  .app-header .theme-toggle,
  .grid a.tile,
  button,
  a.action,
  a.btn {
    transition: none;
  }

  .app-header .header-nav:hover,
  .app-header .theme-toggle:hover,
  .grid a.tile:hover,
  button:hover,
  a.action:hover,
  a.btn:hover {
    transform: none;
  }
}

/* === MER TOOLBOX HEADER V2 START === */

/* Vier compacte knoppen op één regel */
.app-header .header-actions {
  grid-template-columns: repeat(4, auto);
  gap: 8px;
}

.app-header .header-nav,
.app-header .theme-toggle {
  height: 38px;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 13px;
  font-size: 13px;
}

/* Actieve pagina: grijs en niet aanklikbaar */
.app-header .header-nav.active.disabled {
  background: rgba(170, 175, 178, .38);
  border-color: rgba(210, 214, 216, .38);
  color: rgba(255, 255, 255, .72);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
  transform: none;
}

/* Zoekveld iets compacter */
.app-header .header-search input {
  height: 38px;
  min-height: 38px;
}

/* Compactere informatieblokken */
.app-header .header-status {
  margin-top: 14px;
}

.app-header .status-chip {
  height: 52px;
  min-height: 52px;
  padding: 5px 10px;
  border-radius: 16px;
}

.app-header .status-icon {
  font-size: 19px;
}

.app-header .status-chip small {
  margin-bottom: 2px;
  font-size: 10px;
}

.app-header .status-chip b {
  font-size: 12px;
}

/* Werkstalling als keuzemenu */
.app-header .workstalling-chip {
  overflow: visible;
}

.app-header .workstalling-content {
  width: 100%;
  min-width: 0;
}

.app-header .workstalling-select {
  display: block;
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0 22px 0 0;
  border: 0 !important;
  outline: 0;
  border-radius: 0;
  background-color: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  line-height: 24px;
  font-weight: 800;
  cursor: pointer;
}

.app-header .workstalling-select:hover,
.app-header .workstalling-select:focus {
  background-color: transparent;
  box-shadow: none;
}

.app-header .workstalling-select option,
.app-header .workstalling-select optgroup {
  background: #253033;
  color: #fff;
  font-weight: 600;
}

.app-header .workstalling-select optgroup:disabled,
.app-header .workstalling-select option:disabled {
  color: #858b8e;
}

/* Responsief */
@media (max-width: 1050px) {
  .app-header .header-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .app-header .header-actions {
    grid-template-columns: 1fr;
  }
}

/* === MER TOOLBOX HEADER V2 EINDE === */

/* ===== HEADER UITLIJNING SMART SEARCH ===== */

/* De bovenste rij blijft even hoog */
.app-header .header-actions{
    display:grid;
    grid-template-columns:repeat(4,auto);
    gap:8px;
    align-items:center;
}

/* Alle bedieningselementen exact dezelfde hoogte */
.app-header .header-nav,
.app-header .theme-toggle,
.app-header .header-search,
.app-header .header-search input{
    height:38px;
    min-height:38px;
    box-sizing:border-box;
}

/* Zoekbalk netjes uitlijnen */
.app-header .header-search{
    display:flex;
    align-items:center;
    align-self:center;
    margin:0;
}

/* Invoerveld */
.app-header .header-search input{
    padding-left:42px;
    line-height:38px;
}

/* Vergrootglas exact centreren */
.app-header .header-search-icon{
    top:50%;
    transform:translateY(-50%);
}

/* Geen extra ruimte boven of onder */
.app-header .header-search,
.app-header .header-search input{
    margin-top:0;
    margin-bottom:0;
}


/* ===== HEADER VERTICALE VERDELING EN RONDINGEN ===== */

/* Rechterdeel: drie rijen met gelijke tussenruimte */
.app-header .header-actions {
  display: grid;
  grid-template-columns: repeat(4, auto);
  grid-template-rows: 38px 38px;
  column-gap: 8px;
  row-gap: 10px;
  align-content: start;
}

/* Zoekbalk vormt exact de tweede rij */
.app-header .header-search {
  grid-column: 1 / -1;
  height: 38px;
  min-height: 38px;
  margin: 0;
}

/* Gelijke ruimte tussen zoekrij en statusrij */
.app-header .header-status {
  margin-top: 10px;
}

/* Verhouding rondingen gelijk aan onderste vakken:
   52 px hoog / 16 px radius
   38 px hoog / circa 12 px radius */
.app-header .header-nav,
.app-header .theme-toggle,
.app-header .header-search input {
  height: 38px;
  min-height: 38px;
  border-radius: 12px;
}

/* Onderste statusblokken blijven ongewijzigd */
.app-header .status-chip {
  height: 52px;
  min-height: 52px;
  border-radius: 16px;
}


/* ===== OVERZICHT MET GEDEELDE VASTE HEADER ===== */

/* Alleen op de overzichtpagina blijft de header bovenaan staan. */
.overview-page .app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Werkdatumbanner blijft binnen de header. */
.app-header .overview-workdate-banner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 38px;

  margin: 10px auto 0;
  padding: 6px 16px;

  border-radius: 12px;
  white-space: nowrap;
}

/* De statusrij houdt dezelfde afstand tot de banner. */
.app-header .overview-workdate-banner + .header-status {
  margin-top: 10px;
}

/* Bestaande kleurlogica van de werkdatum blijft actief. */
.app-header .overview-workdate-banner.today {
  box-shadow: inset 0 0 0 2px #43b56d;
}

.app-header .overview-workdate-banner.past {
  box-shadow: inset 0 0 0 2px #a7afb4;
}

.app-header .overview-workdate-banner.future {
  box-shadow: inset 0 0 0 2px var(--uov-yellow);
}

/* Mobiel mag de banner smaller worden. */
@media (max-width: 520px) {
  .app-header .overview-workdate-banner {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* ===== EINDE OVERZICHT MET GEDEELDE VASTE HEADER ===== */

/* ===== OVERZICHTHEADER DEFINITIEVE TWEEDE RIJ ===== */

/* De overzichtheader behoudt exact dezelfde hoogte als de hoofdpagina. */
.overview-page .app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Zoekbalk terug naar exact dezelfde positie en afmeting als hoofdpagina. */
.overview-page .app-header .header-search {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: end;

  width: 520px;
  max-width: 100%;
  height: 38px;
  min-height: 38px;

  margin: 0;
}

/* Werkdatumbalk uit de normale documentstroom halen:
   hierdoor ontstaat géén extra rij en wordt de header niet hoger. */
.overview-page .app-header .overview-workdate-banner {
  position: absolute;
  z-index: 3;

  /* Zelfde verticale positie als de slimme zoekbalk. */
  top: 76px;

  /* Links binnen dezelfde maximale headerbreedte. */
  left: max(34px, calc((100vw - 1320px) / 2));

  box-sizing: border-box;
  width: 360px;
  max-width: calc(100% - 620px);
  height: 38px;
  min-height: 38px;

  margin: 0;
  padding: 0 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  border-radius: 12px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

/* De statusrij krijgt dezelfde positie als op de hoofdpagina. */
.overview-page .app-header .overview-workdate-banner + .header-status {
  margin-top: 10px;
}

/* Eerdere tijdelijke breedte- en marge-instellingen opheffen. */
.overview-page .app-header .header-search {
  margin-right: 0;
}

/* Op smallere schermen veilig onder elkaar zetten. */
@media (max-width: 1050px) {
  .overview-page .app-header .overview-workdate-banner {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 10px auto 0;
  }

  .overview-page .app-header .overview-workdate-banner + .header-status {
    margin-top: 10px;
  }

  .overview-page .app-header .header-search {
    width: 100%;
  }
}

/* ===== EINDE OVERZICHTHEADER DEFINITIEVE TWEEDE RIJ ===== */

/* ===== OVERZICHT: WERKDATUMBALK GECENTREERD ===== */

/* Zoekbalk blijft rechts, exact zoals op de hoofdpagina. */
.overview-page .app-header .header-search {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: end;
  width: 520px;
  max-width: 100%;
  margin: 0;
}

/* Werkdatumbalk midden in de header, zonder extra hoogte. */
.overview-page .app-header .overview-workdate-banner {
  position: absolute;
  top: 76px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);

  width: auto;
  min-width: 310px;
  max-width: 360px;
  height: 38px;
  min-height: 38px;

  margin: 0;
  padding: 0 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  border-radius: 12px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

/* De banner voegt geen extra rij of hoogte toe. */
.overview-page .app-header .overview-workdate-banner + .header-status {
  margin-top: 10px;
}

/* Op kleinere schermen onder elkaar om overlap te voorkomen. */
@media (max-width: 1050px) {
  .overview-page .app-header .overview-workdate-banner {
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 10px auto 0;
  }
}

/* ===== EINDE WERKDATUMBALK GECENTREERD ===== */

/* ===== WERKDATUMBALK COMPACTER ===== */

.overview-page .app-header .overview-workdate-banner {
    width: 280px;
    min-width: 280px;
    max-width: 280px;

    height: 38px;
    min-height: 38px;

    padding: 0 10px;
    font-size: 12px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== EINDE WERKDATUMBALK COMPACTER ===== */


/* ===== WERKDATUMBALK DEFINITIEVE AFWERKING ===== */

.overview-page .app-header .overview-workdate-banner {
  width: 250px;
  min-width: 250px;
  max-width: 250px;

  height: 38px;
  min-height: 38px;
  padding: 0 8px;

  border: 2px solid rgba(255,255,255,.35);
  border-radius: 12px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  overflow: hidden;
  white-space: nowrap;
}

/* Alle tekst in de balk exact even groot */
.overview-page .app-header .overview-workdate-banner,
.overview-page .app-header .overview-workdate-banner span,
.overview-page .app-header .overview-workdate-banner #headerWorkdateText {
  font-size: 12px;
  line-height: 1;
}

/* Vandaag: rustige neutrale rand */
.overview-page .app-header .overview-workdate-banner.today {
  border-color: rgba(255,255,255,.38);
  color: #fff;
  box-shadow: none;
}

/* Verleden en toekomst: oranje rand en oranje tekst */
.overview-page .app-header .overview-workdate-banner.past,
.overview-page .app-header .overview-workdate-banner.future {
  border-color: #f4a000;
  color: #f4a000;
  box-shadow: none;
}

/* Icoon volgt de tekstkleur */
.overview-page .app-header .overview-workdate-banner.past #headerWorkdateIcon,
.overview-page .app-header .overview-workdate-banner.future #headerWorkdateIcon {
  color: #f4a000;
}

/* ===== EINDE WERKDATUMBALK DEFINITIEVE AFWERKING ===== */

/* ===== WERKDATUMWAARSCHUWING IN RIJ VAN ZES ===== */

/* Vandaag: exact dezelfde uitstraling als de andere vijf vakken. */
.overview-page .app-header .workdate-status-chip.today {
  border-color: rgba(255,255,255,.25);
  color: #fff;
  box-shadow: none;
}

/* Verleden of toekomst: oranje rand en oranje datumtekst. */
.overview-page .app-header .workdate-status-chip.past,
.overview-page .app-header .workdate-status-chip.future {
  border-color: #f4a000;
  box-shadow: inset 0 0 0 1px #f4a000;
}

.overview-page .app-header .workdate-status-chip.past #headerWorkdateText,
.overview-page .app-header .workdate-status-chip.future #headerWorkdateText {
  color: #f4a000;
}

/* Titel en icoon blijven zoals in de andere vijf vakken. */
.overview-page .app-header .workdate-status-chip small,
.overview-page .app-header .workdate-status-chip .status-icon {
  color: inherit;
}

/* ===== EINDE WERKDATUMWAARSCHUWING ===== */

.page-title{
    display:flex;
    align-items:center;
    gap:16px;
    margin:0 0 24px 0;
}

.page-title-icon{
    width:56px;
    height:56px;
    object-fit:contain;
}

.page-title h2{
    margin:0;
    font-size:2.2rem;
    font-weight:700;
}

.page-title{
    display:flex;
    align-items:center;
    gap:16px;
    margin:0 0 24px 0;
}

.page-title-icon{
    width:56px;
    height:56px;
    object-fit:contain;
}

.page-title h2{
    margin:0;
    font-size:2.2rem;
    font-weight:700;
}
