/* Werkspullenplanner v2.6.14 - laatste cascade voor de modulaire werkplaatsinterface. */
.app-shell {
  max-width: none;
  padding-top: 0;
  width: min(1760px, calc(100% - 32px));
}

.topbar {
  align-items: stretch;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  backdrop-filter: blur(18px);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line));
  border-radius: 0 0 14px 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(190px, auto) minmax(0, 1fr) auto;
  margin: 0 0 18px;
  min-height: 68px;
  overflow: visible;
  padding: 0 14px;
  position: sticky;
  top: 0;
  z-index: 18;
}

.topbar::before {
  display: none;
}

.top-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.topbar-brand {
  align-items: center;
  align-self: stretch;
  background: transparent;
  border: 0;
  color: var(--ink);
  display: inline-flex;
  gap: 10px;
  justify-content: flex-start;
  min-width: 0;
  padding: 8px 4px;
  text-align: left;
}

.topbar-brand:hover {
  box-shadow: none;
  filter: none;
  transform: none;
}

.main-nav {
  align-items: stretch;
  display: flex;
  gap: 3px;
  justify-content: center;
  min-width: 0;
}

.nav-tab {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 760;
  min-height: 66px;
  min-width: 0;
  padding: 0 10px;
  position: relative;
  white-space: nowrap;
}

.nav-tab:hover,
.nav-tab.is-active {
  background: transparent;
  box-shadow: none;
  color: var(--accent);
  filter: none;
  transform: none;
}

.menu-button {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--accent);
  display: inline-flex;
  gap: 8px;
  min-height: 44px;
  padding: 0 11px;
  width: auto;
}

.menu-button > .menu-button-label {
  background: transparent;
  color: currentColor;
  display: inline;
  font-size: 12px;
  height: auto;
  width: auto;
}

.menu-button .hamburger-icon {
  background: transparent;
  border-radius: 0;
  display: grid;
  gap: 4px;
  height: auto;
  width: 19px;
}

.menu-button .hamburger-icon span {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 19px;
}

body:has(.drawer.open) .menu-button > .hamburger-icon,
body:has(.drawer.open) .menu-button > .menu-button-label {
  opacity: 1;
  transform: none;
}

.app-view-workspace {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.app-view-workspace > .panel.wide,
.app-view-workspace > .panel:not(.workspace-drawer-panel) {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
}

.workspace-drawer-panel {
  background: var(--panel);
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  box-shadow: -18px 0 48px rgba(18, 42, 26, 0.2);
  padding: 18px;
}

.product-list {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-auto-columns: auto;
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  grid-template-rows: none;
  overflow: visible;
  padding: 2px;
  scroll-snap-type: none;
}

.product-list > .product-card {
  height: auto;
}

.orders-list {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  overflow: visible;
  padding: 2px;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.orders-list::-webkit-scrollbar {
  display: none;
}

.order-card,
.delivery-due-list .order-card {
  box-sizing: border-box;
  display: flex;
  flex: none;
  flex-basis: auto;
  flex-direction: column;
  gap: 0;
  height: 100%;
  min-height: 285px;
  min-width: 0;
  overflow: hidden;
  padding: 15px;
  position: relative;
  width: auto;
}

.order-actions {
  align-items: stretch;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  grid-template-columns: none;
  margin-top: auto;
  padding-top: 12px;
}

.order-actions button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}

.order-card-top {
  align-items: flex-start;
  flex-wrap: wrap;
}

.order-card-top .order-delivery {
  margin-left: auto;
  min-width: 0;
}

.order-customer,
.order-note-preview {
  overflow-wrap: anywhere;
}

.order-item-line > span:last-child {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.drawer {
  max-width: 430px;
  width: min(94vw, 430px);
  z-index: 52;
}

.drawer-nav a,
.drawer-nav button,
.drawer-import-button {
  min-height: 48px;
  padding: 7px 10px;
}

.drawer-backdrop {
  z-index: 51;
}

.modal-backdrop {
  z-index: 70;
}

@media (max-width: 1280px) {
  .nav-wide {
    display: none;
  }
}

@media (max-width: 940px) {
  .topbar {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 10px 8px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-tab {
    min-height: 42px;
    padding: 0 13px;
  }

  .top-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
  }
}

@media (max-width: 700px) {
  .app-shell {
    padding-top: 0;
    width: min(100% - 18px, 1760px);
  }

  .topbar {
    align-items: center;
    gap: 6px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 62px;
    padding: 0 8px;
  }

  .main-nav,
  .topbar-brand small,
  .stock-alert-button > span:last-child,
  .menu-button-label {
    display: none !important;
  }

  .top-actions {
    align-items: center;
    display: flex;
    gap: 6px;
    grid-column: 2;
    grid-row: 1;
    width: auto;
  }

  .current-view-label {
    display: inline;
  }

  .product-list,
  .orders-list {
    grid-template-columns: 1fr;
  }

  .order-card,
  .delivery-due-list .order-card {
    height: auto;
  }

  .order-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-actions button:last-child {
    grid-column: 1 / -1;
  }
}

/* Vergrendelde voorbeeldweergave voor de werknemersmodule. */
body.employees-entry-locked [data-open-modal="employees"] {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--muted) 24%, transparent);
  opacity: 0.84;
}

.employees-locked-preview .modal-body {
  overflow: hidden;
  padding: 0;
  position: relative;
}

.employees-locked-stage {
  min-height: calc(100dvh - 66px);
  overflow: hidden;
  position: relative;
}

.employees-locked-preview-surface {
  filter: grayscale(0.82);
  min-height: calc(100dvh - 66px);
  opacity: 0.48;
  padding: 18px;
  pointer-events: none;
  user-select: none;
}

.employees-preview-owner-button,
.employees-preview-toolbar,
.employees-preview-card,
.employees-preview-roster {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.employees-preview-owner-button {
  color: var(--ink);
  font-weight: 800;
  padding: 12px 16px;
}

.employees-preview-toolbar {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  padding: 14px;
}

.employees-preview-toolbar > span {
  display: grid;
  gap: 6px;
}

.employees-preview-toolbar small {
  color: var(--muted);
}

.employees-preview-toolbar b {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 42px;
  padding: 11px;
}

.employees-preview-toolbar > strong {
  background: var(--accent);
  border-radius: 8px;
  color: #fff;
  min-height: 42px;
  padding: 11px 18px;
}

.employees-preview-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.employees-preview-card {
  align-items: center;
  display: grid;
  gap: 7px;
  justify-items: center;
  min-height: 210px;
  padding: 20px;
  text-align: center;
}

.employees-preview-card small {
  color: var(--muted);
}

.employees-preview-status {
  background: color-mix(in srgb, var(--muted) 12%, var(--panel));
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 10px;
}

.employees-preview-roster {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.employees-preview-roster h3,
.employees-preview-roster p {
  margin: 0;
}

.employees-preview-days {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.employees-preview-days span {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 10px;
}

.employees-preview-days small {
  color: var(--muted);
}

.employees-locked-overlay {
  align-items: center;
  backdrop-filter: blur(2px);
  background: color-mix(in srgb, #707774 44%, transparent);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: absolute;
  z-index: 4;
}

.employees-locked-message {
  align-items: center;
  background: color-mix(in srgb, var(--panel) 96%, var(--accent) 4%);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(17, 27, 21, 0.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
  padding: clamp(24px, 5vw, 42px);
  text-align: center;
  width: min(100%, 560px);
}

.employees-locked-message h3,
.employees-locked-message p {
  margin: 0;
}

.employees-locked-message > p:not(.eyebrow),
.employees-locked-message > small {
  color: var(--muted);
}

.employees-locked-message ul {
  background: color-mix(in srgb, var(--muted) 8%, transparent);
  border-radius: 9px;
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 11px 14px 11px 32px;
  text-align: left;
  width: 100%;
}

.employees-locked-message button {
  min-height: 48px;
  min-width: min(100%, 260px);
}

.employees-lock-symbol {
  align-items: center;
  background: color-mix(in srgb, var(--accent) 14%, var(--panel));
  border-radius: 50%;
  display: flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.employees-lock-symbol i {
  background: var(--accent);
  border-radius: 4px;
  display: block;
  height: 19px;
  position: relative;
  width: 23px;
}

.employees-lock-symbol i::before {
  border: 4px solid var(--accent);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  content: "";
  height: 13px;
  left: 4px;
  position: absolute;
  top: -12px;
  width: 15px;
}

.settings-route-highlight {
  background: color-mix(in srgb, var(--accent) 13%, var(--panel)) !important;
  border-radius: 9px;
  outline: 3px solid color-mix(in srgb, var(--accent) 42%, transparent);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .employees-locked-preview-surface {
    padding: 10px;
  }

  .employees-preview-toolbar,
  .employees-preview-grid,
  .employees-preview-days {
    grid-template-columns: 1fr;
  }

  .employees-preview-grid {
    display: none;
  }

  .employees-locked-overlay {
    padding: 14px;
  }

  .employees-locked-message {
    padding: 24px 18px;
  }
}

/* Rustige, consistente pictogrammen voor het hamburgermenu. */
.drawer-nav a,
.drawer-nav button,
.drawer-import-button {
  border-radius: 11px;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.drawer-import-button:hover {
  background: color-mix(in srgb, var(--accent) 13%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
}

.drawer-nav .menu-icon {
  align-items: center;
  background: color-mix(in srgb, var(--accent) 11%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 9px;
  color: color-mix(in srgb, var(--accent) 82%, var(--ink));
  display: inline-grid;
  flex: 0 0 34px;
  height: 34px;
  isolation: isolate;
  place-items: center;
  position: relative;
  width: 34px;
}

.drawer-nav .menu-icon::before,
.drawer-nav .menu-icon::after {
  background: transparent;
  border: 0;
  border-radius: 0;
  bottom: auto;
  box-shadow: none;
  content: "";
  display: block;
  height: auto;
  left: auto;
  position: absolute;
  right: auto;
  top: auto;
  transform: none;
  width: auto;
}

.drawer-nav a:hover .menu-icon,
.drawer-nav button:hover .menu-icon,
.drawer-import-button:hover .menu-icon {
  background: color-mix(in srgb, var(--accent) 18%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
}

.drawer-nav a.is-active .menu-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--accent) 25%, transparent);
}

.drawer-nav a.is-active:hover .menu-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.drawer-import-button:focus-visible {
  box-shadow: var(--focus-ring);
  outline: 0;
}

.drawer-nav .icon-dashboard::before {
  background: currentColor;
  border-radius: 2px;
  box-shadow:
    10px 0 0 currentColor,
    0 10px 0 currentColor,
    10px 10px 0 currentColor;
  height: 7px;
  left: 8px;
  top: 8px;
  width: 7px;
}

.drawer-nav .icon-inventory::before {
  border: 2px solid currentColor;
  border-radius: 3px;
  height: 14px;
  left: 6px;
  top: 8px;
  width: 18px;
}

.drawer-nav .icon-inventory::after {
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
  height: 2px;
  left: 10px;
  top: 14px;
  width: 14px;
}

.drawer-nav .icon-products::before {
  border: 2px solid currentColor;
  border-radius: 3px;
  height: 14px;
  left: 8px;
  top: 8px;
  transform: rotate(45deg);
  width: 14px;
}

.drawer-nav .icon-products::after {
  background: currentColor;
  height: 12px;
  left: 16px;
  top: 11px;
  width: 2px;
}

.drawer-nav .icon-orders::before {
  border: 2px solid currentColor;
  border-radius: 3px;
  height: 20px;
  left: 7px;
  top: 5px;
  width: 16px;
}

.drawer-nav .icon-orders::after {
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
  height: 2px;
  left: 12px;
  top: 11px;
  width: 10px;
}

.drawer-nav .icon-planning::before {
  border: 2px solid currentColor;
  border-radius: 4px;
  height: 17px;
  left: 6px;
  top: 8px;
  width: 20px;
}

.drawer-nav .icon-planning::after {
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 11px 0 currentColor;
  height: 2px;
  left: 10px;
  top: 13px;
  width: 14px;
}

.drawer-nav .icon-employees::before {
  background: currentColor;
  border-radius: 50%;
  box-shadow: 10px 2px 0 -1px currentColor;
  height: 8px;
  left: 7px;
  top: 7px;
  width: 8px;
}

.drawer-nav .icon-employees::after {
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 3px 3px;
  box-shadow: 9px 1px 0 -1px currentColor;
  height: 8px;
  left: 5px;
  top: 18px;
  width: 12px;
}

.drawer-nav .icon-reports::before {
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 4px 8px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 100% / 4px 14px no-repeat,
    linear-gradient(currentColor, currentColor) 16px 100% / 4px 20px no-repeat;
  bottom: 7px;
  height: 20px;
  left: 7px;
  width: 20px;
}

.drawer-nav .icon-reports::after {
  background: currentColor;
  bottom: 6px;
  height: 2px;
  left: 6px;
  width: 22px;
}

.drawer-nav .icon-prices::before,
.drawer-nav .icon-help::before,
.drawer-nav .icon-info::before,
.drawer-nav .icon-disclaimer::before {
  font-family: Arial, sans-serif;
  font-weight: 900;
  left: 50%;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -52%);
}

.drawer-nav .icon-prices::before {
  content: "€";
  font-size: 19px;
}

.drawer-nav .icon-documents::before {
  border: 2px solid currentColor;
  border-radius: 3px;
  height: 20px;
  left: 7px;
  top: 5px;
  width: 16px;
}

.drawer-nav .icon-documents::after {
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
  height: 2px;
  left: 12px;
  top: 11px;
  width: 9px;
}

.drawer-nav .icon-data::before {
  border: 2px solid currentColor;
  border-radius: 50% / 24%;
  height: 17px;
  left: 6px;
  top: 7px;
  width: 20px;
}

.drawer-nav .icon-data::after {
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
  height: 2px;
  left: 9px;
  top: 13px;
  width: 16px;
}

.drawer-nav .icon-export::before,
.drawer-nav .icon-import::before {
  border: solid currentColor;
  border-width: 0 3px 3px 0;
  height: 8px;
  left: 11px;
  width: 8px;
}

.drawer-nav .icon-export::before {
  top: 7px;
  transform: rotate(45deg);
}

.drawer-nav .icon-import::before {
  top: 12px;
  transform: rotate(225deg);
}

.drawer-nav .icon-export::after,
.drawer-nav .icon-import::after {
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
  bottom: 6px;
  height: 7px;
  left: 6px;
  width: 18px;
}

.drawer-nav .icon-settings::before {
  border: 3px dashed currentColor;
  border-radius: 50%;
  height: 18px;
  left: 5px;
  top: 5px;
  width: 18px;
}

.drawer-nav .icon-settings::after {
  background: currentColor;
  border-radius: 50%;
  height: 6px;
  left: 14px;
  top: 14px;
  width: 6px;
}

.drawer-nav .icon-help::before {
  content: "?";
  font-size: 20px;
}

.drawer-nav .icon-backup::before {
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  height: 17px;
  left: 6px;
  top: 6px;
  transform: rotate(-25deg);
  width: 17px;
}

.drawer-nav .icon-backup::after {
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
  border-top: 4px solid transparent;
  left: 7px;
  top: 6px;
  transform: rotate(-32deg);
}

.drawer-nav .icon-info::before {
  content: "i";
  font-size: 20px;
}

.drawer-nav .icon-privacy::before {
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  height: 9px;
  left: 9px;
  top: 6px;
  width: 12px;
}

.drawer-nav .icon-privacy::after {
  background: currentColor;
  border-radius: 3px;
  height: 13px;
  left: 7px;
  top: 15px;
  width: 20px;
}

.drawer-nav .icon-disclaimer::before {
  content: "!";
  font-size: 20px;
}

body[data-theme="dark"] .drawer-nav .menu-icon {
  background: color-mix(in srgb, var(--accent) 18%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  color: color-mix(in srgb, var(--accent) 64%, #fff);
}

body[data-theme="dark"] .drawer-import-button {
  background: color-mix(in srgb, var(--panel) 86%, var(--accent) 8%);
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
  color: var(--ink);
}

body[data-theme="dark"] .drawer-nav a.is-active .menu-icon {
  background: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 70%, #fff);
  color: #fff;
}

/* Productie gereedheid en komende werkzaamheden */
.production-planning-panel {
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.production-planning-heading {
  align-items: flex-start;
}

.production-planning-heading h2,
.production-planning-heading p,
.production-section-heading h3,
.production-section-heading p,
.production-readiness-detail h4,
.production-readiness-detail p {
  margin: 0;
}

.production-planning-heading > div,
.production-section-heading > div {
  display: grid;
  gap: 4px;
}

.production-planning-heading > div > p:last-child,
.production-section-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.production-readiness-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.production-readiness-summary article {
  background: color-mix(in srgb, var(--accent) 5%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 12px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px;
}

.production-readiness-summary span,
.production-readiness-summary small,
.production-readiness-row small,
.production-detail-heading span,
.production-detail-facts small,
.upcoming-work-table small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.production-readiness-summary strong {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.production-readiness-summary article:last-child strong {
  font-size: clamp(18px, 1.7vw, 24px);
}

.production-planning-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.85fr) minmax(480px, 1.45fr);
  min-width: 0;
}

.production-readiness-section,
.upcoming-work-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-top: 16px;
}

.production-section-heading {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.production-readiness-list {
  display: grid;
  gap: 7px;
  max-height: 354px;
  overflow: auto;
  padding-right: 3px;
}

.production-readiness-row {
  align-items: center;
  background: color-mix(in srgb, var(--panel) 95%, var(--accent) 5%);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-height: 62px;
  padding: 10px 11px;
  text-align: left;
  width: 100%;
}

.production-readiness-row:hover,
.production-readiness-row.is-selected {
  background: color-mix(in srgb, var(--accent) 10%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 54%, var(--line));
  box-shadow: none;
  transform: none;
}

.production-readiness-row > span:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.production-readiness-row strong,
.production-readiness-row small {
  overflow-wrap: anywhere;
}

.production-status-badge {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.15;
  max-width: 145px;
  min-height: 24px;
  padding: 5px 8px;
  text-align: center;
}

.production-status-badge.status-ready {
  background: color-mix(in srgb, var(--green) 13%, var(--panel));
  border-color: color-mix(in srgb, var(--green) 30%, var(--line));
  color: var(--green);
}

.production-status-badge.status-waiting {
  background: color-mix(in srgb, var(--blue) 12%, var(--panel));
  border-color: color-mix(in srgb, var(--blue) 30%, var(--line));
  color: var(--blue);
}

.production-status-badge.status-almost {
  background: color-mix(in srgb, var(--orange) 14%, var(--panel));
  border-color: color-mix(in srgb, var(--orange) 34%, var(--line));
  color: color-mix(in srgb, var(--orange) 82%, var(--ink));
}

.production-status-badge.status-unknown {
  background: color-mix(in srgb, var(--muted) 11%, var(--panel));
  border-color: color-mix(in srgb, var(--muted) 28%, var(--line));
  color: var(--muted);
}

.production-status-badge.status-blocked {
  background: color-mix(in srgb, var(--red) 10%, var(--panel));
  border-color: color-mix(in srgb, var(--red) 28%, var(--line));
  color: var(--red);
}

.production-readiness-detail {
  min-height: 196px;
}

.production-readiness-detail > article {
  background: color-mix(in srgb, var(--accent) 4%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  border-radius: 12px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.production-detail-heading {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.production-detail-heading > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.production-detail-facts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.production-detail-facts > span {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px;
}

.production-detail-facts strong,
.production-detail-facts small {
  overflow-wrap: anywhere;
}

.production-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.production-detail-actions button {
  min-height: 38px;
  padding: 8px 12px;
  width: auto;
}

.upcoming-work-table-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 100%;
  overflow: auto;
}

.upcoming-work-table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.upcoming-work-table th,
.upcoming-work-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 10px;
  text-align: left;
  vertical-align: top;
}

.upcoming-work-table th {
  background: color-mix(in srgb, var(--accent) 6%, var(--panel));
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.upcoming-work-table tbody tr {
  cursor: pointer;
}

.upcoming-work-table tbody tr:hover,
.upcoming-work-table tbody tr.is-selected {
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
}

.upcoming-work-table tbody tr:last-child td {
  border-bottom: 0;
}

.upcoming-work-table td > strong,
.upcoming-work-table td > small {
  display: block;
}

.upcoming-work-table td > small {
  margin-top: 3px;
}

.production-empty-state {
  background: color-mix(in srgb, var(--accent) 4%, var(--panel));
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  margin: 0;
  padding: 16px;
}

@media (max-width: 1120px) {
  .production-planning-layout {
    grid-template-columns: 1fr;
  }

  .production-readiness-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 320px;
  }
}

@media (max-width: 720px) {
  .production-readiness-summary,
  .production-detail-facts,
  .production-readiness-list {
    grid-template-columns: 1fr;
  }

  .production-readiness-list {
    max-height: 420px;
  }

  .production-planning-panel {
    padding: 14px;
  }
}

@media (max-width: 430px) {
  .production-readiness-row,
  .production-detail-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .production-status-badge {
    max-width: 100%;
  }
}

body.large-text-mode .production-planning-layout,
body[data-text-size="huge"] .production-planning-layout {
  grid-template-columns: 1fr;
}

body[data-theme="dark"] .production-readiness-summary article,
body[data-theme="dark"] .production-readiness-detail > article,
body[data-theme="dark"] .production-readiness-row,
body[data-theme="dark"] .production-detail-facts > span,
body[data-theme="dark"] .upcoming-work-table th {
  background: color-mix(in srgb, var(--panel) 90%, var(--accent) 10%);
}

/* Werknemersprofiel: benut de volledige breedte zonder de kalenderlogica te wijzigen. */
#employeeDetailPanel {
  display: grid;
  gap: 18px;
  min-width: 0;
  width: 100%;
}

#employeeOwnerPanel {
  min-width: 0;
  width: 100%;
}

#employeeDetailPanel > .employee-detail-head,
#employeeDetailPanel > .employee-detail-grid,
#employeeDetailPanel > .employee-notice-list,
#employeeDetailPanel > .employee-roster-toolbar,
#employeeDetailPanel > .roster-split,
#employeeDetailPanel > #employeePersonalLogSection,
#employeeOwnerPanel > .employee-notice-list {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}

#employeeDetailPanel .employee-detail-grid {
  align-items: center;
  grid-template-columns: minmax(210px, 240px) minmax(0, 1080px);
  justify-content: center;
}

#employeeDetailPanel .employee-action-panel {
  align-content: center;
  align-items: center;
  align-self: center;
  background: color-mix(in srgb, var(--panel) 96%, var(--accent) 4%) !important;
  border-color: color-mix(in srgb, var(--accent) 20%, var(--line)) !important;
  gap: 16px 20px;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  justify-self: center;
  max-width: 1080px;
  min-width: 0;
  padding: 18px !important;
  width: 100%;
}

#employeeDetailPanel .employee-clock-header {
  align-items: center;
  display: flex;
  gap: 20px;
  grid-column: 1;
  justify-content: space-between;
  min-width: 0;
}

#employeeDetailPanel .employee-clock-actions {
  grid-column: 2;
  min-width: 0;
}

#employeeDetailPanel .employee-manual-tools {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  grid-column: 1 / -1;
  min-width: 0;
}

#employeeDetailPanel .employee-manual-tools > summary {
  padding-left: 0;
  padding-right: 0;
}

#employeeDetailPanel .employee-action-panel[data-shift-state="working"] {
  background: color-mix(in srgb, var(--panel) 92%, var(--accent) 8%) !important;
  border-color: color-mix(in srgb, var(--accent) 36%, var(--line)) !important;
}

#employeeDetailPanel .employee-action-panel[data-shift-state="paused"] {
  background: color-mix(in srgb, var(--panel) 92%, var(--orange) 8%) !important;
  border-color: color-mix(in srgb, var(--orange) 40%, var(--line)) !important;
}

#employeeDetailPanel .employee-action-panel[data-shift-state="complete"] {
  background: color-mix(in srgb, var(--panel) 90%, var(--accent) 10%) !important;
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line)) !important;
  grid-template-columns: 1fr;
}

#employeeDetailPanel .employee-action-panel[data-shift-state="working"] .employee-shift-kicker i,
#employeeDetailPanel .employee-action-panel[data-shift-state="complete"] .employee-shift-kicker i {
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 17%, transparent);
}

#employeeDetailPanel .employee-action-panel[data-shift-state="paused"] .employee-shift-kicker i {
  background: var(--orange);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 18%, transparent);
}

#employeeDetailPanel .employee-action-panel[data-shift-state="paused"] .employee-live-timer {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

#employeeDetailPanel .employee-clock-actions button {
  min-height: 48px;
}

body[data-theme="dark"] #employeeDetailPanel .employee-manual-tools {
  background: transparent !important;
}

.employee-roster-toolbar {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(300px, 0.7fr) minmax(420px, 1.3fr);
  min-width: 0;
}

#employeeDetailPanel .employee-roster-toolbar .roster-tabs,
#employeeDetailPanel .employee-roster-toolbar .roster-hours-card,
#employeeOwnerPanel .employee-roster-toolbar .roster-tabs,
#employeeOwnerPanel .employee-roster-toolbar .roster-hours-card {
  margin: 0;
  max-width: none;
  min-height: 92px;
  width: 100%;
}

#employeeDetailPanel .employee-roster-toolbar .roster-tabs,
#employeeOwnerPanel .employee-roster-toolbar .roster-tabs {
  padding: 16px 20px;
}

#employeeDetailPanel .employee-roster-toolbar .roster-tabs > span,
#employeeOwnerPanel .employee-roster-toolbar .roster-tabs > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

#employeeDetailPanel .employee-roster-toolbar .roster-hours-card,
#employeeOwnerPanel .employee-roster-toolbar .roster-hours-card {
  padding: 16px 20px;
}

#employeeDetailPanel .employee-roster-toolbar .roster-hours-card strong,
#employeeOwnerPanel .employee-roster-toolbar .roster-hours-card strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

#employeeDetailPanel .employee-roster-toolbar .roster-hours-card span,
#employeeOwnerPanel .employee-roster-toolbar .roster-hours-card span {
  font-weight: 900;
  min-width: 112px;
  text-align: center;
}

#employeeDetailPanel .roster-split,
#employeeOwnerPanel .roster-split {
  gap: 18px;
  grid-template-columns: minmax(500px, 620px) minmax(0, 1fr);
  max-width: none;
  min-width: 0;
  width: 100%;
}

#employeeDetailPanel .roster-calendar-card,
#employeeDetailPanel .roster-day-card,
#employeeOwnerPanel .roster-calendar-card,
#employeeOwnerPanel .roster-day-card {
  max-width: none;
  min-width: 0;
  width: 100%;
}

#employeeDetailPanel .roster-weekdays,
#employeeDetailPanel .roster-calendar-grid,
#employeeOwnerPanel .roster-weekdays,
#employeeOwnerPanel .roster-calendar-grid {
  justify-content: center;
}

#employeeDetailPanel .roster-day-card,
#employeeOwnerPanel .roster-day-card {
  min-height: 100%;
}

#employeeDetailPanel #employeePersonalLogSection {
  min-width: 0;
}

@media (max-width: 1250px) {
  #employeeDetailPanel .roster-split,
  #employeeOwnerPanel .roster-split {
    grid-template-columns: minmax(440px, 520px) minmax(0, 1fr);
  }
}

@media (max-width: 1050px) {
  #employeeDetailPanel .roster-split,
  #employeeOwnerPanel .roster-split {
    grid-template-columns: 1fr;
  }

  #employeeDetailPanel .roster-calendar-card,
  #employeeOwnerPanel .roster-calendar-card {
    justify-self: stretch;
  }
}

@media (max-width: 900px) {
  #employeeDetailPanel .employee-action-panel {
    grid-template-columns: 1fr;
  }

  #employeeDetailPanel .employee-clock-header,
  #employeeDetailPanel .employee-clock-actions,
  #employeeDetailPanel .employee-manual-tools {
    grid-column: 1;
  }

  #employeeDetailPanel .employee-manual-tools-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  #employeeDetailPanel .employee-detail-grid {
    grid-template-columns: 1fr;
  }

  .employee-roster-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  #employeeDetailPanel .employee-clock-header {
    align-items: flex-start;
    flex-direction: column;
  }

  #employeeDetailPanel .employee-live-time {
    justify-items: start;
  }

  #employeeDetailPanel .employee-clock-actions {
    grid-template-columns: 1fr !important;
  }

  .employee-roster-toolbar {
    grid-template-columns: 1fr;
  }

  #employeeDetailPanel .employee-roster-toolbar .roster-tabs,
  #employeeDetailPanel .employee-roster-toolbar .roster-hours-card,
  #employeeOwnerPanel .employee-roster-toolbar .roster-tabs,
  #employeeOwnerPanel .employee-roster-toolbar .roster-hours-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  #employeeDetailPanel .employee-profile-panel {
    justify-self: center;
    max-width: 280px;
    width: 100%;
  }
}

body.large-text-mode #employeeDetailPanel .employee-action-panel,
body.large-text-mode #employeeDetailPanel .employee-roster-toolbar,
body.large-text-mode #employeeDetailPanel .roster-split,
body.large-text-mode #employeeOwnerPanel .employee-roster-toolbar,
body.large-text-mode #employeeOwnerPanel .roster-split,
body[data-text-size="huge"] #employeeDetailPanel .employee-action-panel,
body[data-text-size="huge"] #employeeDetailPanel .employee-roster-toolbar,
body[data-text-size="huge"] #employeeDetailPanel .roster-split,
body[data-text-size="huge"] #employeeOwnerPanel .employee-roster-toolbar,
body[data-text-size="huge"] #employeeOwnerPanel .roster-split {
  grid-template-columns: 1fr;
}

body.large-text-mode #employeeDetailPanel .employee-clock-header,
body.large-text-mode #employeeDetailPanel .employee-clock-actions,
body.large-text-mode #employeeDetailPanel .employee-manual-tools,
body[data-text-size="huge"] #employeeDetailPanel .employee-clock-header,
body[data-text-size="huge"] #employeeDetailPanel .employee-clock-actions,
body[data-text-size="huge"] #employeeDetailPanel .employee-manual-tools {
  grid-column: 1;
}

body[data-text-size="huge"] #employeeDetailPanel .employee-detail-grid {
  grid-template-columns: 1fr;
}

body[data-text-size="huge"] #employeeDetailPanel .employee-profile-panel {
  justify-self: center;
  max-width: 280px;
  width: 100%;
}

body.large-text-mode #employeeDetailPanel .employee-clock-header,
body[data-text-size="huge"] #employeeDetailPanel .employee-clock-header {
  align-items: flex-start;
  flex-direction: column;
}

body.large-text-mode #employeeDetailPanel .employee-live-time,
body[data-text-size="huge"] #employeeDetailPanel .employee-live-time {
  justify-items: start;
}

body.large-text-mode #employeeDetailPanel .employee-clock-actions,
body[data-text-size="huge"] #employeeDetailPanel .employee-clock-actions {
  grid-template-columns: 1fr !important;
}

body.large-text-mode #employeeDetailPanel .employee-clock-actions button {
  font-size: 18px;
}

body[data-text-size="huge"] #employeeDetailPanel .employee-clock-actions button {
  font-size: 20px;
}

/* Baas/leidinggevende: eigen werkklok links, maximaal drie teamprofielen en het eigen profiel vast rechts. */
#employeeDetailPanel .employee-manager-detail-grid {
  align-items: stretch;
  grid-template-columns: minmax(400px, 0.72fr) minmax(760px, 1.28fr);
  justify-content: stretch;
  margin-inline: auto;
  max-width: 1700px;
}

#employeeDetailPanel .employee-manager-detail-grid > .employee-action-panel {
  align-content: center;
  align-self: stretch;
  grid-template-columns: 1fr;
  justify-self: stretch;
  max-width: none;
}

#employeeDetailPanel .employee-manager-detail-grid .employee-clock-header,
#employeeDetailPanel .employee-manager-detail-grid .employee-clock-actions,
#employeeDetailPanel .employee-manager-detail-grid .employee-manual-tools {
  grid-column: 1;
}

#employeeDetailPanel .employee-manager-detail-grid .employee-clock-header {
  align-items: flex-start;
  flex-direction: column;
}

#employeeDetailPanel .employee-manager-detail-grid .employee-live-time {
  justify-items: start;
}

#employeeDetailPanel .employee-manager-detail-grid .employee-clock-actions {
  grid-template-columns: 1fr !important;
}

.employee-team-switcher {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, var(--panel)), var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(24, 34, 28, 0.08);
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
}

.employee-team-switcher-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-width: 0;
}

.employee-team-switcher-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.employee-team-switcher-head .eyebrow {
  margin: 0;
}

.employee-team-switcher-head > div > strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.employee-team-switcher-head > div > small {
  color: var(--muted);
  line-height: 1.35;
}

.employee-team-pager {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.employee-team-pager button {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--accent-dark);
  display: inline-flex;
  font-size: 19px;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.employee-team-pager button:not(:disabled):hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}

.employee-team-pager button:disabled {
  cursor: default;
  opacity: 0.35;
}

.employee-team-pager span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  min-width: 38px;
  text-align: center;
}

.employee-team-row {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(166px, 190px);
  min-width: 0;
}

.employee-team-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.employee-team-card,
.employee-team-self-card {
  background: color-mix(in srgb, var(--panel) 94%, var(--accent) 6%);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 14px;
  min-width: 0;
  padding: 13px;
}

.employee-team-card {
  align-content: start;
  color: var(--ink);
  display: grid;
  gap: 8px 10px;
  grid-template-columns: 48px minmax(0, 1fr);
  text-align: left;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.employee-team-card:hover {
  background: color-mix(in srgb, var(--panel) 86%, var(--accent) 14%);
  border-color: var(--accent);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 13%, transparent);
  transform: translateY(-2px);
}

.employee-team-card:focus-visible {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
  outline: 2px solid transparent;
}

.employee-team-card > img,
.employee-team-card > .employee-default-avatar,
.employee-team-self-card > img,
.employee-team-self-card > .employee-default-avatar,
.employee-team-view-context > img,
.employee-team-view-context > .employee-default-avatar {
  border: 2px solid color-mix(in srgb, var(--accent) 36%, var(--line));
  border-radius: 50%;
  box-shadow: none;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.employee-team-card-copy {
  align-content: center;
  display: grid;
  gap: 2px;
  min-width: 0;
}

.employee-team-card-copy strong,
.employee-team-card-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-team-card-copy strong {
  font-size: 14px;
}

.employee-team-card-copy small {
  color: var(--muted);
  font-size: 11px;
}

.employee-team-card > em {
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  grid-column: 1 / -1;
  justify-self: start;
  padding: 4px 8px;
}

.employee-team-card > em.working {
  background: color-mix(in srgb, var(--accent) 14%, var(--panel));
  color: var(--accent-dark);
}

.employee-team-card > em.paused {
  background: color-mix(in srgb, var(--orange) 16%, var(--panel));
  color: color-mix(in srgb, var(--orange) 76%, #4b2600);
}

.employee-team-card > em.idle {
  background: color-mix(in srgb, var(--muted) 10%, var(--panel));
  color: var(--muted);
}

.employee-team-card-action {
  align-items: center;
  border-top: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line));
  color: var(--accent-dark);
  display: flex;
  font-size: 11px;
  font-weight: 900;
  gap: 6px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 8px;
}

.employee-team-self-card {
  align-content: start;
  background:
    radial-gradient(circle at 50% 24%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 68px),
    color-mix(in srgb, var(--panel) 90%, var(--accent) 10%);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  display: grid;
  gap: 8px;
  justify-items: center;
  position: relative;
  text-align: center;
}

.employee-team-self-card > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.employee-team-self-card > div strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.employee-team-self-card > div small {
  color: var(--muted);
  font-size: 11px;
}

.employee-team-self-badge {
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 8px;
  position: absolute;
  right: 8px;
  top: 8px;
}

.employee-team-photo-upload {
  margin-top: auto;
}

.employee-team-photo-upload > span {
  font-size: 11px;
  min-height: 36px;
  padding: 7px 9px;
}

.employee-team-empty {
  align-items: center;
  background: color-mix(in srgb, var(--accent) 4%, var(--panel));
  border: 1px dashed color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 14px;
  color: var(--muted);
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  margin: 0;
  min-height: 152px;
  padding: 18px;
  text-align: center;
}

.employee-team-view-context,
.employee-team-review-queue,
.employee-team-review-empty,
.employee-team-recent-log,
.employee-team-access-denied {
  background: var(--panel);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(24, 34, 28, 0.07);
}

.employee-team-view-context {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  padding: 17px 20px;
}

.employee-team-view-context > img,
.employee-team-view-context > .employee-default-avatar {
  height: 58px;
  width: 58px;
}

.employee-team-view-context > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.employee-team-view-context .eyebrow,
.employee-team-view-context h3,
.employee-team-view-context p {
  margin: 0;
}

.employee-team-view-context > span {
  background: color-mix(in srgb, var(--accent) 9%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  padding: 7px 10px;
}

.employee-team-review-queue {
  display: grid;
  gap: 12px;
  padding: 17px;
}

.employee-team-review-queue > header {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.employee-team-review-queue > header .eyebrow,
.employee-team-review-queue > header h3 {
  margin: 0;
}

.employee-team-review-queue > header > span {
  background: color-mix(in srgb, var(--orange) 14%, var(--panel));
  border-radius: 999px;
  color: color-mix(in srgb, var(--orange) 78%, #4b2600);
  font-size: 11px;
  font-weight: 900;
  padding: 7px 10px;
}

.employee-team-review-list {
  display: grid;
  gap: 8px;
}

.employee-team-review-list > article {
  align-items: center;
  background: color-mix(in srgb, var(--orange) 5%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--orange) 18%, var(--line));
  border-radius: 12px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-width: 0;
  padding: 11px 12px;
}

.employee-team-review-list > article > div:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.employee-team-review-list > article > div:first-child span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.employee-team-review-list .inline-actions {
  flex: 0 0 auto;
}

.employee-team-review-empty {
  align-items: center;
  display: flex;
  gap: 13px;
  padding: 15px 18px;
}

.employee-team-review-empty > span {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.employee-team-review-empty p {
  color: var(--muted);
  margin: 3px 0 0;
}

.employee-team-recent-log,
.employee-team-access-denied {
  padding: 18px;
}

.employee-team-recent-log > h3 {
  margin-top: 0;
}

body[data-theme="dark"] .employee-team-switcher,
body[data-theme="dark"] .employee-team-card,
body[data-theme="dark"] .employee-team-self-card,
body[data-theme="dark"] .employee-team-view-context,
body[data-theme="dark"] .employee-team-review-queue,
body[data-theme="dark"] .employee-team-review-empty,
body[data-theme="dark"] .employee-team-recent-log,
body[data-theme="dark"] .employee-team-access-denied {
  background: color-mix(in srgb, var(--panel) 91%, var(--accent) 9%);
}

@media (max-width: 1320px) {
  #employeeDetailPanel .employee-manager-detail-grid {
    grid-template-columns: 1fr;
  }

  #employeeDetailPanel .employee-manager-detail-grid > .employee-action-panel {
    margin-inline: auto;
    max-width: 920px;
  }
}

@media (max-width: 760px) {
  .employee-team-row {
    grid-template-columns: 1fr;
  }

  .employee-team-self-card {
    justify-self: stretch;
    order: -1;
  }

  .employee-team-self-card > img,
  .employee-team-self-card > .employee-default-avatar {
    height: 58px;
    width: 58px;
  }

  .employee-team-photo-upload {
    max-width: 220px;
  }

  .employee-team-view-context {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .employee-team-view-context > span {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .employee-team-review-list > article {
    align-items: stretch;
    flex-direction: column;
  }

  .employee-team-review-list .inline-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .employee-team-switcher-head {
    align-items: flex-start;
  }

  .employee-team-list {
    grid-template-columns: 1fr;
  }

  .employee-team-card {
    min-height: 0;
  }
}

body.large-text-mode #employeeDetailPanel .employee-manager-detail-grid,
body[data-text-size="huge"] #employeeDetailPanel .employee-manager-detail-grid,
body.large-text-mode .employee-team-row,
body[data-text-size="huge"] .employee-team-row {
  grid-template-columns: 1fr;
}

body.large-text-mode .employee-team-list,
body[data-text-size="huge"] .employee-team-list {
  grid-template-columns: 1fr;
}

body.large-text-mode .employee-team-self-card,
body[data-text-size="huge"] .employee-team-self-card {
  order: -1;
}

body.large-text-mode #employeeDetailPanel .employee-shift-kicker,
body.large-text-mode #employeeDetailPanel .employee-live-time > small,
body.large-text-mode #employeeDetailPanel .employee-manual-tools > summary small {
  font-size: 14px;
}

body[data-text-size="huge"] #employeeDetailPanel .employee-shift-kicker,
body[data-text-size="huge"] #employeeDetailPanel .employee-live-time > small,
body[data-text-size="huge"] #employeeDetailPanel .employee-manual-tools > summary small {
  font-size: 16px;
}

/* v315 - werknemersprofiel als rustige teamplanning, met de ingelogde actor altijd vast. */
#employeeDetailPanel.employee-concept-profile {
  --employee-concept-navy: #101b2a;
  --employee-concept-navy-soft: #1a2b40;
  --employee-concept-paper: #f4f1ea;
  --employee-concept-teal: #0e8f83;
  --employee-concept-teal-soft: #dff4ef;
  --employee-concept-orange: #f28d35;
  --employee-concept-orange-soft: #fff0df;
  --employee-concept-blue: #4776e6;
  --employee-concept-rose: #c84d67;
  --employee-concept-shadow: 0 18px 55px rgba(24, 32, 45, 0.11);
  --employee-concept-shadow-soft: 0 10px 28px rgba(24, 32, 45, 0.08);
  color: var(--ink);
  gap: 20px;
  margin-inline: auto;
  max-width: 1580px;
  padding-bottom: 26px;
}

#employeeDetailPanel .employee-concept-avatar {
  align-items: center;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--employee-concept-teal) 72%, white), var(--employee-concept-navy-soft));
  border: 3px solid color-mix(in srgb, white 82%, transparent);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(16, 27, 42, 0.17);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 900;
  height: 58px;
  justify-content: center;
  letter-spacing: -0.04em;
  object-fit: cover;
  overflow: hidden;
  width: 58px;
}

#employeeDetailPanel img.employee-concept-avatar {
  background: color-mix(in srgb, var(--employee-concept-teal) 16%, white);
}

#employeeDetailPanel .employee-concept-detail-head {
  align-items: center;
  background:
    radial-gradient(circle at 84% 10%, color-mix(in srgb, var(--employee-concept-teal) 9%, transparent), transparent 28rem),
    linear-gradient(145deg, color-mix(in srgb, var(--panel) 96%, var(--employee-concept-teal) 4%), var(--panel));
  border: 1px solid color-mix(in srgb, var(--employee-concept-teal) 18%, var(--line));
  border-radius: 22px;
  box-shadow: var(--employee-concept-shadow-soft);
  min-height: 104px;
  padding: 18px 22px;
}

#employeeDetailPanel .employee-concept-detail-head .employee-detail-title {
  align-items: center;
  display: flex;
  gap: 13px;
  min-width: 0;
}

#employeeDetailPanel .employee-concept-head-avatar {
  height: 48px;
  width: 48px;
}

#employeeDetailPanel .employee-concept-detail-head h3 {
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.035em;
  margin: 0;
}

#employeeDetailPanel .employee-concept-detail-head p {
  color: var(--muted);
  margin: 2px 0 0;
}

#employeeDetailPanel .employee-concept-detail-head .eyebrow {
  color: var(--employee-concept-teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin: 0 0 3px;
  text-transform: uppercase;
}

.employee-concept-team-deck,
.employee-concept-focus-strip,
.employee-concept-week-glance,
.employee-concept-own-workday {
  background: color-mix(in srgb, var(--panel) 96%, white 4%);
  border: 1px solid color-mix(in srgb, var(--employee-concept-navy) 12%, var(--line));
  border-radius: 24px;
  box-shadow: var(--employee-concept-shadow);
  min-width: 0;
}

.employee-concept-team-deck {
  display: grid;
  gap: 17px;
  overflow: hidden;
  padding: 22px;
}

.employee-concept-section-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.employee-concept-section-head h3,
.employee-concept-section-head p,
.employee-concept-section-head .eyebrow {
  margin: 0;
}

.employee-concept-section-head h3 {
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -0.025em;
}

.employee-concept-section-head p {
  color: var(--muted);
  margin-top: 4px;
}

.employee-concept-section-head .eyebrow,
.employee-concept-focus-person .eyebrow,
.employee-concept-day-head .eyebrow,
.employee-concept-week-glance .eyebrow,
.employee-concept-own-workday .eyebrow {
  color: var(--employee-concept-teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.employee-concept-pager {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.employee-concept-pager button {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--employee-concept-navy);
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  font-weight: 850;
  height: 44px;
  justify-content: center;
  padding: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: 44px;
}

.employee-concept-pager button:not(:disabled):hover {
  border-color: color-mix(in srgb, var(--employee-concept-teal) 55%, var(--line));
  box-shadow: 0 7px 18px rgba(14, 143, 131, 0.12);
  transform: translateY(-2px);
}

.employee-concept-pager button:disabled {
  cursor: default;
  opacity: 0.35;
}

.employee-concept-pager > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  min-width: 42px;
  text-align: center;
}

.employee-concept-profile-row {
  align-items: stretch;
  display: grid;
  gap: 15px;
  grid-template-columns: minmax(0, 1fr) minmax(215px, 238px);
}

.employee-concept-worker-grid {
  animation: employeeConceptCardsSwitch 300ms ease both;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.employee-concept-worker-card {
  appearance: none;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--panel) 94%, white 6%), color-mix(in srgb, var(--panel) 94%, var(--employee-concept-teal) 6%));
  border: 1px solid color-mix(in srgb, var(--employee-concept-navy) 12%, var(--line));
  border-radius: 18px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 13px;
  min-height: 208px;
  min-width: 0;
  padding: 16px;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.employee-concept-worker-card:hover {
  border-color: color-mix(in srgb, var(--employee-concept-teal) 58%, var(--line));
  box-shadow: 0 14px 30px rgba(16, 27, 42, 0.12);
  transform: translateY(-4px);
}

.employee-concept-worker-card.active {
  border-color: var(--employee-concept-teal);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--employee-concept-teal) 14%, transparent),
    0 15px 34px rgba(14, 143, 131, 0.14);
}

.employee-concept-worker-top,
.employee-concept-worker-footer {
  align-items: center;
  display: flex;
  gap: 9px;
  justify-content: space-between;
  min-width: 0;
}

.employee-concept-worker-top .employee-concept-avatar {
  height: 48px;
  width: 48px;
}

.employee-concept-presence {
  align-items: center;
  background: color-mix(in srgb, var(--employee-concept-navy) 5%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--employee-concept-navy) 10%, var(--line));
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  gap: 6px;
  padding: 6px 8px;
}

.employee-concept-presence i,
.employee-concept-self-presence i {
  background: #9aa4ad;
  border-radius: 50%;
  display: inline-block;
  height: 7px;
  width: 7px;
}

.employee-concept-presence.working i,
.employee-concept-self-presence i.working {
  background: #38c58a;
  box-shadow: 0 0 0 4px rgba(56, 197, 138, 0.15);
}

.employee-concept-presence.paused i,
.employee-concept-self-presence i.paused {
  background: var(--employee-concept-orange);
  box-shadow: 0 0 0 4px rgba(242, 141, 53, 0.15);
}

.employee-concept-worker-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.employee-concept-worker-copy strong {
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-concept-worker-copy small,
.employee-concept-worker-copy > span,
.employee-concept-worker-footer small {
  color: var(--muted);
}

.employee-concept-worker-copy > span {
  font-size: 11px;
  line-height: 1.4;
  margin-top: 5px;
}

.employee-concept-worker-footer {
  align-self: end;
  border-top: 1px solid color-mix(in srgb, var(--employee-concept-navy) 9%, var(--line));
  padding-top: 11px;
}

.employee-concept-worker-footer small {
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-concept-worker-footer b {
  color: var(--employee-concept-teal);
  flex: 0 0 auto;
  font-size: 11px;
}

.employee-concept-self-card {
  align-content: start;
  background:
    radial-gradient(circle at 110% -10%, rgba(91, 224, 199, 0.22), transparent 55%),
    linear-gradient(155deg, var(--employee-concept-navy-soft), var(--employee-concept-navy));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  box-shadow: 0 18px 34px rgba(16, 27, 42, 0.2);
  color: #fff;
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 208px;
  padding: 18px 15px 14px;
  position: relative;
  text-align: center;
}

.employee-concept-self-card.active {
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--employee-concept-teal) 20%, transparent),
    0 20px 38px rgba(16, 27, 42, 0.24);
}

.employee-concept-self-badge {
  background: var(--employee-concept-orange);
  border-radius: 999px;
  color: #2b1807;
  font-size: 10px;
  font-weight: 950;
  padding: 5px 9px;
  position: absolute;
  right: 11px;
  top: 11px;
}

.employee-concept-self-avatar {
  border-color: rgba(255, 255, 255, 0.72) !important;
  height: 62px !important;
  width: 62px !important;
}

.employee-concept-self-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.employee-concept-self-copy strong {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employee-concept-self-copy small {
  color: rgba(255, 255, 255, 0.67);
  font-size: 10px;
}

.employee-concept-self-presence {
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  font-size: 10px;
  gap: 7px;
}

.employee-concept-self-actions {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.employee-concept-self-actions button,
.employee-concept-photo-upload {
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  font-size: 10px;
  font-weight: 850;
  justify-content: center;
  min-height: 34px;
  padding: 7px 8px;
}

.employee-concept-self-actions button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.employee-concept-self-actions button:hover {
  background: rgba(255, 255, 255, 0.17);
}

.employee-concept-photo-upload {
  color: rgba(255, 255, 255, 0.7);
  min-height: 25px;
  padding: 3px 7px;
}

.employee-concept-photo-upload input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.employee-concept-team-empty {
  align-items: center;
  border: 1px dashed color-mix(in srgb, var(--employee-concept-teal) 35%, var(--line));
  border-radius: 18px;
  color: var(--muted);
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  margin: 0;
  min-height: 208px;
  padding: 22px;
  text-align: center;
}

.employee-concept-own-workday {
  overflow: hidden;
}

.employee-concept-own-workday > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  list-style: none;
  min-height: 82px;
  padding: 16px 20px;
}

.employee-concept-own-workday > summary::-webkit-details-marker {
  display: none;
}

.employee-concept-own-workday > summary > div {
  display: grid;
  gap: 2px;
}

.employee-concept-own-workday > summary strong {
  color: var(--ink);
  font-size: 17px;
}

.employee-concept-own-workday > summary span {
  color: var(--muted);
  font-size: 12px;
}

.employee-concept-own-workday > summary > b,
.employee-concept-manager-editor > summary > b {
  background: color-mix(in srgb, var(--employee-concept-teal) 10%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--employee-concept-teal) 24%, var(--line));
  border-radius: 999px;
  color: var(--employee-concept-teal);
  font-size: 11px;
  padding: 7px 10px;
}

.employee-concept-own-workday[open] > summary {
  border-bottom: 1px solid var(--line);
}

#employeeDetailPanel .employee-concept-own-workday > .employee-action-panel {
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  justify-self: stretch;
  max-width: none;
}

.employee-concept-focus-strip {
  align-items: center;
  animation: employeeConceptDetailSwap 260ms ease both;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(320px, 1fr) minmax(480px, 1.15fr);
  padding: 20px 22px;
}

.employee-concept-focus-person {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 0;
}

.employee-concept-focus-avatar {
  height: 68px !important;
  width: 68px !important;
}

.employee-concept-focus-person h3,
.employee-concept-focus-person p {
  margin: 0;
}

.employee-concept-focus-person h3 {
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.employee-concept-focus-person p {
  color: var(--muted);
  margin-top: 3px;
}

.employee-concept-focus-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.employee-concept-focus-metrics article {
  background: color-mix(in srgb, var(--employee-concept-teal) 6%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--employee-concept-teal) 14%, var(--line));
  border-radius: 15px;
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 13px 14px;
}

.employee-concept-focus-metrics article.attention {
  background: color-mix(in srgb, var(--employee-concept-orange) 9%, var(--panel));
  border-color: color-mix(in srgb, var(--employee-concept-orange) 28%, var(--line));
}

.employee-concept-focus-metrics span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.employee-concept-focus-metrics strong {
  color: var(--employee-concept-navy);
  font-size: 22px;
  letter-spacing: -0.035em;
}

#employeeDetailPanel.employee-concept-manager .employee-roster-toolbar {
  grid-template-columns: minmax(280px, 0.55fr) minmax(430px, 1.45fr);
}

#employeeDetailPanel.employee-concept-manager .employee-roster-toolbar .roster-tabs,
#employeeDetailPanel.employee-concept-manager .employee-roster-toolbar .roster-hours-card {
  border-radius: 18px;
  box-shadow: var(--employee-concept-shadow-soft);
  min-height: 78px;
}

#employeeDetailPanel .employee-concept-planning-grid {
  align-items: stretch;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(600px, 1.15fr) minmax(440px, 0.85fr);
  max-width: none;
}

#employeeDetailPanel .employee-concept-calendar-card,
#employeeDetailPanel .employee-concept-day-panel {
  background: color-mix(in srgb, var(--panel) 97%, white 3%);
  border: 1px solid color-mix(in srgb, var(--employee-concept-navy) 12%, var(--line));
  border-radius: 24px;
  box-shadow: var(--employee-concept-shadow);
  padding: 20px;
}

#employeeDetailPanel .employee-concept-calendar-card .roster-calendar-head {
  background: color-mix(in srgb, var(--employee-concept-teal) 5%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--employee-concept-teal) 15%, var(--line));
  border-radius: 15px;
  margin-bottom: 10px;
  min-height: 52px;
  padding: 6px 9px;
}

#employeeDetailPanel .employee-concept-calendar-card .roster-calendar-head strong {
  color: var(--ink);
  font-size: 18px;
  text-transform: capitalize;
}

#employeeDetailPanel .employee-concept-calendar-card .roster-calendar-head button {
  border-radius: 11px;
  height: 38px;
  width: 38px;
}

.employee-concept-calendar-legend {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 5px 2px 13px;
}

.employee-concept-calendar-legend span {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 10px;
  font-weight: 750;
  gap: 6px;
}

.employee-concept-calendar-legend i {
  background: var(--employee-concept-teal);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.employee-concept-calendar-legend i.pending {
  background: var(--employee-concept-orange);
}

.employee-concept-calendar-legend i.away {
  background: var(--employee-concept-rose);
}

#employeeDetailPanel .employee-concept-calendar-card .roster-calendar-grid button {
  min-height: 54px;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

#employeeDetailPanel .employee-concept-calendar-card .roster-calendar-grid button:hover {
  box-shadow: 0 8px 18px rgba(16, 27, 42, 0.1);
  transform: translateY(-2px);
}

#employeeDetailPanel .employee-concept-day-panel {
  animation: employeeConceptDetailSwap 260ms ease both;
  align-content: start;
  display: grid;
  gap: 14px;
}

.employee-concept-day-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding-bottom: 13px;
}

.employee-concept-day-head h3,
.employee-concept-day-head p {
  margin: 0;
}

.employee-concept-day-head h3 {
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -0.025em;
  text-transform: capitalize;
}

.employee-concept-day-head > span {
  background: color-mix(in srgb, var(--employee-concept-teal) 10%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--employee-concept-teal) 20%, var(--line));
  border-radius: 999px;
  color: var(--employee-concept-teal);
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 900;
  padding: 7px 9px;
}

.employee-concept-day-head > span.request-day,
.employee-concept-day-head > span.worked-pending-day {
  background: var(--employee-concept-orange-soft);
  border-color: color-mix(in srgb, var(--employee-concept-orange) 28%, var(--line));
  color: #9a4f11;
}

.employee-concept-day-panel .roster-day-list {
  display: grid;
  gap: 10px;
}

.employee-concept-manager-editor {
  background: color-mix(in srgb, var(--employee-concept-teal) 5%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--employee-concept-teal) 17%, var(--line));
  border-radius: 14px;
  overflow: hidden;
}

.employee-concept-manager-editor > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  padding: 12px 13px;
}

.employee-concept-manager-editor > summary::-webkit-details-marker {
  display: none;
}

.employee-concept-manager-editor > summary > span {
  display: grid;
  gap: 2px;
}

.employee-concept-manager-editor > summary small {
  color: var(--muted);
  font-weight: 500;
}

.employee-concept-manager-editor[open] > summary {
  border-bottom: 1px solid var(--line);
}

.employee-concept-manager-editor .roster-day-editor {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 13px;
}

.employee-concept-day-panel .roster-shift-card {
  background: color-mix(in srgb, var(--panel) 96%, var(--employee-concept-teal) 4%);
  border: 1px solid color-mix(in srgb, var(--employee-concept-teal) 16%, var(--line));
  border-left: 4px solid var(--employee-concept-teal);
  border-radius: 14px;
  box-shadow: none;
  padding: 13px;
}

.employee-concept-day-panel .roster-shift-card.pending-request,
.employee-concept-day-panel .roster-shift-card.pending-hours {
  background: color-mix(in srgb, var(--employee-concept-orange) 6%, var(--panel));
  border-left-color: var(--employee-concept-orange);
}

.employee-concept-day-panel .roster-shift-card.unavailable-request {
  background: color-mix(in srgb, var(--employee-concept-rose) 5%, var(--panel));
  border-left-color: var(--employee-concept-rose);
}

.employee-concept-day-panel .roster-shift-actions {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.employee-concept-day-panel .roster-shift-actions button {
  min-height: 36px;
}

.employee-concept-week-glance {
  display: grid;
  gap: 17px;
  padding: 20px 22px 22px;
}

.employee-concept-week-glance > header {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.employee-concept-week-glance h3,
.employee-concept-week-glance p {
  margin: 0;
}

.employee-concept-week-glance h3 {
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -0.025em;
}

.employee-concept-week-glance > header > span {
  color: var(--muted);
  font-size: 11px;
}

.employee-concept-week-bars {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.employee-concept-week-bars article {
  background: color-mix(in srgb, var(--employee-concept-teal) 4%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--employee-concept-teal) 13%, var(--line));
  border-radius: 14px;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
}

.employee-concept-week-bars article > div {
  align-items: center;
  display: flex;
  gap: 7px;
  justify-content: space-between;
}

.employee-concept-week-bars article > div strong {
  color: var(--ink);
  text-transform: capitalize;
}

.employee-concept-week-bars small {
  color: var(--muted);
  font-size: 9px;
}

.employee-concept-week-bars article > b {
  color: var(--ink);
  font-size: 10px;
}

.employee-concept-week-track {
  background: color-mix(in srgb, var(--employee-concept-navy) 8%, var(--panel));
  border-radius: 999px;
  display: block;
  height: 7px;
  overflow: hidden;
  width: 100%;
}

.employee-concept-week-track i {
  background: linear-gradient(90deg, var(--employee-concept-teal), color-mix(in srgb, var(--employee-concept-teal) 70%, #5be0c7));
  border-radius: inherit;
  display: block;
  height: 100%;
}

#employeeDetailPanel.employee-concept-profile #employeePersonalLogSection {
  background: color-mix(in srgb, var(--panel) 97%, white 3%);
  border: 1px solid color-mix(in srgb, var(--employee-concept-navy) 10%, var(--line));
  border-radius: 20px;
  box-shadow: var(--employee-concept-shadow-soft);
  padding: 18px;
}

body[data-theme="dark"] #employeeDetailPanel.employee-concept-profile {
  --employee-concept-navy: #dce9f5;
  --employee-concept-navy-soft: #172535;
  --employee-concept-paper: #121a20;
}

body[data-theme="dark"] #employeeDetailPanel .employee-concept-focus-metrics strong {
  color: var(--ink);
}

body[data-theme="dark"] .employee-concept-self-card {
  background:
    radial-gradient(circle at 110% -10%, rgba(91, 224, 199, 0.2), transparent 55%),
    linear-gradient(155deg, #1a2b40, #0c1724);
}

@keyframes employeeConceptCardsSwitch {
  from {
    opacity: 0;
    transform: translateX(15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes employeeConceptDetailSwap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1220px) {
  #employeeDetailPanel .employee-concept-planning-grid {
    grid-template-columns: minmax(520px, 1.05fr) minmax(390px, 0.95fr);
  }

  .employee-concept-week-bars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .employee-concept-profile-row,
  .employee-concept-focus-strip,
  #employeeDetailPanel .employee-concept-planning-grid {
    grid-template-columns: 1fr;
  }

  .employee-concept-self-card {
    align-items: center;
    grid-template-areas:
      "avatar copy presence badge"
      "avatar copy actions actions"
      "avatar photo actions actions";
    grid-template-columns: auto minmax(160px, 1fr) auto minmax(230px, auto);
    justify-items: start;
    min-height: 0;
    padding: 16px 18px;
    text-align: left;
  }

  .employee-concept-self-badge {
    grid-area: badge;
    position: static;
  }

  .employee-concept-self-avatar {
    grid-area: avatar;
  }

  .employee-concept-self-copy {
    grid-area: copy;
  }

  .employee-concept-self-presence {
    grid-area: presence;
  }

  .employee-concept-self-actions {
    grid-area: actions;
    min-width: 230px;
  }

  .employee-concept-photo-upload {
    grid-area: photo;
    justify-self: start;
    min-height: 28px;
    padding-inline: 0;
  }

  #employeeDetailPanel.employee-concept-manager .employee-roster-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .employee-concept-worker-grid {
    grid-template-columns: 1fr;
  }

  .employee-concept-worker-card {
    min-height: 0;
  }

  .employee-concept-focus-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employee-concept-focus-metrics article:last-child {
    grid-column: 1 / -1;
  }

  .employee-concept-week-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .employee-concept-team-deck,
  .employee-concept-focus-strip,
  .employee-concept-week-glance {
    border-radius: 18px;
    padding: 16px;
  }

  .employee-concept-section-head,
  .employee-concept-week-glance > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .employee-concept-self-card {
    grid-template-areas:
      "badge badge"
      "avatar copy"
      "presence presence"
      "actions actions"
      "photo photo";
    grid-template-columns: auto minmax(0, 1fr);
  }

  .employee-concept-self-badge,
  .employee-concept-self-presence {
    justify-self: end;
  }

  .employee-concept-self-actions {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .employee-concept-focus-strip {
    align-items: start;
  }

  .employee-concept-focus-metrics {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .employee-concept-focus-metrics article:last-child {
    grid-column: auto;
  }

  #employeeDetailPanel.employee-concept-manager .employee-roster-toolbar {
    grid-template-columns: 1fr;
  }

  #employeeDetailPanel .employee-concept-calendar-card,
  #employeeDetailPanel .employee-concept-day-panel {
    border-radius: 18px !important;
    padding: 14px !important;
  }

  #employeeDetailPanel .employee-concept-calendar-card .roster-calendar-grid button {
    min-height: 46px;
  }

  .employee-concept-day-panel .roster-shift-actions {
    grid-template-columns: 1fr;
  }

  .employee-concept-week-bars {
    grid-template-columns: 1fr;
  }

  #employeeDetailPanel .employee-log-row {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  #employeeDetailPanel.employee-concept-profile {
    gap: 12px;
  }

  .employee-concept-focus-person,
  .employee-concept-own-workday > summary > div,
  .employee-concept-day-head > div {
    min-width: 0;
  }

  .employee-concept-focus-person h3,
  .employee-concept-focus-person p,
  .employee-concept-own-workday > summary span,
  .employee-concept-day-head h3,
  .employee-concept-day-head p {
    overflow-wrap: anywhere;
  }

  .employee-concept-day-head {
    align-items: flex-start;
    flex-direction: column;
  }

  #employeeDetailPanel .employee-concept-calendar-card {
    padding: 10px !important;
  }

  #employeeDetailPanel .employee-concept-calendar-card .roster-weekdays,
  #employeeDetailPanel .employee-concept-calendar-card .roster-calendar-grid {
    gap: 3px;
    grid-template-columns: 24px repeat(7, minmax(0, 1fr));
  }

  #employeeDetailPanel .employee-concept-calendar-card .roster-calendar-grid button {
    font-size: 12px;
    min-width: 0;
    padding-inline: 2px;
  }
}

body.large-text-mode .employee-concept-worker-grid,
body[data-text-size="huge"] .employee-concept-worker-grid,
body.large-text-mode .employee-concept-focus-strip,
body[data-text-size="huge"] .employee-concept-focus-strip,
body.large-text-mode #employeeDetailPanel .employee-concept-planning-grid,
body[data-text-size="huge"] #employeeDetailPanel .employee-concept-planning-grid {
  grid-template-columns: 1fr;
}

body.large-text-mode .employee-concept-week-bars,
body[data-text-size="huge"] .employee-concept-week-bars {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (prefers-reduced-motion: reduce) {
  .employee-concept-worker-grid,
  .employee-concept-focus-strip,
  #employeeDetailPanel .employee-concept-day-panel {
    animation: none !important;
  }

  .employee-concept-worker-card,
  .employee-concept-pager button,
  #employeeDetailPanel .employee-concept-calendar-card .roster-calendar-grid button {
    transition: none !important;
  }
}

/* v317 - complete dark-mode contrast pass. Keep component intent, but use
   semantic colours so user-selected accent colours cannot create white-on-white UI. */
body[data-theme="dark"] {
  color-scheme: dark;
  --text: var(--ink);
  --border: var(--line);
  --card: var(--panel);
  --accent-readable: color-mix(in srgb, var(--accent) 30%, var(--ink));
  --green-readable: color-mix(in srgb, var(--green) 30%, var(--ink));
  --red-readable: color-mix(in srgb, var(--red) 50%, var(--ink));
  --orange-readable: color-mix(in srgb, var(--orange) 50%, var(--ink));
  --blue-readable: color-mix(in srgb, var(--blue) 50%, var(--ink));
  --accent-strong: var(--accent-readable);
  --primary-button-bg: color-mix(in srgb, var(--accent) 34%, #102318);
  --primary-button-ink: #ffffff;
  --primary-button-border: color-mix(in srgb, var(--accent) 48%, #102318);
  --secondary-button-bg: color-mix(in srgb, var(--panel) 84%, var(--accent) 16%);
  --secondary-button-ink: var(--ink);
  --secondary-button-border: color-mix(in srgb, var(--accent) 28%, var(--line));
}

body[data-theme="dark"][data-theme-preset="clean"],
body[data-theme="dark"][data-theme-preset="blueprint"],
body[data-theme="dark"][data-theme-preset="warehouse"] {
  --bg: #121713;
  --ink: #eef3ed;
  --muted: #aeb9af;
  --line: #334035;
  --panel: #1b241d;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

body[data-theme="dark"][data-contrast-theme="soft"] {
  --bg: #191b18;
  --ink: #f2efe8;
  --muted: #c7c2b8;
  --line: #4a4b43;
  --panel: #24251f;
}

body[data-theme="dark"][data-contrast-theme="strong"],
body[data-theme="dark"][data-contrast-theme="black"] {
  --bg: #000000;
  --ink: #ffffff;
  --muted: #e2e2e2;
  --line: #ffffff;
  --panel: #050505;
  --shadow: 0 0 0 2px rgba(255, 255, 255, 0.32);
}

body[data-theme="dark"][data-theme-preset="system"],
body[data-theme="dark"]:not([data-theme-preset]) {
  --settings-sidebar-bg: linear-gradient(180deg, #17251c 0%, #1d2d22 100%);
  --settings-sidebar-ink: #f4f7f3;
  --settings-sidebar-muted: #b8c4ba;
  --settings-sidebar-active: color-mix(in srgb, var(--accent) 24%, #203529);
  --settings-sidebar-border: #334035;
}

body[data-theme="dark"][data-theme-preset="clean"] {
  --settings-sidebar-bg: linear-gradient(180deg, #171c19 0%, #202622 100%);
  --settings-sidebar-ink: #f3f6f4;
  --settings-sidebar-muted: #b5beb8;
  --settings-sidebar-active: color-mix(in srgb, var(--accent) 24%, #202622);
  --settings-sidebar-border: #3a433d;
}

body[data-theme="dark"][data-contrast-theme="strong"] {
  --settings-sidebar-bg: #050505;
  --settings-sidebar-ink: #ffffff;
  --settings-sidebar-muted: #e2e2e2;
  --settings-sidebar-active: #1c1c1c;
  --settings-sidebar-border: #ffffff;
}

body[data-contrast-theme="black"] {
  --settings-sidebar-bg: #050505;
  --settings-sidebar-ink: #ffffff;
  --settings-sidebar-muted: #e2e2e2;
  --settings-sidebar-active: #1c1c1c;
  --settings-sidebar-border: #ffffff;
}

body[data-theme="dark"] .settings-sidebar {
  background: var(--settings-sidebar-bg);
  border-color: var(--settings-sidebar-border);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
  color: var(--settings-sidebar-ink);
}

body[data-theme="dark"] .settings-avatar {
  background: #263129;
  border: 1px solid #3b4b40;
  color: #f4f7f3;
}

body[data-theme="dark"] .order-actions button[data-action="show-order-needs"],
body[data-theme="dark"] .order-actions button[data-action="print-work-order"] {
  background: var(--secondary-button-bg);
  border: 1px solid var(--secondary-button-border);
  color: var(--secondary-button-ink);
}

body[data-theme="dark"] .order-actions button[data-action="deliver-order"] {
  background: var(--primary-button-bg);
  border: 1px solid var(--primary-button-border);
  color: var(--primary-button-ink);
}

body[data-theme="dark"] .nav-tab:hover,
body[data-theme="dark"] .nav-tab.is-active,
body[data-theme="dark"] .current-view-label,
body[data-theme="dark"] .menu-button,
body[data-theme="dark"] .product-recipe-link,
body[data-theme="dark"] .recipe-detail-amount,
body[data-theme="dark"] .quantity-tile,
body[data-theme="dark"] .record-detail-link,
body[data-theme="dark"] .order-item-quantity,
body[data-theme="dark"] .material-badge,
body[data-theme="dark"] .kind-badge,
body[data-theme="dark"] .drawer-nav .menu-badge,
body[data-theme="dark"] .employee-todo-tag,
body[data-theme="dark"] .smart-assistant-head span,
body[data-theme="dark"] .legal-hero span,
body[data-theme="dark"] .tutorial-chapter,
body[data-theme="dark"] .tutorial-text-button,
body[data-theme="dark"] .price-history-trigger,
body[data-theme="dark"] .price-tier-details summary,
body[data-theme="dark"] .supplier-advice-card header span,
body[data-theme="dark"] .history-type,
body[data-theme="dark"] .document-start-card span,
body[data-theme="dark"] .document-step-label,
body[data-theme="dark"] .employee-team-pager button,
body[data-theme="dark"] .employee-team-card > em.working,
body[data-theme="dark"] .employee-team-card-action,
body[data-theme="dark"] .employee-team-view-context > span,
body[data-theme="dark"] .account-forgot-link,
body[data-theme="dark"] .employee-profile-copy span,
body[data-theme="dark"] .employee-photo-upload > span,
body[data-theme="dark"] .roster-editor-icon,
body[data-theme="dark"] .roster-day-empty > span,
body[data-theme="dark"] .release-note > strong,
body[data-theme="dark"] .owner-report-grid strong,
body[data-theme="dark"] .employee-audit-actor > span,
body[data-theme="dark"] .help-card.help-accordion.open button b {
  color: var(--accent-readable);
}

body[data-theme="dark"] .drawer-nav .menu-badge,
body[data-theme="dark"] .employee-todo-tag,
body[data-theme="dark"] .material-badge,
body[data-theme="dark"] .kind-badge,
body[data-theme="dark"] .history-type,
body[data-theme="dark"] .document-start-card span,
body[data-theme="dark"] .document-step-label {
  background: color-mix(in srgb, var(--accent) 18%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
}

body[data-theme="dark"] .employee-todo-assignee span,
body[data-theme="dark"] .employee-todo-picker button > span {
  background: color-mix(in srgb, var(--accent) 20%, var(--panel));
  color: var(--accent-readable);
}

body[data-theme="dark"] .employee-profile-card em {
  color: var(--accent-readable);
}

body[data-theme="dark"] .employee-default-avatar {
  background: #263129;
  border-color: #435247;
}

body[data-theme="dark"] .employee-default-avatar i,
body[data-theme="dark"] .employee-default-avatar i::after {
  background: #8d9a91;
}

body[data-theme="dark"] #openEmployeeOwnerPage {
  background: var(--primary-button-bg) !important;
  border: 1px solid var(--primary-button-border) !important;
  color: var(--primary-button-ink) !important;
}

body[data-theme="dark"] .employee-card-status b {
  background: var(--primary-button-bg);
  color: #ffffff;
}

body[data-theme="dark"] .productivity-green {
  color: #a8e2bc !important;
}

body[data-theme="dark"] .productivity-orange {
  color: #ffd18a !important;
}

body[data-theme="dark"] .productivity-red {
  color: #ffaaa5 !important;
}

body[data-theme="dark"] .history-diff-positive,
body[data-theme="dark"] .preview-ok td:last-child {
  color: #a8e2bc;
}

body[data-theme="dark"] .history-diff-negative,
body[data-theme="dark"] .preview-error td:last-child,
body[data-theme="dark"] .price-negative,
body[data-theme="dark"] .price-profit.negative .price-profit-amount {
  color: #ffaaa5;
}

body[data-theme="dark"] .danger-text,
body[data-theme="dark"] .field-hint.danger-text,
body[data-theme="dark"] .error-text {
  color: var(--red-readable);
}

body[data-theme="dark"] .shortage-badge {
  background: #3b211f;
  color: #ffaaa5;
}

body[data-theme="dark"] .shortage-badge.is-clear {
  background: #173525;
  color: #a8e2bc;
}

body[data-theme="dark"] .need-good {
  color: var(--green-readable);
}

body[data-theme="dark"] .need-bad {
  color: var(--red-readable);
}

body[data-theme="dark"] .need-warning {
  color: var(--orange-readable);
}

body[data-theme="dark"] .status-pill.status-green {
  background: color-mix(in srgb, var(--green) 34%, #102318);
}

body[data-theme="dark"] .status-pill.status-orange {
  background: #85520e;
}

body[data-theme="dark"] .status-pill.status-red {
  background: #a92f2f;
}

body[data-theme="dark"] .status-pill.status-unknown {
  background: #4b5563;
}

body[data-theme="dark"] .production-status-badge.status-ready {
  background: color-mix(in srgb, var(--green) 18%, var(--panel));
  border-color: color-mix(in srgb, var(--green) 42%, var(--line));
  color: var(--green-readable);
}

body[data-theme="dark"] .production-status-badge.status-waiting {
  background: color-mix(in srgb, var(--blue) 18%, var(--panel));
  border-color: color-mix(in srgb, var(--blue) 42%, var(--line));
  color: var(--blue-readable);
}

body[data-theme="dark"] .production-status-badge.status-almost {
  background: color-mix(in srgb, var(--orange) 18%, var(--panel));
  border-color: color-mix(in srgb, var(--orange) 42%, var(--line));
  color: var(--orange-readable);
}

body[data-theme="dark"] .production-status-badge.status-blocked {
  background: color-mix(in srgb, var(--red) 16%, var(--panel));
  border-color: color-mix(in srgb, var(--red) 40%, var(--line));
  color: var(--red-readable);
}

body[data-theme="dark"] .roster-shift-card.pending-hours,
body[data-theme="dark"] .roster-shift-card.approved-hours {
  background: #173623;
}

body[data-theme="dark"] .roster-shift-card.owner-managed {
  background: #3c2d16;
}

body[data-theme="dark"] .roster-request-card.pending-request {
  background: #41231d;
}

body[data-theme="dark"] .roster-request-card.approved-request {
  background: #18384c;
}

body[data-theme="dark"] .roster-request-card.unavailable-request {
  background: #292d29;
}

body[data-theme="dark"] .roster-shift-card em {
  background: #4a3219;
  border-color: #805a2a;
  color: #ffd18a;
}

body[data-theme="dark"] .employee-notice-list {
  background: #332817;
  border-color: #805a2a;
  scrollbar-color: #9f7534 #202622;
}

body[data-theme="dark"] .employee-notice-list article {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

body[data-theme="dark"] .roster-workers-more {
  background: color-mix(in srgb, var(--accent) 18%, var(--panel));
  color: var(--accent-readable);
}

body[data-theme="dark"] #employeeDetailPanel.employee-concept-profile {
  --employee-concept-orange-soft: #4a2d16;
}

body[data-theme="dark"] .employee-concept-day-head > span.request-day,
body[data-theme="dark"] .employee-concept-day-head > span.worked-pending-day {
  color: #ffc48f;
}

body[data-theme="dark"] .warning-box {
  background: #3b301b;
  border-color: #86652f;
  color: #ffe1a8;
}

body[data-theme="dark"] .install-panel .ghost-button,
body[data-theme="dark"] .update-notice button {
  background: var(--secondary-button-bg);
  border-color: var(--secondary-button-border);
  color: var(--secondary-button-ink);
}

body[data-theme="dark"] .product-pending-badge {
  background: #3b301b;
  border: 1px solid #76582a;
  color: #ffd18a;
}

body[data-theme="dark"] .smart-assistant-toggle {
  background: linear-gradient(135deg, var(--primary-button-bg), #102318);
  color: #ffffff;
}

body[data-theme="dark"] .smart-assistant-toggle span {
  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;
}

body[data-theme="dark"] .tutorial-card-footer [data-tutorial-next] {
  background: var(--primary-button-bg);
  color: var(--primary-button-ink);
}

body[data-theme="dark"] .backup-email-log li,
body[data-theme="dark"] .price-insight-panel article {
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}

body[data-theme="dark"] .tutorial-subtitle span.active,
body[data-theme="dark"] .tutorial-choice-card em {
  background: #85520e;
  color: #ffffff;
}

body[data-theme="dark"] #employeeDetailPanel .employee-action-panel[data-shift-state="paused"] .employee-live-timer,
body[data-theme="dark"] .employee-shift-summary.is-paused .employee-live-timer {
  background: #85520e;
  border-color: #85520e;
  color: #ffffff;
}

body[data-theme="dark"] .employee-live-time .employee-live-timer,
body[data-theme="dark"] .employee-start-button.is-active,
body[data-theme="dark"] .employee-start-button.is-active:disabled,
body[data-theme="dark"] .employee-shift-primary-actions .employee-start-button,
body[data-theme="dark"] .employee-shift-primary-actions .employee-pause-end,
body[data-theme="dark"] .employees-preview-toolbar > strong,
body[data-theme="dark"] .drawer-nav a.is-active .menu-icon,
body[data-theme="dark"] .drawer-nav a.is-active:hover .menu-icon {
  background: var(--primary-button-bg);
  border-color: var(--primary-button-border);
  color: var(--primary-button-ink);
}

body[data-theme="dark"] .assistant-chip-row button:hover,
body[data-theme="dark"] .assistant-action-row button:hover,
body[data-theme="dark"] .assistant-message-user {
  background: var(--primary-button-bg);
  color: var(--primary-button-ink);
}

body[data-theme="dark"] .tutorial-topic-help-button:hover,
body[data-theme="dark"] .tutorial-topic-help-button:focus-visible {
  background: #3b301b;
  color: #ffd18a;
}

body[data-theme="dark"] .tutorial-step-card,
body[data-theme="dark"] .voorraad-table-wrap,
body[data-theme="dark"] .employee-log-list,
body[data-theme="dark"] .employee-notice-list,
body[data-theme="dark"] .modal-body,
body[data-theme="dark"] .orders-list,
body[data-theme="dark"] .audit-log-list,
body[data-theme="dark"] .roster-inline-list,
body[data-theme="dark"] .stock-history-list,
body[data-theme="dark"] .stock-history-table-wrap {
  scrollbar-color: color-mix(in srgb, var(--accent) 48%, #8a978e) #202622;
}

body[data-theme="dark"] .tutorial-step-card::-webkit-scrollbar-track,
body[data-theme="dark"] .voorraad-table-wrap::-webkit-scrollbar-track,
body[data-theme="dark"] .employee-log-list::-webkit-scrollbar-track,
body[data-theme="dark"] .employee-notice-list::-webkit-scrollbar-track,
body[data-theme="dark"] .modal-body::-webkit-scrollbar-track,
body[data-theme="dark"] .orders-list::-webkit-scrollbar-track,
body[data-theme="dark"] .audit-log-list::-webkit-scrollbar-track,
body[data-theme="dark"] .roster-inline-list::-webkit-scrollbar-track,
body[data-theme="dark"] .stock-history-list::-webkit-scrollbar-track,
body[data-theme="dark"] .stock-history-table-wrap::-webkit-scrollbar-track {
  background: #202622;
}
