@view-transition {
  navigation: auto;
}

@font-face {
  font-family: "Inter";
  src: url("../../assets/Fonts/Inter_18pt-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../../assets/Fonts/Inter_18pt-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../../assets/Fonts/Inter_18pt-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../../assets/Fonts/Inter_18pt-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root,
[data-bs-theme="light"] {
  --app-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --app-bg: #f4f6f8;
  --app-surface: #ffffff;
  --app-surface-subtle: #f1f5f9;
  --app-border: #e2e8f0;
  --app-divider: #cbd5e1;
  --app-text: #0f172a;
  --app-text-secondary: #475569;
  --app-text-muted: #94a3b8;
  --app-primary: #2563eb;
  --app-primary-hover: #1d4ed8;
  --app-primary-soft: #dbeafe;
  --app-primary-text: #1e40af;
  --app-primary-contrast: #ffffff;
  --app-success: #16a34a;
  --app-success-soft: #dcfce7;
  --app-success-text: #166534;
  --app-warning: #d97706;
  --app-warning-soft: #fef3c7;
  --app-warning-text: #92400e;
  --app-neutral-state: #64748b;
  --app-neutral-state-soft: #f1f5f9;
  --app-neutral-state-text: #475569;
  --app-danger: #dc2626;
  --app-danger-soft: #fee2e2;
  --app-danger-text: #7f1d1d;
  --app-row-alt: #f8fafc;
  --app-row-hover: #eef2ff;
  --app-row-selected: #dbeafe;
  --app-focus-ring: rgba(37, 99, 235, 0.25);
  --app-elevated-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  --app-subtle-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  --app-logo-avatar-gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  --app-shell-max-width: min(460px, calc(100vw - 32px));
  --app-header-height: 60px;
  --app-sidebar-width: 16.25rem;
  --app-sidebar-collapsed-width: 4.5rem;
  --app-bottom-bar-height: 3.75rem;
  --app-space-1: 4px;
  --app-space-2: 8px;
  --app-space-3: 12px;
  --app-space-4: 16px;
  --app-space-6: 24px;

  --bs-body-font-family: var(--app-font-family);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.45;
  --bs-body-color: var(--app-text);
  --bs-body-bg: var(--app-bg);
  --bs-primary: var(--app-primary);
  --bs-primary-rgb: 37, 99, 235;
  --bs-secondary: var(--app-neutral-state);
  --bs-secondary-rgb: 100, 116, 139;
  --bs-success: var(--app-success);
  --bs-success-rgb: 22, 163, 74;
  --bs-warning: var(--app-warning);
  --bs-warning-rgb: 217, 119, 6;
  --bs-danger: var(--app-danger);
  --bs-danger-rgb: 220, 38, 38;
  --bs-border-color: var(--app-border);
  --bs-secondary-bg: var(--app-surface-subtle);
  --bs-tertiary-bg: var(--app-surface-subtle);
  --bs-card-bg: var(--app-surface);
  --bs-card-border-color: var(--app-border);
  --bs-table-bg: var(--app-surface);
  --bs-table-striped-bg: var(--app-row-alt);
  --bs-table-hover-bg: var(--app-row-hover);
  --bs-link-color: var(--app-primary);
  --bs-link-hover-color: var(--app-primary-hover);
  color-scheme: light;
}

[data-bs-theme="dark"] {
  --app-bg: #0b1220;
  --app-surface: #111827;
  --app-surface-subtle: #1f2937;
  --app-border: #374151;
  --app-divider: #4b5563;
  --app-text: #e5e7eb;
  --app-text-secondary: #9ca3af;
  --app-text-muted: #6b7280;
  --app-primary: #60a5fa;
  --app-primary-hover: #93c5fd;
  --app-primary-soft: rgba(96, 165, 250, 0.18);
  --app-primary-text: #dbeafe;
  --app-primary-contrast: #0b1220;
  --app-success: #4ade80;
  --app-success-soft: rgba(74, 222, 128, 0.16);
  --app-success-text: #bbf7d0;
  --app-warning: #f59e0b;
  --app-warning-soft: rgba(245, 158, 11, 0.18);
  --app-warning-text: #fcd34d;
  --app-neutral-state: #94a3b8;
  --app-neutral-state-soft: #1f2937;
  --app-neutral-state-text: #cbd5e1;
  --app-danger: #f87171;
  --app-danger-soft: rgba(248, 113, 113, 0.18);
  --app-danger-text: #fecaca;
  --app-row-alt: rgba(255, 255, 255, 0.02);
  --app-row-hover: rgba(96, 165, 250, 0.12);
  --app-row-selected: rgba(96, 165, 250, 0.2);
  --app-focus-ring: rgba(96, 165, 250, 0.35);
  --app-elevated-shadow: 0 18px 36px rgba(2, 6, 23, 0.38);
  --app-subtle-shadow: 0 4px 14px rgba(2, 6, 23, 0.26);
  --app-logo-avatar-gradient: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  --bs-body-color: var(--app-text);
  --bs-body-bg: var(--app-bg);
  --bs-primary: var(--app-primary);
  --bs-primary-rgb: 96, 165, 250;
  --bs-secondary: var(--app-neutral-state);
  --bs-secondary-rgb: 148, 163, 184;
  --bs-success: var(--app-success);
  --bs-success-rgb: 74, 222, 128;
  --bs-warning: var(--app-warning);
  --bs-warning-rgb: 245, 158, 11;
  --bs-danger: var(--app-danger);
  --bs-danger-rgb: 248, 113, 113;
  --bs-border-color: var(--app-border);
  --bs-secondary-bg: var(--app-surface-subtle);
  --bs-tertiary-bg: var(--app-surface-subtle);
  --bs-card-bg: var(--app-surface);
  --bs-card-border-color: var(--app-border);
  --bs-table-bg: var(--app-surface);
  --bs-table-striped-bg: var(--app-row-alt);
  --bs-table-hover-bg: var(--app-row-hover);
  --bs-link-color: var(--app-primary);
  --bs-link-hover-color: var(--app-primary-hover);
  color-scheme: dark;
}

html {
  height: 100%;
  font-size: 16px;
}

body {
  min-height: 100%;
  color: var(--app-text);
  font-family: var(--app-font-family);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  background-color: var(--app-bg);
}

body.app-shell {
  overflow-x: hidden;
  overflow-y: auto;
}

a {
  color: var(--app-primary);
}

a:hover,
a:active,
a:focus {
  color: var(--app-primary-hover);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color: var(--app-text);
  font-family: var(--app-font-family);
  font-weight: 600;
}

h1,
.h1 {
  font-size: 1.375rem;
}

h2,
.h2 {
  font-size: 1.125rem;
}

h3,
.h3 {
  font-size: 1rem;
}

small,
.form-text,
.text-small,
.sidebar-menu .sidebar-menu-section,
.global-search-group-title {
  font-size: 0.8125rem;
}

.table,
.schedule-grid,
.data-grid {
  font-variant-numeric: tabular-nums;
}

.btn {
  --bs-btn-font-weight: 500;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-border-radius: 0.375rem;
}

.btn-xs {
  --bs-btn-padding-y: 0.125rem;
  --bs-btn-padding-x: 0.5rem;
  --bs-btn-font-size: 0.75rem;
  --bs-btn-border-radius: 0.25rem;
}

.btn-sm {
  --bs-btn-padding-y: 0.25rem;
  --bs-btn-padding-x: 0.5rem;
  --bs-btn-font-size: 0.875rem;
  --bs-btn-border-radius: 0.25rem;
}

.btn-primary {
  --bs-btn-bg: var(--app-primary);
  --bs-btn-border-color: var(--app-primary);
  --bs-btn-hover-bg: var(--app-primary-hover);
  --bs-btn-hover-border-color: var(--app-primary-hover);
  --bs-btn-active-bg: var(--app-primary-hover);
  --bs-btn-active-border-color: var(--app-primary-hover);
  --bs-btn-color: var(--app-primary-contrast);
  box-shadow: none;
}

.btn-outline-secondary {
  --bs-btn-color: var(--app-text-secondary);
  --bs-btn-border-color: var(--app-border);
  --bs-btn-hover-bg: var(--app-surface-subtle);
  --bs-btn-hover-color: var(--app-text);
  --bs-btn-hover-border-color: var(--app-divider);
}

.nc-grid-action {
  --nc-grid-action-hover-rgb: var(--bs-primary-rgb);
  --nc-grid-action-hover-color: var(--app-primary);
  --nc-grid-action-hover-bg: rgba(var(--nc-grid-action-hover-rgb), 0.08);
  --nc-grid-action-hover-border: rgba(var(--nc-grid-action-hover-rgb), 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  --bs-btn-color: var(--app-text-secondary);
  --bs-btn-bg: var(--app-surface);
  --bs-btn-border-color: var(--app-border);
  --bs-btn-hover-color: var(--nc-grid-action-hover-color);
  --bs-btn-hover-bg: var(--nc-grid-action-hover-bg);
  --bs-btn-hover-border-color: var(--nc-grid-action-hover-border);
  --bs-btn-active-color: var(--nc-grid-action-hover-color);
  --bs-btn-active-bg: var(--nc-grid-action-hover-bg);
  --bs-btn-active-border-color: var(--nc-grid-action-hover-border);
  --bs-btn-disabled-color: var(--app-text-muted);
  --bs-btn-disabled-bg: var(--app-surface-subtle);
  --bs-btn-disabled-border-color: var(--app-border);
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.32rem 0.5rem;
  box-shadow: none;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.nc-grid-action.btn-sm {
  min-width: 1.9rem;
  padding: 0.22rem 0.38rem;
}

.nc-grid-action i,
.nc-grid-action svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke-width: 2;
}

.nc-grid-action:focus-visible {
  box-shadow: 0 0 0 0.2rem var(--app-focus-ring);
}

.nc-grid-action--primary {
  --nc-grid-action-hover-rgb: var(--bs-primary-rgb);
  --nc-grid-action-hover-color: var(--app-primary);
}

.nc-grid-action--warning {
  --nc-grid-action-hover-rgb: var(--bs-warning-rgb);
  --nc-grid-action-hover-color: var(--app-warning-text);
}

.nc-grid-action--danger {
  --nc-grid-action-hover-rgb: var(--bs-danger-rgb);
  --nc-grid-action-hover-color: var(--app-danger);
}

.card,
.box {
  background-color: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 0.5rem;
  box-shadow: none;
}

.box {
  margin-bottom: 0.75rem;
}

.card-header,
.box-header.with-border {
  background-color: transparent;
  border-bottom: 1px solid var(--app-border);
  padding: 0.75rem 0.875rem;
  font-weight: 600;
}

.card-body,
.box-body {
  padding: 0.75rem 0.875rem;
}

.box-title {
  color: var(--app-text);
  font-size: 1rem;
  font-weight: 600;
}

.form-label,
label.form-label {
  color: var(--app-text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-control,
.form-select,
.input-group-text {
  color: var(--app-text);
  border-color: var(--app-border);
}

.form-control,
.form-select {
  background-color: var(--app-surface);
  padding: 0.3125rem 0.625rem;
}

.input-group-text {
  background-color: var(--app-surface-subtle);
}

.form-control::placeholder {
  color: var(--app-text-muted);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 0.2rem var(--app-focus-ring);
}

.table {
  --bs-table-color: var(--app-text);
  --bs-table-bg: var(--app-surface);
  --bs-table-border-color: var(--app-border);
  vertical-align: middle;
}

.table > :not(caption) > * > * {
  padding: 0.4375rem 0.625rem;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: var(--app-row-alt);
}

.table-hover > tbody > tr:hover > * {
  background-color: var(--app-row-hover);
}

.table thead th,
.table th {
  background-color: var(--app-surface-subtle);
  color: var(--app-text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.table tbody td,
.table td {
  font-size: 0.875rem;
}

.nav-tabs {
  border-bottom-color: var(--app-border);
}

.nav-tabs .nav-link {
  color: var(--app-text-secondary);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  color: var(--app-text);
  border-bottom-color: var(--app-divider);
}

.nav-tabs .nav-link.active {
  color: var(--app-primary);
  background: transparent;
  border-bottom-color: var(--app-primary);
}

.badge-status-normal {
  background-color: var(--app-neutral-state-soft);
  color: var(--app-neutral-state-text);
}

.badge-status-completed {
  background-color: var(--app-success-soft);
  color: var(--app-success-text);
}

.badge-status-pending {
  background-color: var(--app-warning-soft);
  color: var(--app-warning-text);
}

.alert {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.alert-info,
.alert.alert-info {
  background-color: var(--app-primary-soft);
  border-color: var(--app-primary);
  color: var(--app-primary-text);
}

.alert-success,
.alert.alert-success {
  background-color: var(--app-success-soft);
  border-color: var(--app-success);
  color: var(--app-success-text);
}

.alert-warning,
.alert.alert-warning {
  background-color: var(--app-warning-soft);
  border-color: var(--app-warning);
  color: var(--app-warning-text);
}

.alert-danger,
.alert.alert-danger {
  background-color: var(--app-danger-soft);
  border-color: var(--app-danger);
  color: var(--app-danger-text);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: var(--app-primary);
  color: var(--app-primary-contrast);
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  left: 10px;
}

[x-cloak] {
  display: none !important;
}

.wrapper {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: transparent;
}

.csblock {
  display: block;
}

.csinline {
  display: inline-block;
}

.main-footer {
  padding: 15px 20px;
  background-color: var(--app-surface);
  border-top: 1px solid var(--app-border);
}

.footer-branding,
.bottom-logo-container {
  display: flex;
  align-items: center;
}

.footer-logo {
  height: 35px;
  margin-right: 10px;
}

.page-bottom-branding {
  position: fixed;
  bottom: 0;
  left: var(--app-sidebar-width);
  width: calc(100% - var(--app-sidebar-width));
  padding: 10px 20px;
  z-index: 900;
  background-color: var(--app-surface);
  border-top: 1px solid var(--app-border);
}

.bottom-logo-container {
  gap: 10px;
}

.bottom-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 35px;
  height: auto;
  object-fit: contain;
}

.bottom-copyright {
  color: var(--app-text-secondary);
  font-size: 0.75rem;
}

.content-wrapper {
  min-height: calc(100vh - var(--app-header-height));
  margin-top: var(--app-header-height);
  margin-left: var(--app-sidebar-width);
  padding-bottom: var(--app-bottom-bar-height);
  overflow: visible;
  background-color: var(--app-bg);
  border-radius: 1.25rem 0 0 0;
  transition: margin 0.3s ease, transform 0.3s ease;
}

.container-full {
  width: 100%;
  margin: 0;
  padding: 0 0 1rem;
}

.content {
  padding: var(--app-space-3) var(--app-space-3) 0;
}

.dashboard-page-shell {
  display: block;
}

.action-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: rgba(13, 110, 253, 0.3);
}

.action-card .card-body {
  padding: 1.5rem 1rem;
}

.action-card .card-title {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.action-card .card-text {
  font-size: 0.85rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--app-space-3);
}

.dashboard-grid__item {
  min-width: 0;
}

.dashboard-grid__item > .box {
  height: 100%;
  margin-bottom: 0;
}

.dashboard-nav-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-nav-card:hover {
  transform: translateY(-2px);
  border-color: var(--app-divider);
  box-shadow: var(--app-subtle-shadow);
}

.dashboard-nav-card:focus,
.dashboard-nav-card:focus-visible {
  outline: 2px solid var(--app-primary);
  outline-offset: 2px;
}

.dashboard-nav-card--attention {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.dashboard-nav-card--attention:hover {
  transform: translateY(-3px);
}

.dashboard-nav-card--attention .box-body {
  padding-top: 1rem;
}

.dashboard-nav-card--attention::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.dashboard-nav-card--danger {
  background: linear-gradient(180deg, rgba(220, 53, 69, 0.08) 0%, var(--app-surface) 34%);
  border-color: rgba(220, 53, 69, 0.24);
}

.dashboard-nav-card--danger::before {
  background: #dc3545;
}

.dashboard-nav-card--warning {
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.12) 0%, var(--app-surface) 34%);
  border-color: rgba(255, 193, 7, 0.3);
}

.dashboard-nav-card--warning::before {
  background: #ffc107;
}

.dashboard-nav-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
}

.dashboard-nav-card--danger .dashboard-nav-card-label {
  background: rgba(220, 53, 69, 0.16);
  color: #b42318;
}

.dashboard-nav-card--warning .dashboard-nav-card-label {
  background: rgba(255, 193, 7, 0.22);
  color: #8a6116;
}

.dashboard-card-value,
.dashboard-card-title {
  margin: 0;
}

.dashboard-card-value {
  font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
}

.dashboard-card-title {
  font-size: 1.0625rem;
  line-height: 1.2;
}

.dashboard-grid .text-fade {
  color: var(--app-text-secondary) !important;
}

@media (min-width: 768px) {
  .dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .dashboard-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .dashboard-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1450px) {
  body.sidebar-collapse .dashboard-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 1680px) {
  .dashboard-grid,
  body.sidebar-collapse .dashboard-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

body.sidebar-collapse .content-wrapper {
  margin-left: var(--app-sidebar-collapsed-width);
}

.main-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: stretch;
  z-index: 1090;
  margin: 0;
  background-color: var(--app-surface);
  box-shadow: 0 1px 0 var(--app-border);
}

.main-header .logo-box {
  flex: 0 0 var(--app-sidebar-width);
  width: var(--app-sidebar-width);
  border-right: 1px solid var(--app-border);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1rem 0 0.875rem;
  transition: width 0.3s ease, flex-basis 0.3s ease;
}

.main-header,
.main-header .navbar,
.main-header .logo-box,
#userMenuToggle {
  background-color: var(--app-surface);
}

.main-header .navbar {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  border: 0;
}

.main-header .logo {
  width: 100%;
  min-height: var(--app-header-height);
  padding: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.main-header .brand-lockup {
  position: relative;
  display: block;
  width: 100%;
  max-width: 15rem;
  height: 3rem;
}

.main-header .brand-lockup .logo-expanded,
.main-header .brand-lockup .logo-collapsed {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: auto;
  object-fit: contain;
  transform-origin: left center;
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.main-header .brand-lockup .logo-expanded {
  max-width: 100%;
  max-height: 3rem;
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%);
}

.main-header .brand-lockup .logo-collapsed {
  width: 2.75rem;
  height: 2.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) scale(0.92);
}

body.sidebar-collapse .main-header .brand-lockup {
  max-width: 2.75rem;
  margin: 0 auto;
}

body.sidebar-collapse .main-header .brand-lockup .logo-expanded {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) scale(0.96);
}

body.sidebar-collapse .main-header .brand-lockup .logo-collapsed {
  left: 50%;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.main-header .navbar-static-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-height: var(--app-header-height);
  padding: 0 1rem 0 0.75rem;
  margin: 0;
  width: 100%;
  box-shadow: none;
}

.main-header .push-btn,
.sidebar-toolbar .push-btn {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--app-border);
  border-radius: 0.625rem;
  background: var(--app-surface);
  color: var(--app-text-secondary);
  box-shadow: var(--app-subtle-shadow);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.main-header .push-btn:hover,
.main-header .push-btn:focus,
.sidebar-toolbar .push-btn:hover,
.sidebar-toolbar .push-btn:focus {
  color: var(--app-primary);
  border-color: var(--app-primary);
  background-color: var(--app-primary-soft);
}

.main-header .push-btn svg,
.sidebar-toolbar .push-btn svg {
  width: 18px;
  height: 18px;
}

body.sidebar-collapse .main-header .logo-box {
  justify-content: center;
  padding-inline: 0.5rem;
}

.topbar-page-shell {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0;
}

.topbar-page-context {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.topbar-page-context .page-title {
  margin: 0;
  padding: 0;
  color: var(--app-text);
  font-size: 1.125rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.topbar-page-context .page-title .badge {
  font-size: 0.7rem;
}

.topbar-page-breadcrumbs .breadcrumb {
  padding: 0;
  margin: 0;
  background: transparent;
  color: var(--app-text-secondary);
  font-size: 0.8rem;
  line-height: 1.2;
}

.topbar-page-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--app-text-muted);
}

.topbar-page-breadcrumbs .breadcrumb-item a,
.topbar-page-breadcrumbs .breadcrumb-item.active {
  color: inherit;
  text-decoration: none;
}

.topbar-page-breadcrumbs .breadcrumb svg {
  width: 13px;
  height: 13px;
  vertical-align: text-bottom;
}

.topbar-page-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.topbar-page-actions:empty {
  display: none;
}

.topbar-page-actions > * {
  display: inline-flex;
  align-items: center;
}

.main-header .navbar-custom-menu {
  flex: 0 0 auto;
}

.main-header .navbar-custom-menu .navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.main-header .navbar-custom-menu .navbar-nav > li {
  position: relative;
  float: none;
}

.main-header .navbar-custom-menu .navbar-nav > li > .dropdown-menu {
  position: absolute;
  top: calc(100% + 0.375rem);
  right: 0;
  left: auto;
  margin: 0;
  z-index: 1200;
}

.main-header .navbar-custom-menu .navbar-nav > li > a.position-relative,
.main-header .navbar-custom-menu .navbar-nav > li.notifications-menu > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--app-border);
  border-radius: 10px;
  background: var(--app-surface);
  color: var(--app-text-secondary);
  box-shadow: var(--app-subtle-shadow);
  text-decoration: none;
}

.main-header .navbar-custom-menu .navbar-nav > li > a.position-relative:hover,
.main-header .navbar-custom-menu .navbar-nav > li > a.position-relative:focus,
.main-header .navbar-custom-menu .navbar-nav > li.notifications-menu > a:hover,
.main-header .navbar-custom-menu .navbar-nav > li.notifications-menu > a:focus {
  color: var(--app-primary);
  border-color: var(--app-primary);
}

.notification-dropdown-menu {
  min-width: 20rem;
}

.notification-item {
  white-space: normal;
}

.dropdown-menu {
  border-color: var(--app-border);
  border-radius: 0.75rem;
  box-shadow: var(--app-elevated-shadow);
  padding: 0.375rem;
}

.dropdown-item {
  border-radius: 0.5rem;
}

.dropdown-footer {
  list-style: none;
}

.top-global-search-item {
  position: relative;
  display: flex;
  align-items: center;
}

.top-global-search-trigger,
.top-global-search-close,
.main-header .navbar-custom-menu .navbar-nav > li.user-menu-dropdown > a.user-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  box-shadow: var(--app-subtle-shadow);
}

.top-global-search-trigger,
.top-global-search-close {
  width: 36px;
  height: 36px;
  color: var(--app-text-secondary);
  border-radius: 10px;
}

.top-global-search-trigger:hover,
.top-global-search-trigger:focus,
.top-global-search-close:hover,
.top-global-search-close:focus {
  color: var(--app-primary);
  border-color: var(--app-primary);
}

.top-global-search-trigger svg,
.top-global-search-close svg {
  width: 16px;
  height: 16px;
}

.top-global-search {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: var(--app-shell-max-width);
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 12px;
  box-shadow: var(--app-elevated-shadow);
  z-index: 1080;
  display: none;
  padding: 12px;
  gap: 10px;
}

.top-global-search.is-open {
  display: flex;
  flex-direction: column;
}

.top-global-search-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-global-search-input-wrap {
  position: relative;
  flex: 1 1 auto;
}

.top-global-search-input-wrap .form-control {
  height: 40px;
  padding-left: 38px;
  padding-right: 12px;
  font-size: 0.875rem;
  border-radius: 10px;
  background: var(--app-surface-subtle);
}

.top-global-search-input-wrap .search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: var(--app-text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-global-search-input-wrap .search-icon svg {
  width: 15px;
  height: 15px;
}

.global-search-results {
  width: 100%;
  max-height: 320px;
  overflow-y: auto;
  background: var(--app-surface-subtle);
  border: 1px solid var(--app-border);
  border-radius: 10px;
  display: none;
  padding: 8px;
}

.global-search-results.is-open {
  display: block;
}

.global-search-group-title {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--app-text-secondary);
  padding: 8px 10px 4px 10px;
}

.global-search-item {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--app-text);
  text-align: left;
}

.global-search-item:hover,
.global-search-item:focus {
  background: var(--app-row-hover);
  outline: none;
}

.global-search-item .item-type {
  display: inline-block;
  min-width: 78px;
  color: var(--app-text-secondary);
  font-size: 0.6875rem;
  font-weight: 700;
}

.global-search-item .item-title {
  font-size: 0.8125rem;
  font-weight: 600;
}

.global-search-item .item-subtitle {
  margin-top: 2px;
  color: var(--app-text-secondary);
  font-size: 0.75rem;
}

.main-header .navbar-custom-menu .navbar-nav > li.user-menu-dropdown > a.user-menu-toggle {
  width: 42px;
  height: 42px;
  margin: 0;
  line-height: normal;
  border-radius: 12px;
}

.main-header .navbar-custom-menu .navbar-nav > li.user-menu-dropdown > a.user-menu-toggle.dropdown-toggle::after {
  display: none;
}

.user-menu-avatar,
.user-menu-summary-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--app-logo-avatar-gradient);
  color: var(--app-primary-contrast);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.user-menu-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  font-size: 0.76rem;
}

.user-menu-dropdown-panel {
  min-width: 230px;
}

.user-menu-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 10px;
}

.user-menu-summary-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  font-size: 0.9rem;
}

.user-menu-summary-text {
  min-width: 0;
}

.user-menu-summary-username {
  color: var(--app-text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: none;
}

.user-menu-summary-fullname {
  display: block;
  margin-top: 2px;
  color: var(--app-text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
}

.app-notification-badge {
  min-width: 1.4rem;
  height: 1.4rem;
  line-height: 1.1rem;
  padding: 0.25rem 0.4rem;
  font-size: 0.85rem;
}

.notification-list {
  max-height: 300px;
  overflow-y: auto;
}

.main-sidebar {
  position: fixed;
  top: var(--app-header-height);
  left: 0;
  bottom: 0;
  width: var(--app-sidebar-width);
  padding: 0 0 0.5rem;
  z-index: 1035;
  background: var(--app-surface);
  border-right: 1px solid var(--app-border);
  box-shadow: var(--app-subtle-shadow);
  transition: width 0.3s ease, transform 0.3s ease;
}

.sidebar {
  height: 100%;
  padding-bottom: 0;
}

.multinav {
  height: 100%;
}

.multinav-scroll-app {
  height: 100%;
  padding-bottom: 0.75rem;
}

.fixed .multinav {
  position: static;
  width: 100%;
  height: 100%;
}

.sidebar-toolbar {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--app-border);
  transition: grid-template-columns 0.24s ease, column-gap 0.24s ease, padding 0.24s ease;
}

.sidebar-toolbar .push-btn {
  border-color: transparent;
  box-shadow: none;
}

.sidebar-search-wrapper {
  min-width: 0;
  overflow: hidden;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.18s ease, transform 0.24s ease;
}

.sidebar-search-wrapper .form-control {
  height: 2.375rem;
  border-radius: 0.875rem;
  border-color: #d7deea;
  background-color: #f8fafc;
  padding-inline: 0.75rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0.75rem;
  white-space: nowrap;
}

.sidebar-menu > li {
  position: relative;
  margin: 0.125rem 0.625rem;
  border-radius: 0.75rem;
}

.sidebar-menu > li > a,
.sidebar-menu .treeview-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.625rem;
  color: var(--app-text-secondary);
  text-decoration: none;
  border-radius: 0.625rem;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-menu > li > a > i,
.sidebar-menu > li > a > svg,
.sidebar-menu .treeview-menu > li > a > i,
.sidebar-menu .treeview-menu > li > a > svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  color: var(--app-text-muted);
}

.sidebar-menu li > a > span:not(.pull-right-container) {
  flex: 1 1 auto;
  min-width: 0;
}

.sidebar-menu li > a > .pull-right-container {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-menu li > a > .pull-right-container > i,
.sidebar-menu li > a > .pull-right-container > svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sidebar-menu .menu-open > a > .pull-right-container > i,
.sidebar-menu .menu-open > a > .pull-right-container > svg {
  transform: rotate(90deg);
}

.sidebar-menu > li > a:hover,
.sidebar-menu > li > a:focus,
.sidebar-menu > li:focus-within > a {
  background-color: #e9edf3;
  color: #172b4c;
}

.sidebar-menu > li > a:hover > i,
.sidebar-menu > li > a:hover > svg,
.sidebar-menu > li:focus-within > a > i,
.sidebar-menu > li:focus-within > a > svg {
  color: #172b4c;
}

.sidebar-menu > li.menu-open > a {
  background-color: #eef3fb;
  color: #0f172a;
  font-weight: 600;
}

.sidebar-menu > li.menu-open > a > i,
.sidebar-menu > li.menu-open > a > svg,
.sidebar-menu > li.menu-open > a > .pull-right-container > i,
.sidebar-menu > li.menu-open > a > .pull-right-container > svg {
  color: #334155;
}

.sidebar-menu > li.active:not(.treeview) > a,
.sidebar-menu .treeview-menu > li.active > a {
  background-color: #dce6f8;
  color: #0f172a;
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--app-primary);
}

.sidebar-menu > li.active:not(.treeview) > a > i,
.sidebar-menu > li.active:not(.treeview) > a > svg,
.sidebar-menu > li.active:not(.treeview) > a > .pull-right-container > i,
.sidebar-menu > li.active:not(.treeview) > a > .pull-right-container > svg,
.sidebar-menu .treeview-menu > li.active > a > i,
.sidebar-menu .treeview-menu > li.active > a > svg {
  color: var(--app-primary-hover);
}

.sidebar-menu a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.sidebar-menu .treeview-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 0.375rem;
}

.sidebar-menu .menu-open > .treeview-menu {
  display: block;
}

.sidebar-menu .treeview-menu > li {
  margin: 0;
}

.sidebar-menu .treeview-menu > li > a {
  padding: 0.4375rem 0.625rem 0.4375rem 1.75rem;
  font-size: 0.9286rem;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

.sidebar-menu .sidebar-menu-section {
  padding: 10px 16px 4px 16px;
  color: var(--app-text-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.sidebar-menu .sidebar-menu-section + li > a {
  padding-top: 4px;
}

.sidebar-menu li a .menu-icon-active,
.sidebar-menu li a .menu-icon-inactive {
  width: 12px;
  height: 12px;
  vertical-align: middle;
}

.sidebar-menu li a .menu-icon-active {
  display: none;
}

.sidebar-menu li.active > a .menu-icon-active {
  display: inline-block;
}

.sidebar-menu li.active > a .menu-icon-inactive {
  display: none;
}

.control-sidebar-bg {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1098;
}

.control-sidebar {
  position: fixed;
  top: 0;
  right: calc(-1 * min(22rem, 100vw));
  width: min(22rem, 100vw);
  height: 100vh;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--app-surface);
  border-left: 1px solid var(--app-border);
  box-shadow: var(--app-elevated-shadow);
  overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 1099;
}

.control-sidebar-open .control-sidebar,
.control-sidebar.control-sidebar-open {
  right: 0;
}

.control-sidebar-open .control-sidebar-bg {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.control-sidebar .rpanel-title {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.control-sidebar .rpanel-title .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.control-sidebar-tabs {
  gap: 0.5rem;
}

.control-sidebar-tabs .nav-link {
  border-radius: 0.625rem;
}

.btn-circle {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
}

.text-105 {
  font-size: 1.05rem;
}

.app-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.24) 0%, transparent 42%),
    linear-gradient(160deg, var(--app-bg) 0%, var(--app-surface-subtle) 100%);
}

.app-login-page::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -25%;
  width: 75vw;
  height: 75vw;
  max-width: 960px;
  max-height: 960px;
  background: radial-gradient(circle, var(--app-primary-soft) 0%, transparent 62%);
  opacity: 0.75;
  pointer-events: none;
}

.app-login-page::after {
  content: "";
  position: absolute;
  right: -12rem;
  bottom: -10rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(var(--bs-primary-rgb), 0.12) 0%, transparent 64%);
  pointer-events: none;
}

.app-login-page .container {
  position: relative;
  z-index: 1;
}

.login-shell-container {
  width: min(1180px, calc(100vw - 32px));
}

.login-card {
  display: flex;
  background-color: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 24px;
  box-shadow: var(--app-elevated-shadow);
  backdrop-filter: blur(10px);
}

.login-shell {
  min-height: clamp(640px, 78vh, 760px);
  flex-direction: row;
  overflow: hidden;
}

.login-shell__form {
  flex: 0 0 44%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.login-shell__hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.34) 100%),
    url("../../images/login_bg.jpg") center center / cover no-repeat;
}

.login-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, rgba(15, 23, 42, 0) 24%, rgba(15, 23, 42, 0.45) 100%);
}

.login-hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 27rem);
  padding: 1.125rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.9) 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
  color: #ffffff;
}

.login-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-hero__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.1rem, 1.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
}

.login-hero__text {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  line-height: 1.5;
}

.login-content {
  flex: 1;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-context-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #e8f1ff;
  color: #2754b2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.login-brand-prefix {
  color: #2754b2;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.login-brand .login-logo {
  margin: 0;
}

.login-logo {
  width: min(100%, 290px);
  max-height: 92px;
  height: auto !important;
  object-fit: contain;
  margin: 0;
  display: block;
}

.login-copy {
  margin-bottom: 1.75rem;
}

.login-title {
  color: #0f172a;
  font-size: clamp(1.85rem, 2vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 0.625rem;
}

.login-subtitle {
  margin: 0;
  color: #475569;
  font-size: 0.975rem;
  line-height: 1.65;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-label {
  margin-bottom: 0.5rem;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 600;
}

.login-input-group {
  border: 1px solid var(--app-border);
  border-radius: 0.9rem;
  background: var(--app-surface);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.login-input-group:focus-within {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 0.2rem var(--app-focus-ring);
}

.app-login-page .input-group-text {
  color: var(--app-primary);
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 0.5rem 0 1rem;
}

.app-login-page .form-control {
  height: 3.35rem;
  padding-inline: 0.375rem 1rem;
  background-color: transparent;
  border: 0;
  border-radius: 0 0.9rem 0.9rem 0;
  box-shadow: none;
  transition: background-color 0.2s ease;
}

.app-login-page .form-control:focus {
  background-color: var(--app-surface);
  box-shadow: none;
}

.app-login-page .btn-primary {
  min-height: 3.4rem;
  padding: 12px 20px;
  border: 0;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--app-primary) 0%, #3b82f6 100%);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22);
}

.app-login-page .btn-primary:hover,
.app-login-page .btn-primary:focus,
.app-login-page .btn-primary:active {
  background: linear-gradient(135deg, var(--app-primary-hover) 0%, var(--app-primary) 100%);
}

.login-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 2rem 1.75rem;
  background-color: rgba(var(--bs-primary-rgb), 0.03);
  border-top: 1px solid var(--app-border);
  text-align: center;
}

.login-footer .footer-logo {
  width: 100%;
  max-width: 220px;
  max-height: 40px;
  height: auto !important;
  object-fit: contain;
  margin-bottom: 0;
  display: block;
}

.copyright-text {
  margin: 0;
  color: var(--app-text-secondary);
  font-size: 0.75rem;
  text-align: center;
}

.error-message {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  background-color: var(--app-danger-soft);
  border: 1px solid var(--app-danger);
  border-radius: 0.9rem;
  color: var(--app-danger-text);
  font-size: 0.875rem;
}

.error-message i {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  font-size: 1rem;
}

@media (max-width: 991px) {
  .app-login-page {
    padding: 1rem 0;
  }

  .login-shell {
    min-height: 0;
    flex-direction: column-reverse;
  }

  .login-shell__form {
    max-width: none;
    flex-basis: auto;
  }

  .login-shell__hero {
    min-height: 260px;
    padding: 1.5rem;
  }
}

@media (max-width: 575px) {
  .login-shell-container {
    width: min(100vw - 16px, 100%);
  }

  .login-card {
    border-radius: 20px;
  }

  .login-content {
    padding: 1.5rem 1.25rem;
  }

  .login-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .login-hero__content {
    padding: 1.125rem;
  }

  .login-footer {
    padding-inline: 1.25rem;
  }
}

.nc-inline-modal {
  display: block;
}

.nc-inline-modal .alert {
  margin-bottom: 0;
}

.nc-admin-toolbar .nc-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nc-admin-toolbar .nc-toolbar-search {
  min-width: min(100%, 320px);
}

.nc-admin-count {
  color: var(--app-text-secondary);
  font-size: 0.875rem;
  white-space: nowrap;
}

.nc-admin-page .nc-sort-btn {
  border: 0;
  padding: 0;
  margin: 0;
  font-weight: 600;
  color: inherit;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.nc-admin-page .nc-sort-btn:hover,
.nc-admin-page .nc-sort-btn:focus {
  color: var(--app-primary);
}

.bg-light-subtle {
  background: var(--app-surface-subtle) !important;
}

.nc-effective-rights-search {
  min-width: 240px;
}

.nc-role-rights-col-right {
  width: 44%;
}

.nc-role-rights-col-business-unit {
  width: 20%;
}

.nc-role-rights-col-department {
  width: 20%;
}

.nc-role-rights-col-enabled {
  width: 16%;
}

.nc-density-compact .table.table-sm > :not(caption) > * > * {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.nc-density-compact .icon-btn.btn-sm,
.nc-density-compact .nc-grid-action.btn-sm {
  padding: 0.18rem 0.35rem;
}

.nc-row-actions,
.nc-grid-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nc-row-actions {
  position: relative;
}

.nc-row-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  min-width: 172px;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 0.5rem;
  box-shadow: var(--app-elevated-shadow);
  z-index: 40;
  padding: 0.375rem;
}

.nc-row-menu .dropdown-item {
  border-radius: 0.375rem;
}

.optional-hint {
  color: var(--app-text-muted);
  font-weight: 400;
}

.nc-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nc-switch .btn-toggle {
  position: relative;
  width: 2.75rem;
  height: 1.5rem;
  padding: 0;
  border: 1px solid var(--app-divider);
  border-radius: 999px;
  background: var(--app-neutral-state-soft);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nc-switch .btn-toggle .handle {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 999px;
  background: var(--app-surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.nc-switch .btn-toggle.active {
  background: var(--app-primary-soft);
  border-color: var(--app-primary);
}

.nc-switch .btn-toggle.active .handle {
  transform: translate(1.125rem, -50%);
}

.user-management {
  --nc-admin-table-max-height: calc(100vh - 315px);
}

.user-management .nc-user-selector-panel {
  position: sticky;
  top: 0;
  overflow: hidden;
}

.user-management .nc-user-selector-toolbar {
  display: grid;
  gap: 0.75rem;
  padding: 0.875rem;
  border-bottom: 1px solid var(--app-border);
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.user-management .nc-toolbar-search {
  position: relative;
}

.user-management .nc-toolbar-search i,
.user-management .nc-toolbar-search svg {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  width: 0.875rem;
  height: 0.875rem;
  transform: translateY(-50%);
  color: var(--app-text-muted);
  pointer-events: none;
  z-index: 2;
}

.user-management .nc-toolbar-search input {
  padding-left: 2.125rem;
}

.user-management .nc-user-selector-sort {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.user-management .nc-user-selector-list {
  display: grid;
  gap: 0.625rem;
  padding: 0.75rem;
  max-height: calc(100vh - 235px);
  overflow: auto;
  background: var(--app-surface);
}

.user-management .nc-user-list-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  border: 1px solid var(--app-border);
  border-radius: 0.75rem;
  background: var(--app-surface);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.user-management .nc-user-list-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}

.user-management .nc-user-list-card.is-selected {
  border-color: #93c5fd;
  background: #eff6ff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.user-management .nc-user-list-card.is-updated {
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.4);
}

.user-management .nc-user-list-card.is-menu-open {
  z-index: 35;
}

.user-management .nc-user-list-card__main {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.75rem 0.25rem 0.75rem 0.75rem;
  text-align: left;
  display: grid;
  gap: 0.25rem;
  color: var(--app-text);
}

.user-management .nc-user-list-card__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.user-management .nc-user-list-card__title {
  font-weight: 600;
  line-height: 1.35;
}

.user-management .nc-user-list-card__subtitle {
  color: var(--app-text-secondary);
  font-size: 0.75rem;
  line-height: 1.35;
}

.user-management .nc-user-list-card__actions {
  padding: 0.5rem 0.5rem 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.user-management .nc-user-list-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.user-management .nc-user-list-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--app-border);
  background: var(--app-surface-subtle);
  color: var(--app-text-secondary);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
}

.user-management .nc-user-list-pill--warning {
  border-color: #fcd34d;
  background: var(--app-warning-soft);
  color: var(--app-warning-text);
}

.user-management .nc-user-empty-list {
  padding: 1rem;
  text-align: center;
  border: 1px dashed var(--app-divider);
  border-radius: 0.75rem;
  background: var(--app-surface-subtle);
}

.user-management .nc-user-detail-shell {
  display: grid;
  gap: 0.75rem;
}

.user-management .nc-user-detail-header {
  border-color: var(--app-border) !important;
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.user-management .nc-user-empty-state {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--app-divider);
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: var(--app-text-secondary);
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.user-management .user-modal-selection-panel {
  max-height: 180px;
  overflow: auto;
  background: var(--app-surface);
}

.user-management .nc-security-workspace {
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.user-management .nc-security-panel {
  box-shadow: none;
}

.user-management .nc-security-scroll-panel {
  max-height: 220px;
}

.user-management .nc-override-banner {
  border-width: 1px;
  border-radius: 0.75rem;
}

.user-management .assignment-autocomplete {
  position: relative;
}

.user-management .assignment-autocomplete__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 25;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--app-border);
  border-radius: 0.75rem;
  background: var(--app-surface);
  box-shadow: var(--app-elevated-shadow);
}

.user-management .assignment-autocomplete__option {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--app-border);
  background: transparent;
  padding: 0.75rem 0.875rem;
  text-align: left;
  color: var(--app-text);
  font-size: 0.875rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.user-management .assignment-autocomplete__option:last-child {
  border-bottom: none;
}

.user-management .assignment-autocomplete__option:hover,
.user-management .assignment-autocomplete__option:focus {
  background: var(--app-row-hover);
  color: var(--app-primary-hover);
}

.user-management .user-employee-link-summary {
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  border-color: #bbf7d0 !important;
}

.user-management .user-employee-link-selection {
  border-color: var(--app-border) !important;
}

.user-management .user-employee-context-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.user-management .user-employee-context-field {
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--app-border);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.7);
}

.user-management .user-employee-context-label {
  margin-bottom: 4px;
  color: var(--app-text-secondary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.user-management td {
  vertical-align: middle;
}

.user-management .table tbody tr.user-row-updated {
  animation: user-row-update-fade 4.5s ease-out forwards;
}

@keyframes user-row-update-fade {
  0% {
    background-color: rgba(255, 243, 205, 0.98);
  }

  65% {
    background-color: rgba(255, 243, 205, 0.72);
  }

  100% {
    background-color: transparent;
  }
}

.app-startup-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--app-text);
  background:
    radial-gradient(circle at top left, rgba(var(--bs-primary-rgb), 0.08) 0%, transparent 35%),
    linear-gradient(160deg, var(--app-bg), var(--app-surface-subtle));
}

.startup-card {
  width: min(560px, 92vw);
  padding: 1.5rem;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 14px;
  box-shadow: var(--app-elevated-shadow);
}

.status-sub {
  color: var(--app-text-secondary);
  font-size: 0.92rem;
}

@media (min-width: 768px) {
  body.sidebar-collapse .main-header .logo-box {
    flex-basis: var(--app-sidebar-collapsed-width);
    width: var(--app-sidebar-collapsed-width);
  }

  body.sidebar-collapse .main-sidebar {
    width: var(--app-sidebar-collapsed-width);
  }

  body.sidebar-collapse .fixed .multinav {
    width: var(--app-sidebar-collapsed-width);
  }

  body.sidebar-collapse .sidebar-toolbar {
    grid-template-columns: 2.5rem 0fr;
    column-gap: 0;
    padding-inline: 0.625rem;
  }

  body.sidebar-collapse .sidebar-search-wrapper {
    opacity: 0;
    transform: translateX(-0.625rem);
    pointer-events: none;
  }

  body.sidebar-collapse .sidebar-menu .sidebar-menu-section {
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

  body.sidebar-collapse .sidebar-menu > li {
    margin-inline: 0.5rem;
  }

  body.sidebar-collapse .sidebar-menu > li > a {
    justify-content: center;
    padding-inline: 0.625rem;
  }

  body.sidebar-collapse .sidebar-menu > li > a > span:not(.pull-right-container),
  body.sidebar-collapse .sidebar-menu > li > a > .pull-right-container {
    display: none;
  }

  body.sidebar-collapse .sidebar-menu > li > a > i,
  body.sidebar-collapse .sidebar-menu > li > a > svg {
    margin: 0;
  }

  body.sidebar-collapse .sidebar-menu > li.treeview.menu-open > .treeview-menu {
    display: block !important;
    position: absolute;
    top: 0;
    left: calc(100% + 0.5rem);
    width: 16rem;
    padding: 0.5rem;
    border: 1px solid var(--app-border);
    border-radius: 0.875rem;
    background: var(--app-surface);
    box-shadow: var(--app-elevated-shadow);
    z-index: 1100;
  }

  body.sidebar-collapse .sidebar-menu > li.treeview.menu-open > .treeview-menu > li > a {
    padding-left: 0.875rem;
  }

  body.sidebar-collapse .page-bottom-branding {
    left: var(--app-sidebar-collapsed-width);
    width: calc(100% - var(--app-sidebar-collapsed-width));
  }
}

.nc-admin-page {
  --nc-admin-table-max-height: 420px;
}

.nc-admin-surface {
  border: 1px solid var(--app-border);
  border-radius: 0.9rem;
  background: var(--app-surface);
  box-shadow: var(--app-soft-shadow);
}

.nc-admin-toolbar {
  display: grid;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--app-border);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.nc-admin-toolbar .nc-toolbar-search,
.nc-record-selector-toolbar .nc-toolbar-search {
  position: relative;
  min-width: min(100%, 320px);
}

.nc-admin-toolbar .nc-toolbar-search i,
.nc-admin-toolbar .nc-toolbar-search svg,
.nc-record-selector-toolbar .nc-toolbar-search i,
.nc-record-selector-toolbar .nc-toolbar-search svg {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  width: 0.875rem;
  height: 0.875rem;
  transform: translateY(-50%);
  color: var(--app-text-muted);
  pointer-events: none;
  z-index: 2;
}

.nc-admin-toolbar .nc-toolbar-search input,
.nc-record-selector-toolbar .nc-toolbar-search input {
  padding-left: 2.125rem;
}

.nc-admin-table-shell {
  border: 1px solid var(--app-border);
  border-radius: 0.9rem;
  background: var(--app-surface);
  box-shadow: var(--app-soft-shadow);
}

.nc-scroll-panel {
  max-height: var(--nc-scroll-panel-max-height, var(--nc-admin-table-max-height));
  overflow: auto;
}

.nc-scroll-panel thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--app-surface-subtle);
}

.nc-advanced-filters {
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--app-divider);
}

.nc-advanced-filters .form-label {
  margin-bottom: 0.35rem;
}

.nc-admin-status {
  margin-top: 0.875rem;
  margin-bottom: 0;
}

.nc-record-workspace {
  align-items: stretch;
}

.nc-record-selector-panel,
.nc-record-detail-panel {
  border: 1px solid var(--app-border);
  border-radius: 0.95rem;
  background: var(--app-surface);
  box-shadow: var(--app-soft-shadow);
  overflow: hidden;
}

.nc-record-selector-toolbar {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--app-border);
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.nc-record-selector-list {
  display: grid;
  gap: 0.625rem;
  padding: 0.875rem;
  max-height: calc(100vh - 250px);
  overflow: auto;
}

.nc-record-list-card {
  border: 1px solid var(--app-border);
  border-radius: 0.85rem;
  background: var(--app-surface);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nc-record-list-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}

.nc-record-list-card.is-selected,
.nc-record-list-card.active {
  border-color: #93c5fd;
  background: #eff6ff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.nc-record-detail-shell {
  display: grid;
  gap: 0.875rem;
}

.nc-record-detail-header {
  padding: 1rem 1.125rem;
  border: 1px solid var(--app-border);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.nc-record-summary-card {
  border: 1px solid var(--app-border);
  border-radius: 0.95rem;
  padding: 1rem;
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.nc-record-summary-card .text-muted.small:last-child {
  margin-bottom: 0;
}

.nc-record-empty-state {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--app-divider);
  border-radius: 0.9rem;
  padding: 1.5rem;
  color: var(--app-text-secondary);
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.nc-workflow-shell {
  display: grid;
  gap: 1rem;
}

.nc-workflow-toolbar {
  display: grid;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--app-border);
  border-radius: 1rem;
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
  box-shadow: var(--app-soft-shadow);
}

.nc-workflow-toolbar__row {
  display: grid;
  gap: 0.875rem;
}

.nc-workflow-toolbar__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--app-text-secondary);
  font-size: 0.875rem;
}

.nc-workflow-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.nc-workflow-stat {
  border: 1px solid var(--app-border);
  border-radius: 0.9rem;
  padding: 0.875rem 1rem;
  background: var(--app-surface);
}

.nc-workflow-stat__label {
  color: var(--app-text-secondary);
  font-size: 0.8125rem;
}

.nc-workflow-stat__value {
  margin-top: 0.2rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--app-text);
}

.product-management .product-panel,
.medicine-management .medicine-list-panel,
.medicine-management .medicine-editor,
.employee-maintenance .employee-list-panel,
.employee-maintenance .employee-editor-shell {
  border-radius: 0.95rem;
  box-shadow: var(--app-soft-shadow);
}

.product-management .product-list,
.medicine-management .medicine-list,
.employee-maintenance .employee-list {
  display: grid;
  gap: 0.625rem;
}

.product-management .product-list-item,
.medicine-management .medicine-list-item,
.employee-maintenance .employee-item {
  border: 1px solid var(--app-border);
  border-radius: 0.85rem;
  background: var(--app-surface);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.product-management .product-list-item:hover,
.medicine-management .medicine-list-item:hover,
.employee-maintenance .employee-item:hover {
  border-color: #bfdbfe;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}

.product-management .product-list-item.active,
.medicine-management .medicine-list-item.active,
.employee-maintenance .employee-item.active {
  border-color: #93c5fd;
  background: #eff6ff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.klanten-overview {
  display: grid;
  gap: 1rem;
}

.klanten-overview .section {
  border: 1px solid var(--app-border);
  border-radius: 1rem;
  background: var(--app-surface);
  box-shadow: var(--app-soft-shadow);
  overflow: hidden;
}

.klanten-overview .section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border-bottom: 1px solid var(--app-border);
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.klanten-overview .search-section,
.klanten-overview .table-responsive {
  padding: 1rem 1.125rem 1.125rem;
}

.klanten-overview .table-responsive {
  max-height: 560px;
  overflow: auto;
}

.settings-management .settings-management-table,
.klanten-overview .table,
.nc-admin-page .table.table-sm,
.nc-workflow-shell .table.table-sm {
  margin-bottom: 0;
}

.settings-management .settings-management-table thead th,
.klanten-overview .table thead th {
  position: sticky;
  top: 0;
  background: var(--app-surface-subtle);
  z-index: 1;
}

.system-settings,
.settings-management,
.permissions-hub {
  display: grid;
  gap: 1rem;
}

.system-settings .system-settings-sidecard,
.permissions-hub .permissions-hub-card {
  border: 1px solid var(--app-border);
  border-radius: 0.95rem;
  padding: 1rem;
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.system-settings .system-settings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.permissions-hub .permissions-hub-lead {
  border: 1px solid var(--app-border);
  border-radius: 0.95rem;
  padding: 1rem 1.125rem;
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.permissions-hub .permissions-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.permissions-hub .permissions-hub-card h6 {
  margin-bottom: 0.5rem;
}

.rooster .roster-toolbar-shell,
.payroll-review .payroll-toolbar-shell,
.employee-import-page .employee-import-toolbar,
.rooster-import-page .rooster-import-toolbar,
.ochart-root .ochart-toolbar {
  display: grid;
  gap: 0.875rem;
  padding: 8px;
  border: 1px solid var(--app-border);
  border-radius: 1rem;
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
  box-shadow: var(--app-soft-shadow);
}

.rooster .roster-toolbar-row,
.payroll-review .payroll-toolbar-row,
.employee-import-page .employee-import-toolbar__row,
.rooster-import-page .rooster-import-toolbar__row {
  margin-top: 0;
}

.employee-import-page .card,
.rooster-import-page .card,
.payroll-review .nc-payroll-run-summary,
.ochart-root .ochart-columns-view > .ochart-business-info {
  border-radius: 0.95rem;
  box-shadow: var(--app-soft-shadow);
}

.employee-import-page .table-responsive,
.rooster-import-page .table-responsive,
.payroll-review .table-responsive {
  border: 1px solid var(--app-border);
  border-radius: 0.95rem;
  background: var(--app-surface);
}

.employee-import-page .table-responsive,
.rooster-import-page .raw-table-wrap,
.rooster-import-page .tab-pane .table-responsive,
.payroll-review .table-responsive {
  max-height: 560px;
  overflow: auto;
}

.ochart-root .ochart-toolbar {
  align-items: start;
}

.ochart-root .ochart-toolbar .btn-group {
  box-shadow: none;
}

@media (max-width: 1200px) {
  .user-management .nc-user-selector-panel {
    position: static;
  }

  .user-management .nc-user-selector-list {
    max-height: none;
  }

  .topbar-page-actions {
    gap: 6px;
  }

  .nc-record-selector-list {
    max-height: none;
  }
}

@media (max-width: 991px) {
  .topbar-page-shell {
    gap: 10px;
  }

  .topbar-page-breadcrumbs {
    display: none;
  }

  .topbar-page-context .page-title {
    font-size: 1rem;
  }

  .topbar-page-actions {
    display: none;
  }

  .nc-record-workspace {
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .main-header .logo-box {
    flex-basis: auto;
    width: auto;
    border-right: 0;
  }

  .main-header .logo {
    padding-left: 0;
  }

  .main-sidebar {
    width: min(18rem, calc(100vw - 1.5rem));
    transform: translateX(-100%);
    box-shadow: var(--app-elevated-shadow);
  }

  body.sidebar-open .main-sidebar {
    transform: translateX(0);
  }

  .content-wrapper,
  body.sidebar-collapse .content-wrapper {
    margin-top: var(--app-header-height);
    margin-left: 0;
    min-height: calc(100vh - var(--app-header-height));
    border-radius: 0;
  }

  .page-bottom-branding,
  body.sidebar-collapse .page-bottom-branding {
    left: 0;
    width: 100%;
  }

  .main-header .navbar-static-top {
    padding-right: 10px;
  }

  .topbar-page-shell {
    min-width: 0;
  }

  .main-header .navbar-custom-menu .navbar-nav {
    gap: 6px;
  }

  .main-header .navbar-custom-menu .navbar-nav > li.user-menu-dropdown > a.user-menu-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-wrapper,
  .main-header .logo-box,
  .main-sidebar,
  .sidebar-toolbar,
  .sidebar-search-wrapper,
  .sidebar-menu > li > a,
  .sidebar-menu .treeview-menu > li > a,
  .control-sidebar,
  .control-sidebar-bg {
    transition: none;
  }
}

/* BEGIN migrated inline-style-reference page sections */
/* NexusCareAdmin/zorg/producten.aspx */
.inline-style-scope--zorg-producten [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--zorg-producten .product-panel {
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      padding: 18px;
      background: #fff;
    }

    .inline-style-scope--zorg-producten .product-panel--catalog {
      max-width: 360px;
    }

    .inline-style-scope--zorg-producten .product-panel--detail {
      min-height: 560px;
    }

    .inline-style-scope--zorg-producten .product-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-height: 640px;
      overflow-y: auto;
    }

    .inline-style-scope--zorg-producten .product-list-item {
      width: 100%;
      border: 1px solid #d8dee8;
      border-radius: 10px;
      padding: 11px 13px;
      background: #fff;
      transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    }

    .inline-style-scope--zorg-producten .product-list-item.active {
      border-color: #0d6efd;
      background: #f4f8ff;
      box-shadow: 0 8px 20px rgba(13, 110, 253, 0.12);
    }

    .inline-style-scope--zorg-producten .product-list-item__title {
      font-weight: 600;
      color: #11263c;
    }

    .inline-style-scope--zorg-producten .product-list-item__body {
      min-width: 0;
      flex: 1 1 auto;
    }

    .inline-style-scope--zorg-producten .product-list-item__subtitle {
      color: #64748b;
      font-size: 0.86rem;
      margin-top: 3px;
    }

    .inline-style-scope--zorg-producten .product-list-item__meta {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 8px;
      flex: 0 0 auto;
    }

    .inline-style-scope--zorg-producten .product-list-item__count {
      min-width: 36px;
      padding: 4px 8px;
      border-radius: 999px;
      background: #eef2ff;
      color: #3b5bcc;
      font-size: 0.78rem;
      font-weight: 600;
      text-align: center;
      line-height: 1;
    }

    .inline-style-scope--zorg-producten .product-editor-shell {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 24px;
      align-items: start;
    }

    .inline-style-scope--zorg-producten .product-editor-shell.has-side-summary {
      grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.95fr);
    }

    .inline-style-scope--zorg-producten .product-summary-card {
      border: 1px solid #d8e1f0;
      border-radius: 14px;
      background: linear-gradient(180deg, #f8fbff 0%, #fdfefe 100%);
      padding: 18px;
    }

    .inline-style-scope--zorg-producten .product-summary-card__eyebrow {
      color: #64748b;
      font-size: 0.74rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 6px;
    }

    .inline-style-scope--zorg-producten .product-summary-card__title {
      color: #11263c;
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 14px;
    }

    .inline-style-scope--zorg-producten .product-summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .inline-style-scope--zorg-producten .product-summary-grid__item {
      border-radius: 12px;
      background: #fff;
      border: 1px solid #e5e7eb;
      padding: 12px 14px;
    }

    .inline-style-scope--zorg-producten .product-summary-grid__label {
      color: #64748b;
      font-size: 0.76rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 6px;
    }

    .inline-style-scope--zorg-producten .product-summary-grid__value {
      color: #11263c;
      font-size: 1rem;
      font-weight: 600;
      line-height: 1.35;
    }

    .inline-style-scope--zorg-producten .product-summary-note {
      margin-top: 14px;
      padding: 12px 14px;
      border-radius: 12px;
      background: #eef5ff;
      color: #28466f;
      font-size: 0.9rem;
      line-height: 1.5;
    }

    .inline-style-scope--zorg-producten .product-import-errors {
      max-height: 260px;
      overflow-y: auto;
    }

    .inline-style-scope--zorg-producten .product-import-dropzone {
      border: 1px dashed #9db6d8;
      border-radius: 14px;
      padding: 32px 24px;
      background: #f8fbff;
      text-align: center;
      transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
    }

    .inline-style-scope--zorg-producten .product-import-dropzone.is-dragging {
      border-color: #0d6efd;
      background: #eef5ff;
      box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.18);
    }

    .inline-style-scope--zorg-producten .product-import-dropzone.has-file {
      border-style: solid;
    }

    .inline-style-scope--zorg-producten .product-import-dropzone__title {
      font-size: 1rem;
      font-weight: 600;
      color: #11263c;
    }

    .inline-style-scope--zorg-producten .product-import-dropzone__text {
      margin-top: 8px;
      color: #64748b;
    }

    .inline-style-scope--zorg-producten .product-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.45);
      z-index: 1080;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .inline-style-scope--zorg-producten .product-modal {
      width: 100%;
      max-width: 520px;
    }

    .inline-style-scope--zorg-producten .product-modal--wide {
      max-width: 760px;
    }

    .inline-style-scope--zorg-producten .product-modal__dialog {
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 20px 48px rgba(15, 23, 42, 0.28);
      overflow: hidden;
    }

    .inline-style-scope--zorg-producten .product-modal__header,
    .inline-style-scope--zorg-producten .product-modal__body,
    .inline-style-scope--zorg-producten .product-modal__footer {
      padding: 18px 20px;
    }

    .inline-style-scope--zorg-producten .product-modal__header {
      border-bottom: 1px solid #e5e7eb;
    }

    .inline-style-scope--zorg-producten .product-modal__footer {
      border-top: 1px solid #e5e7eb;
      display: flex;
      justify-content: flex-end;
      gap: 10px;
    }

    @media (max-width: 1199.98px) {
      .inline-style-scope--zorg-producten .product-panel--catalog {
        max-width: none;
      }

      .inline-style-scope--zorg-producten .product-editor-shell.has-side-summary {
        grid-template-columns: minmax(0, 1fr);
      }
    }

/* NexusCareAdmin/zorg/klanten.aspx */
/* Modern clean styling */
        .inline-style-scope--zorg-klanten .container-fluid {
            padding: 20px;
        }

        .inline-style-scope--zorg-klanten .page-container {
            background-color: #f5f7fb;
            border-radius: 8px;
            padding: 20px;
        }

        .inline-style-scope--zorg-klanten .section {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            padding: 20px;
            margin-bottom: 20px;
        }

        .inline-style-scope--zorg-klanten .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 15px;
        }

        .inline-style-scope--zorg-klanten .section-title {
            display: flex;
            align-items: center;
            color: #0d6efd;
            font-weight: 500;
            font-size: 15px;
            margin: 0;
        }

            .inline-style-scope--zorg-klanten .section-title i {
                margin-right: 8px;
            }

        .inline-style-scope--zorg-klanten .search-section {
            background-color: #f8f9fa;
            border-radius: 6px;
            padding: 15px;
            margin-bottom: 15px;
        }

        .inline-style-scope--zorg-klanten .form-control, .inline-style-scope--zorg-klanten .form-select {
            border-radius: 6px;
            border: 1px solid #dee2e6;
            padding: 8px 12px;
            background-color: #fff;
        }

            .inline-style-scope--zorg-klanten .form-control:focus, .inline-style-scope--zorg-klanten .form-select:focus {
                border-color: #0d6efd;
                box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
            }

        .inline-style-scope--zorg-klanten .form-label {
            font-weight: 500;
            color: #495057;
            margin-bottom: 5px;
            font-size: 14px;
        }

        .inline-style-scope--zorg-klanten .btn {
            border-radius: 6px;
            font-weight: 500;
            padding: 8px 15px;
        }

        .inline-style-scope--zorg-klanten .btn-primary {
            background-color: #0d6efd;
            border-color: #0d6efd;
        }

            .inline-style-scope--zorg-klanten .btn-primary:hover {
                background-color: #0b5ed7;
                border-color: #0a58ca;
            }

        .inline-style-scope--zorg-klanten .btn-success {
            background-color: #198754;
            border-color: #198754;
        }

            .inline-style-scope--zorg-klanten .btn-success:hover {
                background-color: #157347;
                border-color: #146c43;
            }

        .inline-style-scope--zorg-klanten .btn-warning {
            background-color: #ffc107;
            border-color: #ffc107;
            color: #000;
        }

            .inline-style-scope--zorg-klanten .btn-warning:hover {
                background-color: #ffca2c;
                border-color: #ffc720;
            }

        .inline-style-scope--zorg-klanten .btn-danger {
            background-color: #dc3545;
            border-color: #dc3545;
        }

            .inline-style-scope--zorg-klanten .btn-danger:hover {
                background-color: #bb2d3b;
                border-color: #b02a37;
            }

        .inline-style-scope--zorg-klanten .btn-secondary {
            background-color: #6c757d;
            border-color: #6c757d;
        }

            .inline-style-scope--zorg-klanten .btn-secondary:hover {
                background-color: #5c636a;
                border-color: #565e64;
            }

        .inline-style-scope--zorg-klanten .btn-sm {
            padding: 4px 8px;
            font-size: 12px;
        }

        .inline-style-scope--zorg-klanten .table {
            margin-bottom: 0;
        }

            .inline-style-scope--zorg-klanten .table th {
                background-color: #f8f9fa;
                font-weight: 600;
                color: #495057;
                border-bottom: 2px solid #dee2e6;
                padding: 12px;
                font-size: 13px;
            }

            .inline-style-scope--zorg-klanten .table td {
                vertical-align: middle;
                padding: 12px;
                font-size: 13px;
            }

        .inline-style-scope--zorg-klanten .table-hover tbody tr:hover {
            background-color: rgba(13, 110, 253, 0.04);
        }

        .inline-style-scope--zorg-klanten .badge {
            padding: 4px 8px;
            border-radius: 4px;
            font-weight: 500;
            font-size: 11px;
        }

        .inline-style-scope--zorg-klanten .alert {
            border-radius: 6px;
            padding: 12px 15px;
            margin-bottom: 15px;
        }

        .inline-style-scope--zorg-klanten .klanten-overview .actions-cell {
            overflow: visible;
        }

        .inline-style-scope--zorg-klanten .klanten-overview .nc-row-actions {
            z-index: 4;
        }

        .inline-style-scope--zorg-klanten .klanten-overview .nc-row-actions.is-open {
            z-index: 12;
        }

        .inline-style-scope--zorg-klanten .klanten-overview .nc-row-menu[hidden] {
            display: none !important;
        }

        .inline-style-scope--zorg-klanten .empty-state {
            text-align: center;
            padding: 40px;
            color: #6c757d;
        }

        .inline-style-scope--zorg-klanten .empty-state p {
            margin: 10px 0 0 0;
            font-size: 16px;
        }

        .inline-style-scope--zorg-klanten .klanten-overview .customer-row-selected {
            background-color: rgba(13, 110, 253, 0.1);
        }

        .inline-style-scope--zorg-klanten .customer-detail-section {
            scroll-margin-top: 88px;
        }

        .inline-style-scope--zorg-klanten .customer-detail-section__header {
            align-items: flex-start;
            gap: 16px;
        }

        .inline-style-scope--zorg-klanten .customer-detail-section__copy {
            margin: 6px 0 0 0;
            color: #64748b;
            font-size: 13px;
            max-width: 720px;
        }

        .inline-style-scope--zorg-klanten .customer-detail-empty {
            border: 1px dashed #cbd5e1;
            border-radius: 14px;
            padding: 28px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            gap: 10px;
            background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
        }

        .inline-style-scope--zorg-klanten .customer-detail-empty__icon {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: rgba(13, 110, 253, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #0d6efd;
        }

        .inline-style-scope--zorg-klanten .customer-detail-empty__title {
            font-size: 18px;
            font-weight: 600;
            color: #0f172a;
        }

        .inline-style-scope--zorg-klanten .customer-detail-empty__copy {
            margin: 0;
            max-width: 560px;
            color: #64748b;
        }

        .inline-style-scope--zorg-klanten .customer-detail-workspace {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .inline-style-scope--zorg-klanten .customer-detail-hero {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 16px;
            border: 1px solid #dbe7f3;
            border-radius: 16px;
            padding: 20px 22px;
            background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
        }

        .inline-style-scope--zorg-klanten .customer-detail-eyebrow {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 700;
            color: #64748b;
            margin-bottom: 6px;
        }

        .inline-style-scope--zorg-klanten .customer-detail-title {
            margin: 0;
            font-size: 24px;
            color: #0f172a;
        }

        .inline-style-scope--zorg-klanten .customer-detail-hero-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 14px;
        }

        .inline-style-scope--zorg-klanten .customer-detail-pill {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 999px;
            background: #ffffff;
            border: 1px solid #dbe7f3;
            color: #0f172a;
        }

        .inline-style-scope--zorg-klanten .customer-detail-pill__label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #64748b;
            font-weight: 700;
        }

        .inline-style-scope--zorg-klanten .customer-detail-pill__value {
            font-size: 14px;
            font-weight: 600;
        }

        .inline-style-scope--zorg-klanten .customer-detail-edit-button {
            flex-shrink: 0;
        }

        .inline-style-scope--zorg-klanten .customer-detail-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .inline-style-scope--zorg-klanten .customer-detail-card {
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 18px;
            background-color: #ffffff;
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
        }

        .inline-style-scope--zorg-klanten .customer-detail-card--remarks {
            grid-column: 1 / -1;
        }

        .inline-style-scope--zorg-klanten .customer-detail-card__header h6 {
            margin: 0;
            font-size: 16px;
            color: #0f172a;
        }

        .inline-style-scope--zorg-klanten .customer-detail-card__header p {
            margin: 6px 0 0 0;
            color: #64748b;
            font-size: 13px;
        }

        .inline-style-scope--zorg-klanten .customer-detail-fields {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px 16px;
            margin-top: 16px;
        }

        .inline-style-scope--zorg-klanten .customer-detail-field {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .inline-style-scope--zorg-klanten .customer-detail-field__label {
            font-size: 12px;
            color: #64748b;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .inline-style-scope--zorg-klanten .customer-detail-field__value {
            font-size: 14px;
            color: #0f172a;
            font-weight: 500;
            word-break: break-word;
        }

        .inline-style-scope--zorg-klanten .customer-detail-remarks {
            margin-top: 16px;
            white-space: pre-line;
            color: #0f172a;
            line-height: 1.6;
        }

        @media (max-width: 991.98px) {
            .inline-style-scope--zorg-klanten .customer-detail-grid {
                grid-template-columns: 1fr;
            }

            .inline-style-scope--zorg-klanten .customer-detail-hero {
                flex-direction: column;
            }

            .inline-style-scope--zorg-klanten .customer-detail-fields {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 575.98px) {
            .inline-style-scope--zorg-klanten .customer-detail-section__header {
                flex-direction: column;
            }

            .inline-style-scope--zorg-klanten .customer-detail-edit-button {
                width: 100%;
            }
        }

        /* Klant type badges */
        .inline-style-scope--zorg-klanten .badge-loket {
            background-color: #ffe5d0; /* soft orange */
            color: #8a3d00;
            border: 1px solid #ffc48f;
        }

        .inline-style-scope--zorg-klanten .badge-regulier {
            background-color: #d1e7dd; /* soft green (matches your alert-success palette) */
            color: #0f5132;
            border: 1px solid #a3cfbb;
        }

        .inline-style-scope--zorg-klanten .badge-unknown {
            background-color: #e2e3e5; /* neutral gray */
            color: #41464b;
            border: 1px solid #c4c8cb;
        }

/* NexusCareAdmin/organisatie/dienstcodes.aspx */
.inline-style-scope--organisatie-dienstcodes [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--organisatie-dienstcodes .dienstcode-list {
      border: 1px solid #e3e7ed;
      border-radius: 12px;
      padding: 6px;
      max-height: 520px;
      overflow-y: auto;
      background: #ffffff;
    }

    .inline-style-scope--organisatie-dienstcodes .dienstcode-item {
      padding: 10px 12px;
      border-radius: 8px;
      cursor: pointer;
    }

    .inline-style-scope--organisatie-dienstcodes .dienstcode-item:hover {
      background: #f1f5f9;
    }

    .inline-style-scope--organisatie-dienstcodes .dienstcode-item.active {
      background: #e0e7ff;
    }

    .inline-style-scope--organisatie-dienstcodes .dienstcode-item .badge {
      flex-shrink: 0;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-preview-panel {
      margin-top: 28px;
      padding-top: 24px;
      border-top: 1px solid #e3e7ed;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-mapping-panel {
      margin-top: 28px;
      padding-top: 24px;
      border-top: 1px solid #e3e7ed;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-mapping-table th {
      white-space: nowrap;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: #64748b;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-mapping-table td {
      min-width: 90px;
      vertical-align: middle;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-form-actions {
      padding-top: 16px;
      border-top: 1px solid #e3e7ed;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-preview-meta {
      color: #64748b;
      font-size: 0.875rem;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-preview-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-preview-card {
      border: 1px solid #e3e7ed;
      border-radius: 14px;
      padding: 16px;
      background: #ffffff;
      box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    }

    .inline-style-scope--organisatie-dienstcodes .nc-preview-card-header {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      margin-bottom: 12px;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-preview-label {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #64748b;
      margin-bottom: 4px;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-preview-code-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-preview-code-row,
    .inline-style-scope--organisatie-dienstcodes .nc-preview-segment {
      padding: 10px 12px;
      border-radius: 12px;
      background: #f8fafc;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-inline-link {
      color: #0f172a;
      font-weight: 700;
      text-decoration: none;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-inline-link:hover,
    .inline-style-scope--organisatie-dienstcodes .nc-inline-link:focus {
      text-decoration: underline;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-help-icon {
      width: 1.125rem;
      height: 1.125rem;
      min-width: 1.125rem;
      max-width: 1.125rem;
      max-height: 1.125rem;
      padding: 0;
      border: 0;
      border-radius: 999px;
      color: #94a3b8;
      background: transparent;
      box-shadow: none;
      vertical-align: middle;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-help-icon:hover,
    .inline-style-scope--organisatie-dienstcodes .nc-help-icon:focus {
      color: #64748b;
      background: transparent;
      box-shadow: none;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-help-icon i {
      width: 0.625rem;
      height: 0.625rem;
      min-width: 0.625rem;
      min-height: 0.625rem;
      stroke-width: 1.75;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-import-modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 1200;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      background: rgba(15, 23, 42, 0.45);
    }

    .inline-style-scope--organisatie-dienstcodes .nc-import-modal {
      width: min(640px, 100%);
      border-radius: 18px;
      background: #ffffff;
      box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
      overflow: hidden;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-import-modal__header,
    .inline-style-scope--organisatie-dienstcodes .nc-import-modal__footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 20px 24px;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-import-modal__header {
      border-bottom: 1px solid #e3e7ed;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-import-modal__body {
      padding: 24px;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-import-modal__footer {
      border-top: 1px solid #e3e7ed;
      justify-content: flex-end;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-import-dropzone {
      border: 2px dashed #cbd5f5;
      border-radius: 14px;
      padding: 24px;
      text-align: center;
      background: #f8fafc;
      transition: border-color 0.2s ease, background 0.2s ease;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-import-dropzone.is-dragging {
      border-color: #2563eb;
      background: #eff6ff;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-import-dropzone.has-file {
      border-color: #16a34a;
      background: #f0fdf4;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-import-dropzone__title {
      font-size: 1rem;
      font-weight: 700;
      color: #0f172a;
    }

    .inline-style-scope--organisatie-dienstcodes .nc-import-dropzone__text {
      margin-top: 8px;
      font-size: 0.875rem;
      color: #64748b;
    }

/* NexusCareAdmin/main/agent-login.aspx */
body.inline-style-scope--main-agent-login {
            margin: 0;
            font-family: "Segoe UI", Arial, sans-serif;
            background: #f3f6f9;
            color: #22303c;
        }

        .inline-style-scope--main-agent-login .shell {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

        .inline-style-scope--main-agent-login .card {
            width: 100%;
            max-width: 640px;
            background: #ffffff;
            border: 1px solid #d8e1e8;
            border-radius: 12px;
            box-shadow: 0 12px 32px rgba(34, 48, 60, 0.08);
            padding: 24px;
        }

        .inline-style-scope--main-agent-login h1 {
            margin: 0 0 12px;
            font-size: 24px;
        }

        .inline-style-scope--main-agent-login p {
            margin: 0;
            line-height: 1.6;
        }

/* NexusCareAdmin/organisatie/dienstentellers.aspx */
.inline-style-scope--organisatie-dienstentellers [x-cloak] { display: none !important; }
    .inline-style-scope--organisatie-dienstentellers .teller-list { border: 1px solid #e3e7ed; border-radius: 12px; padding: 6px; max-height: 520px; overflow-y: auto; background: #fff; }
    .inline-style-scope--organisatie-dienstentellers .teller-item { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
    .inline-style-scope--organisatie-dienstentellers .teller-item:hover { background: #f1f5f9; }
    .inline-style-scope--organisatie-dienstentellers .teller-item.active { background: #e0e7ff; }

/* NexusCareAdmin/zorg/klant_onderhoud.aspx */
.inline-style-scope--zorg-klant_onderhoud .customer-shell {
            display: grid;
            gap: 0;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
            overflow: hidden;
        }

        /* Tab Navigation */
        .inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom {
            background-color: transparent;
            border: none;
            border-bottom: 0;
            border-radius: 0;
            padding: 10px 14px 0;
            margin-bottom: 0;
            box-shadow: none;
            gap: 4px;
        }

            .inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom .nav-link {
                border: 1px solid #e5e7eb;
                border-bottom: none;
                padding: 9px 14px 10px;
                color: #64748b;
                font-weight: 600;
                background: #f3f4f6;
                border-radius: 12px 12px 0 0;
                transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
                position: relative;
                margin-bottom: -1px;
                display: inline-flex;
                align-items: center;
                gap: 6px;
            }

                .inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom .nav-link:hover {
                    background-color: #e5e7eb;
                    color: #334155;
                }

                .inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom .nav-link.active {
                    background-color: #fff;
                    color: #1e3a8a;
                    border-color: #dbe2ea;
                    box-shadow: inset 0 3px 0 #2563eb;
                    z-index: 1;
                }

                .inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom .nav-link i {
                    margin-right: 0;
                }

        /* Tab Content */
        .inline-style-scope--zorg-klant_onderhoud .tab-content-custom {
            background-color: transparent;
            border-radius: 0;
            border: none;
            border-top: 1px solid #e5e7eb;
            padding: 20px 24px 24px;
            box-shadow: none;
        }

        /* Form Sections */
        .inline-style-scope--zorg-klant_onderhoud .form-section {
            margin-bottom: 16px;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            padding: 12px;
        }

        .inline-style-scope--zorg-klant_onderhoud .form-section-title {
            font-size: 16px;
            font-weight: 600;
            color: #334155;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .inline-style-scope--zorg-klant_onderhoud .form-section-title i {
                color: #2563eb;
            }

        /* Form Controls */
        .inline-style-scope--zorg-klant_onderhoud .form-control, .inline-style-scope--zorg-klant_onderhoud .form-select {
            border-radius: 6px;
            border: 1px solid #dee2e6;
            padding: 8px;
            font-size: 14px;
            transition: all 0.2s;
        }

            .inline-style-scope--zorg-klant_onderhoud .form-control:focus, .inline-style-scope--zorg-klant_onderhoud .form-select:focus {
                border-color: #2563eb;
                box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
            }

        .inline-style-scope--zorg-klant_onderhoud .form-label {
            font-weight: 500;
            color: #495057;
            margin-bottom: 6px;
            font-size: 14px;
        }

            .inline-style-scope--zorg-klant_onderhoud .form-label.required::after {
                content: " *";
                color: #dc3545;
                font-weight: bold;
            }

        /* Photo Upload */
        .inline-style-scope--zorg-klant_onderhoud .photo-upload-container {
            display: flex;
            gap: 15px;
            align-items: flex-start;
        }

        .inline-style-scope--zorg-klant_onderhoud .photo-preview {
            width: 150px;
            height: 150px;
            border: 2px dashed #dee2e6;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f8f9fa;
            overflow: hidden;
        }

            .inline-style-scope--zorg-klant_onderhoud .photo-preview img {
                max-width: 100%;
                max-height: 100%;
                object-fit: cover;
            }

            .inline-style-scope--zorg-klant_onderhoud .photo-preview i {
                font-size: 48px;
                color: #dee2e6;
            }

        .inline-style-scope--zorg-klant_onderhoud .photo-upload-btn {
            margin-top: 10px;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-note {
            display: block;
            margin-top: 6px;
            color: #64748b;
            font-size: 12px;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-grid {
            margin-top: 16px;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-pill {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            border-radius: 999px;
            background: #e0f2fe;
            color: #075985;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .inline-style-scope--zorg-klant_onderhoud [x-cloak] {
            display: none !important;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-toolbar {
            display: grid;
            gap: 16px;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-status {
            margin-bottom: 0;
            padding: 10px 14px;
            line-height: 1.35;
            max-height: 72px;
            overflow: hidden;
            opacity: 1;
            transform: translateY(0) scaleY(1);
            transform-origin: top center;
            transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.28s ease, padding 0.28s ease, border-width 0.28s ease;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-status--leaving {
            max-height: 0;
            padding-top: 0;
            padding-bottom: 0;
            border-top-width: 0;
            border-bottom-width: 0;
            opacity: 0;
            transform: translateY(-4px) scaleY(0.94);
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-status:empty {
            display: none;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-helper {
            color: #64748b;
            font-size: 12px;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-helper--inline {
            display: inline;
            margin-left: 8px;
            font-weight: 400;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-autocomplete {
            position: relative;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-autocomplete__panel {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            right: 0;
            z-index: 25;
            max-height: 260px;
            overflow-y: auto;
            border: 1px solid #dbe4f0;
            border-radius: 12px;
            background: #fff;
            box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-autocomplete__option {
            width: 100%;
            border: none;
            border-bottom: 1px solid #eef2f7;
            background: transparent;
            padding: 12px 14px;
            text-align: left;
            color: #1e293b;
            font-size: 14px;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-autocomplete__option:last-child {
            border-bottom: none;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-autocomplete__option:hover,
        .inline-style-scope--zorg-klant_onderhoud .assignment-autocomplete__option:focus {
            background: #eff6ff;
            color: #1d4ed8;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-toggle {
            width: 100%;
            min-height: 44px;
            border: 1px solid #cbd5e1;
            border-radius: 12px;
            background: #f8fafc;
            color: #334155;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px 14px;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-toggle.is-active {
            background: #dcfce7;
            border-color: #22c55e;
            color: #166534;
            box-shadow: 0 10px 22px rgba(34, 197, 94, 0.18);
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-toggle__indicator {
            width: 10px;
            height: 10px;
            border-radius: 999px;
            background: currentColor;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-action-button {
            width: 100%;
            min-height: 44px;
            justify-content: center;
            white-space: nowrap;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-action-button[disabled],
        .inline-style-scope--zorg-klant_onderhoud .assignment-toggle[disabled] {
            opacity: 0.55;
            cursor: not-allowed;
            box-shadow: none;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-empty {
            padding: 20px;
            border: 1px dashed #cbd5e1;
            border-radius: 12px;
            background: #f8fafc;
            color: #64748b;
            font-size: 14px;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-readonly-field {
            min-height: 44px;
            display: flex;
            align-items: center;
            background: #f8fafc;
            color: #334155;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            overflow: hidden;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-table thead th {
            background: #f8fafc;
            color: #475569;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            padding: 12px 14px;
            border-bottom: 1px solid #e2e8f0;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-table tbody td {
            padding: 14px;
            border-bottom: 1px solid #eef2f7;
            color: #1e293b;
            font-size: 14px;
            vertical-align: middle;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-table tbody tr:last-child td {
            border-bottom: none;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-row-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: flex-end;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-row-button {
            border: 1px solid #cbd5e1;
            background: #fff;
            color: #334155;
            border-radius: 10px;
            padding: 8px 12px;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-row-button:hover,
        .inline-style-scope--zorg-klant_onderhoud .assignment-row-button:focus {
            background: #f8fafc;
            border-color: #94a3b8;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-product-gate {
            padding: 14px 16px;
            border: 1px solid #dbe4f0;
            border-radius: 12px;
            background: #f8fafc;
            color: #475569;
            font-size: 14px;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-product-gate strong {
            color: #0f172a;
        }

        .inline-style-scope--zorg-klant_onderhoud .saved-client-gate {
            margin-bottom: 16px;
            padding: 12px 14px;
            border: 1px solid #fed7aa;
            border-radius: 12px;
            background: #fff7ed;
            color: #9a3412;
        }

        .inline-style-scope--zorg-klant_onderhoud .saved-client-gate strong {
            display: block;
            font-size: 14px;
            color: #9a3412;
        }

        .inline-style-scope--zorg-klant_onderhoud .saved-client-gate span {
            display: block;
            margin-top: 4px;
            font-size: 12px;
            color: #9a3412;
        }

        .inline-style-scope--zorg-klant_onderhoud .saved-client-fieldset {
            border: 0;
            margin: 0;
            padding: 0;
            min-width: 0;
        }

        .inline-style-scope--zorg-klant_onderhoud .saved-client-fieldset[disabled] {
            opacity: 1;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-dialog-backdrop {
            position: fixed;
            inset: 0;
            z-index: 1080;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: rgba(15, 23, 42, 0.42);
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-dialog {
            width: min(100%, 420px);
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 24px 56px rgba(15, 23, 42, 0.28);
            padding: 22px;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-dialog__title {
            font-size: 18px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 10px;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-dialog__copy {
            color: #475569;
            font-size: 14px;
            margin-bottom: 18px;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-dialog__actions {
            display: flex;
            justify-content: flex-end;
            gap: 12px;
        }

        .inline-style-scope--zorg-klant_onderhoud .assignment-legacy {
            display: none;
        }

        /* Buttons */
        .inline-style-scope--zorg-klant_onderhoud .btn-custom {
            padding: 10px 24px;
            border-radius: 6px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
        }

        .inline-style-scope--zorg-klant_onderhoud .btn-primary-custom {
            background: #2563eb;
            border: 1px solid #2563eb;
            color: white;
        }

            .inline-style-scope--zorg-klant_onderhoud .btn-primary-custom:hover {
                background: #1d4ed8;
                border-color: #1d4ed8;
                box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
            }

        .inline-style-scope--zorg-klant_onderhoud .btn-secondary-custom {
            background-color: #f8fafc;
            border: 1px solid #cbd5e1;
            color: #334155;
        }

            .inline-style-scope--zorg-klant_onderhoud .btn-secondary-custom:hover {
                background-color: #f1f5f9;
            }

        .inline-style-scope--zorg-klant_onderhoud .action-buttons {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e2e8f0;
        }

        /* Alert Messages */
        .inline-style-scope--zorg-klant_onderhoud .alert-custom {
            border-radius: 8px;
            padding: 12px 16px;
            margin-bottom: 20px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .inline-style-scope--zorg-klant_onderhoud .save-feedback {
            display: grid;
            gap: 14px;
            margin-top: 30px;
        }

        .inline-style-scope--zorg-klant_onderhoud .validation-summary-panel {
            margin-bottom: 0;
        }

        .inline-style-scope--zorg-klant_onderhoud .validation-summary-copy {
            flex: 1;
        }

        .inline-style-scope--zorg-klant_onderhoud .validation-summary-title {
            font-weight: 700;
            color: #991b1b;
            margin-bottom: 8px;
        }

        .inline-style-scope--zorg-klant_onderhoud .validation-summary-list {
            margin: 0;
            padding-left: 18px;
        }

        .inline-style-scope--zorg-klant_onderhoud .validation-summary-list li + li {
            margin-top: 4px;
        }

        /* Grid View for Contacts/Insurance */
        .inline-style-scope--zorg-klant_onderhoud .grid-container {
            margin-top: 15px;
        }

        .inline-style-scope--zorg-klant_onderhoud .custom-gridview {
            width: 100%;
            border-collapse: collapse;
        }

            .inline-style-scope--zorg-klant_onderhoud .custom-gridview th {
                background-color: #f8f9fa;
                padding: 12px;
                text-align: left;
                font-weight: 600;
                color: #495057;
                border-bottom: 2px solid #dee2e6;
            }

            .inline-style-scope--zorg-klant_onderhoud .custom-gridview td {
                padding: 12px;
                border-bottom: 1px solid #e9ecef;
            }

            .inline-style-scope--zorg-klant_onderhoud .custom-gridview tr:hover {
                background-color: #f8f9fa;
            }

        .inline-style-scope--zorg-klant_onderhoud .btn-sm-custom {
            padding: 6px 12px;
            font-size: 13px;
        }

        /* Address Sections - Both visible */
        .inline-style-scope--zorg-klant_onderhoud .address-container {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .inline-style-scope--zorg-klant_onderhoud .address-section-header {
            background-color: #f8f9fa;
            padding: 10px 15px;
            border-radius: 6px;
            font-weight: 600;
            color: #495057;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Badge styles for contact types */
        .inline-style-scope--zorg-klant_onderhoud .badge {
            display: inline-block;
            padding: 0.25em 0.6em;
            font-size: 0.75em;
            font-weight: 700;
            line-height: 1;
            color: #fff;
            text-align: center;
            white-space: nowrap;
            vertical-align: baseline;
            border-radius: 0.25rem;
            margin-right: 4px;
        }

        .inline-style-scope--zorg-klant_onderhoud .bg-danger {
            background-color: #dc3545;
        }

        .inline-style-scope--zorg-klant_onderhoud .bg-primary {
            background-color: #0d6efd;
        }

        .inline-style-scope--zorg-klant_onderhoud .bg-info {
            background-color: #0dcaf0;
        }

        .inline-style-scope--zorg-klant_onderhoud .bg-success {
            background-color: #198754;
        }

        .inline-style-scope--zorg-klant_onderhoud .bg-warning {
            background-color: #ffc107;
            color: #000;
        }

        .inline-style-scope--zorg-klant_onderhoud .bg-secondary {
            background-color: #6c757d;
        }

        /* Contact Type Radio Buttons */
        .inline-style-scope--zorg-klant_onderhoud .contact-type-radio input[type="radio"] {
            margin-right: 5px;
        }

        .inline-style-scope--zorg-klant_onderhoud .contact-type-radio label {
            margin-right: 25px;
            font-weight: 500;
            color: #495057;
            cursor: pointer;
        }

        .inline-style-scope--zorg-klant_onderhoud .contact-type-radio span {
            display: inline-flex;
            align-items: center;
            margin-right: 20px;
        }

        /* Memo text area styling */
        .inline-style-scope--zorg-klant_onderhoud .memo-textarea {
            min-height: 550px;
            resize: vertical;
            font-family: inherit;
            line-height: 1.6;
        }

        .inline-style-scope--zorg-klant_onderhoud .basis-workspace {
            display: grid;
            grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
            gap: 20px;
            align-items: start;
        }

        .inline-style-scope--zorg-klant_onderhoud .workspace-side {
            display: grid;
            gap: 20px;
            position: sticky;
            top: 16px;
        }

        @media (max-width: 1199.98px) {
            .inline-style-scope--zorg-klant_onderhoud .basis-workspace {
                grid-template-columns: 1fr;
            }

            .inline-style-scope--zorg-klant_onderhoud .workspace-side {
                position: static;
            }
        }

        @media (max-width: 767.98px) {
            .inline-style-scope--zorg-klant_onderhoud .action-buttons {
                flex-direction: column-reverse;
            }

            .inline-style-scope--zorg-klant_onderhoud .action-buttons .btn-custom {
                width: 100%;
                justify-content: center;
            }
        }

/* NexusCareAdmin/main/changepassword.aspx */
/* Modern clean styling */
        .inline-style-scope--main-changepassword .container-fluid {
            padding: 20px;
        }

        .inline-style-scope--main-changepassword .page-container {
            background-color: #f5f7fb;
            border-radius: 8px;
            padding: 20px;
        }

        .inline-style-scope--main-changepassword .section {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            padding: 20px;
            margin-bottom: 20px;
        }

        .inline-style-scope--main-changepassword .section-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            color: #0d6efd;
            font-weight: 500;
        }

        .inline-style-scope--main-changepassword .section-header i {
            margin-right: 8px;
        }

        .inline-style-scope--main-changepassword .section-title {
            font-size: 15px;
            margin: 0;
        }

        /* Form controls */
        .inline-style-scope--main-changepassword .form-control, .inline-style-scope--main-changepassword .form-select {
            border-radius: 6px;
            border: 1px solid #dee2e6;
            padding: 8px 12px;
            background-color: #f8f9fa;
        }

        .inline-style-scope--main-changepassword .form-control:focus, .inline-style-scope--main-changepassword .form-select:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
            background-color: #fff;
        }

        .inline-style-scope--main-changepassword .form-label {
            font-weight: 500;
            color: #495057;
            margin-bottom: 5px;
        }

        /* Buttons */
        .inline-style-scope--main-changepassword .btn {
            border-radius: 6px;
            font-weight: 500;
            padding: 8px 15px;
        }

        .inline-style-scope--main-changepassword .btn-primary {
            background-color: #0d6efd;
            border-color: #0d6efd;
        }

        .inline-style-scope--main-changepassword .btn-primary:hover {
            background-color: #0b5ed7;
            border-color: #0a58ca;
        }

        .inline-style-scope--main-changepassword .btn-danger {
            background-color: #dc3545;
            border-color: #dc3545;
        }

        .inline-style-scope--main-changepassword .btn-danger:hover {
            background-color: #bb2d3b;
            border-color: #b02a37;
        }

        .inline-style-scope--main-changepassword .btn-warning {
            background-color: #e7e9ed;
            border: 1px solid #c5c9d5;
            color: #333;
            font-weight: 500;
        }

        .inline-style-scope--main-changepassword .btn-warning:hover {
            background-color: #dfe2e9;
        }

        /* Action buttons */
        .inline-style-scope--main-changepassword .action-buttons {
            display: flex;
            justify-content: flex-end;
            margin-top: 15px;
        }

        .inline-style-scope--main-changepassword .action-buttons .btn {
            min-width: 200px;
        }

        .inline-style-scope--main-changepassword .password-alert {
            margin-top: 10px;
            font-size: 14px;
        }

/* NexusCareAdmin/organisatie/dienstrooster.aspx */
/* Select2 Bootstrap 5 Theme Adjustments */
    .inline-style-scope--organisatie-dienstrooster .select2-container--default .select2-selection--single {
      height: calc(1.5em + 0.75rem + 2px);
      padding: 0.375rem 0.75rem;
      border: 1px solid #ced4da;
      border-radius: 0.25rem;
      background-color: #fff;
    }

      .inline-style-scope--organisatie-dienstrooster .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 1.5;
        padding-left: 0;
        color: #212529;
      }

      .inline-style-scope--organisatie-dienstrooster .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: calc(1.5em + 0.75rem);
        top: 1px;
        right: 0.75rem;
      }

      .inline-style-scope--organisatie-dienstrooster .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: #6c757d;
      }

    .inline-style-scope--organisatie-dienstrooster .select2-dropdown {
      z-index: 9999 !important;
      border: 1px solid #ced4da;
      border-radius: 0.25rem;
    }

    .inline-style-scope--organisatie-dienstrooster .select2-container--default .select2-results__option--highlighted[aria-selected] {
      background-color: #0d6efd;
      color: #fff;
    }

    .inline-style-scope--organisatie-dienstrooster .select2-container--default .select2-results__option[aria-selected="true"] {
      background-color: #e9ecef;
    }

    .inline-style-scope--organisatie-dienstrooster .select2-container--default .select2-search--dropdown .select2-search__field {
      border: 1px solid #ced4da;
      border-radius: 0.25rem;
      padding: 0.375rem 0.75rem;
    }

    .inline-style-scope--organisatie-dienstrooster .select2-container .select2-selection--single .select2-selection__clear {
      height: 100%;
      margin-right: 20px;
      color: #6c757d;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster {
      --rooster-holiday-bg: rgba(220, 53, 69, 0.08);
      --rooster-holiday-text: #842029;
      --rooster-holiday-border: rgba(220, 53, 69, 0.28);
      --rooster-holiday-accent: #dc3545;
    }

    /* Dienstrooster: dienst-start kleuren (ochtend/middag/nacht) */
    .inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-shift--morning:not(.table-primary) {
      --bs-table-bg: var(--success-light, #d1e7dd);
      --bs-table-color: var(--success-text, #0f5132);
      border-color: var(--success-border, #badbcc);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-shift--afternoon:not(.table-primary) {
      --bs-table-bg: var(--warning-light, #fff3cd);
      --bs-table-color: var(--warning-text, #000);
      border-color: var(--warning, #ffc107);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-shift--night:not(.table-primary) {
      --bs-table-bg: var(--info-light, #e7f3ff);
      --bs-table-color: var(--info-text, #004085);
      border-color: var(--info-border, #b3d9ff);
    }

    /* Dienstrooster: speciale codes zonder tijden (vakantie/ziek/cursus) */
    .inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-special--vacation:not(.table-primary) {
      --bs-table-bg: rgba(102, 126, 234, 0.14);
      --bs-table-color: var(--primary-purple, #667eea);
      border-color: rgba(102, 126, 234, 0.35);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-special--sick:not(.table-primary) {
      --bs-table-bg: var(--danger-light, #f8d7da);
      --bs-table-color: var(--danger-text, #842029);
      border-color: var(--danger, #dc3545);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-special--course:not(.table-primary) {
      --bs-table-bg: rgba(13, 110, 253, 0.10);
      --bs-table-color: var(--primary-blue, #0d6efd);
      border-color: rgba(13, 110, 253, 0.35);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-special--other:not(.table-primary) {
      --bs-table-bg: var(--bg-section, #f8f9fa);
      --bs-table-color: var(--text-secondary, #495057);
      border-color: var(--border-medium, #dee2e6);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-special--manual:not(.table-primary) {
      --bs-table-bg: rgba(245, 158, 11, 0.18);
      --bs-table-color: #8a4b00;
      border-color: rgba(245, 158, 11, 0.42);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster table th.rooster-holiday,
    .inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-holiday:not(.table-primary) {
      --bs-table-bg: var(--rooster-holiday-bg, rgba(220, 53, 69, 0.08));
      --bs-table-color: var(--rooster-holiday-text, #842029);
      border-color: var(--rooster-holiday-border, rgba(220, 53, 69, 0.28));
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-label {
      font-size: 12px;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-sep {
      font-size: 12px;
      font-weight: 600;
      padding: 0 2px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 3px 10px;
      border-radius: 999px;
      border: 1px solid var(--border-medium, #dee2e6);
      font-size: 12px;
      font-weight: 600;
      line-height: 1.2;
      user-select: none;
    }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item::before {
        content: "";
        width: 10px;
        height: 10px;
        border-radius: 3px;
        border: 1px solid currentColor;
      }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-shift--morning {
      background: var(--success-light, #d1e7dd);
        color: var(--success-text, #0f5132);
        border-color: var(--success-border, #badbcc);
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-shift--afternoon {
        background: var(--warning-light, #fff3cd);
        color: var(--warning-text, #000);
        border-color: var(--warning, #ffc107);
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-shift--night {
        background: var(--info-light, #e7f3ff);
        color: var(--info-text, #004085);
        border-color: var(--info-border, #b3d9ff);
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-holiday {
        background: var(--rooster-holiday-bg, rgba(220, 53, 69, 0.08));
        color: var(--rooster-holiday-text, #842029);
        border-color: var(--rooster-holiday-border, rgba(220, 53, 69, 0.28));
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--vacation {
        background: rgba(102, 126, 234, 0.14);
        color: var(--primary-purple, #667eea);
        border-color: rgba(102, 126, 234, 0.35);
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--sick {
        background: var(--danger-light, #f8d7da);
        color: var(--danger-text, #842029);
        border-color: var(--danger, #dc3545);
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--course {
        background: rgba(13, 110, 253, 0.10);
        color: var(--primary-blue, #0d6efd);
        border-color: rgba(13, 110, 253, 0.35);
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--manual {
        background: rgba(245, 158, 11, 0.18);
        color: #8a4b00;
        border-color: rgba(245, 158, 11, 0.42);
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-shift--morning::before {
        background: var(--success, #198754);
        border-color: var(--success, #198754);
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-shift--afternoon::before {
        background: var(--warning, #ffc107);
        border-color: var(--warning, #ffc107);
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-shift--night::before {
        background: var(--info, #0dcaf0);
        border-color: var(--info, #0dcaf0);
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-holiday::before {
        background: var(--rooster-holiday-accent, #dc3545);
        border-color: var(--rooster-holiday-accent, #dc3545);
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--vacation::before {
        background: var(--primary-purple, #667eea);
        border-color: var(--primary-purple, #667eea);
      }

      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--sick::before {
        background: var(--danger, #dc3545);
        border-color: var(--danger, #dc3545);
      }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--course::before {
        background: var(--primary-blue, #0d6efd);
        border-color: var(--primary-blue, #0d6efd);
      }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--manual::before {
        background: #f59e0b;
        border-color: #f59e0b;
      }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-period-header {
      min-width: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-occupancy-label {
      font-size: 12px;
      font-weight: 700;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-occupancy-row--day td,
    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-occupancy-row--day th.rooster-occupancy-label {
      background: rgba(25, 135, 84, 0.12);
      color: #0f5132;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-occupancy-row--evening td,
    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-occupancy-row--evening th.rooster-occupancy-label {
      background: rgba(255, 193, 7, 0.18);
      color: #7a5600;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-occupancy-row--night td,
    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-occupancy-row--night th.rooster-occupancy-label {
      background: rgba(13, 202, 240, 0.15);
      color: #055160;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-toolbar-row {
      overflow-x: auto;
      overflow-y: visible;
      padding-bottom: 2px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-row--top {
      padding-bottom: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-effective-display {
      min-height: calc(1.5em + 0.75rem + 2px);
      padding: 0.375rem 0;
      display: flex;
      align-items: center;
      color: #495057;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-scope-readonly {
      min-height: calc(1.5em + 0.75rem + 2px);
      border: 1px solid #ced4da;
      border-radius: 0.375rem;
      background: #f8f9fa;
      padding: 0.375rem 0.75rem;
      display: flex;
      align-items: center;
      color: #212529;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-view-tabs {
      display: inline-flex;
      align-items: flex-end;
      gap: 6px;
      flex-wrap: nowrap;
      border-bottom: 1px solid #ced4da;
      padding-top: 4px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-view-tab {
      border: 1px solid #ced4da;
      border-bottom: none;
      background: #f5f7fb;
      color: #495057;
      border-radius: 14px 14px 0 0;
      padding: 10px 18px;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: -1px;
      transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-view-tab:hover,
    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-view-tab:focus {
      background: #edf3ff;
      color: #0d3f99;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-view-tab.is-active {
      background: #ffffff;
      border-color: #0d6efd;
      color: #0d6efd;
      box-shadow: 0 -2px 0 rgba(13, 110, 253, 0.12);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px 18px;
      flex-wrap: wrap;
      padding: 4px 0 10px;
      border-bottom: 1px solid rgba(13, 110, 253, 0.14);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-summary-identity {
      min-width: 240px;
      flex: 1 1 280px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-summary-title-row {
      display: flex;
      align-items: baseline;
      gap: 8px 12px;
      flex-wrap: wrap;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-summary-subtitle {
      font-size: 14px;
      line-height: 1.3;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-summary-eyebrow {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #0d6efd;
      margin-bottom: 4px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-summary-meta {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px 12px;
      flex-wrap: wrap;
      flex: 999 1 320px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-summary-item {
      display: inline-flex;
      align-items: baseline;
      gap: 6px;
      padding: 2px 0;
      white-space: nowrap;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-summary-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #6c757d;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-summary-value {
      font-size: 14px;
      font-weight: 700;
      color: #212529;
    }

    @media (max-width: 991.98px) {
      .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-summary-meta {
        justify-content: flex-start;
      }
    }

    .inline-style-scope--organisatie-dienstrooster .rooster > *,
    .inline-style-scope--organisatie-dienstrooster .rooster .row,
    .inline-style-scope--organisatie-dienstrooster .rooster .row > [class*="col-"] {
      min-width: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .table-responsive.nc-scroll-panel.nc-admin-table-shell {
      width: 100%;
      max-width: 100%;
      overflow-x: auto;
      overflow-y: auto;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-table {
      width: max-content;
      min-width: 100%;
      margin-bottom: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-table th.rooster-col-employee {
      position: sticky;
      left: 0;
      z-index: 6;
      background: var(--bg-section, #f8f9fa);
      min-width: 190px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-table tbody th.rooster-col-employee {
      z-index: 4;
      background: #fff;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-table th.rooster-col-hours,
    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-table td.rooster-col-hours {
      position: sticky;
      right: 0;
      z-index: 5;
      background: #fff;
      min-width: 78px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-table thead th.rooster-col-hours {
      z-index: 7;
      background: var(--bg-section, #f8f9fa);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-cell {
      cursor: pointer;
      min-width: 92px;
      vertical-align: top;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-table--month .rooster-cell {
      min-width: 69px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-cell-content {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-height: 28px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-empty {
      color: #6c757d;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill {
      display: inline-flex;
      align-self: flex-start;
      align-items: flex-start;
      justify-content: flex-start;
      flex-direction: column;
      max-width: 100%;
      gap: 1px;
      border-radius: 6px;
      border: 1px solid #d9dfe6;
      padding: 3px 5px;
      font-size: 12px;
      line-height: 1.3;
      background: #f8f9fb;
      color: #2f3640;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-label {
      display: inline-block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-weight: 700;
      max-width: 100%;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-toggle {
      border: 0;
      background: transparent;
      color: #0d6efd;
      text-align: left;
      padding: 0;
      font-size: 11px;
      line-height: 1.2;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-shift--morning {
      background: var(--success-light, #d1e7dd);
      color: var(--success-text, #0f5132);
      border-color: var(--success-border, #badbcc);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-shift--afternoon {
      background: var(--warning-light, #fff3cd);
      color: var(--warning-text, #000);
      border-color: var(--warning, #ffc107);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-shift--night {
      background: var(--info-light, #e7f3ff);
      color: var(--info-text, #004085);
      border-color: var(--info-border, #b3d9ff);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-special--vacation {
      background: rgba(102, 126, 234, 0.14);
      color: var(--primary-purple, #667eea);
      border-color: rgba(102, 126, 234, 0.35);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-special--sick {
      background: var(--danger-light, #f8d7da);
      color: var(--danger-text, #842029);
      border-color: var(--danger, #dc3545);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-special--course {
      background: rgba(13, 110, 253, 0.10);
      color: var(--primary-blue, #0d6efd);
      border-color: rgba(13, 110, 253, 0.35);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-special--other {
      background: var(--bg-section, #f8f9fa);
      color: var(--text-secondary, #495057);
      border-color: var(--border-medium, #dee2e6);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-special--manual {
      background: rgba(245, 158, 11, 0.18);
      color: #8a4b00;
      border-color: rgba(245, 158, 11, 0.42);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster.rooster-stamp-active .rooster-cell {
      cursor: crosshair !important;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .stamp-sidebar {
      border: 1px solid #e3e6ea;
      background: #f8f9fb;
      border-radius: 8px;
      padding: 12px;
      max-width: 260px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .stamp-list {
      max-height: 420px;
      overflow-y: auto;
      padding-right: 4px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .stamp-item {
      display: block;
      width: 100%;
      text-align: left;
      border: 1px solid #e3e6ea;
      background: #ffffff;
      padding: 8px 10px;
      border-radius: 8px;
      margin-bottom: 8px;
    }

      .inline-style-scope--organisatie-dienstrooster .rooster .stamp-item.is-selected {
        border-color: var(--primary, #0d6efd);
        box-shadow: 0 0 0 1px var(--primary, #0d6efd);
        background: #eef5ff;
      }

    .inline-style-scope--organisatie-dienstrooster .rooster .stamp-code {
      font-weight: 600;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .stamp-diensttijden {
      font-size: 0.85rem;
      color: #6c757d;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee {
      display: flex;
      align-items: flex-start;
      min-width: 170px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-main {
      min-width: 0;
      width: 100%;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-header {
      min-width: 0;
      line-height: 1.15;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-job {
      font-weight: 400;
      font-size: 0.85rem;
      line-height: 1.15;
      margin-top: 1px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      line-height: 1.1;
      font-size: 0.72rem;
      margin-top: 1px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-employee-meta-id {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .contract-hours {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      font-weight: 600;
      font-size: 0.8rem;
      line-height: 1.1;
      padding: 2px 7px;
      border-radius: 6px;
      min-width: 58px;
      text-align: right;
      white-space: nowrap;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .contract-hours--week {
      background: #e7f5ea;
      color: #1b5e20;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .contract-hours--month {
      background: #e8f1ff;
      color: #0d47a1;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .contract-hours--other {
      background: #f3e5f5;
      color: #6a1b9a;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-selection-banner {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      align-items: center;
      gap: 0.75rem;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-selection-banner-count {
      display: block;
      grid-column: 1;
      min-width: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-selection-banner-actions {
      display: flex;
      grid-column: 2;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      flex-wrap: wrap;
      width: 100%;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-modal-dialog {
      margin-top: calc(var(--app-header-height) + 1rem);
      margin-bottom: 1rem;
    }

    .inline-style-scope--organisatie-dienstrooster .dienstrooster-field-invalid .form-control,
    .inline-style-scope--organisatie-dienstrooster .dienstrooster-field-invalid .form-select {
      border-color: #dc3545;
      box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
    }

    .inline-style-scope--organisatie-dienstrooster .dienstrooster-field-invalid .select2-container--bootstrap-5 .select2-selection {
      border-color: #dc3545;
      box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
    }

    .inline-style-scope--organisatie-dienstrooster .dienstrooster-bulk-apply-btn,
    .inline-style-scope--organisatie-dienstrooster .dienstrooster-bulk-apply-btn:hover,
    .inline-style-scope--organisatie-dienstrooster .dienstrooster-bulk-apply-btn:focus,
    .inline-style-scope--organisatie-dienstrooster .dienstrooster-bulk-apply-btn:active,
    .inline-style-scope--organisatie-dienstrooster .dienstrooster-bulk-apply-btn.active,
    .inline-style-scope--organisatie-dienstrooster .show > .dienstrooster-bulk-apply-btn.dropdown-toggle {
      color: #ffffff !important;
    }

/* NexusCareAdmin/systeem/customer_scope.aspx */
.inline-style-scope--systeem-customer_scope [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-console {
      background: linear-gradient(180deg, #f9fbfc 0%, #f4f7fb 100%);
      padding: 4px 0 0;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-header,
    .inline-style-scope--systeem-customer_scope .customer-scope-selector-header,
    .inline-style-scope--systeem-customer_scope .customer-scope-panel-header {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: flex-start;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-header {
      margin-bottom: 24px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-eyebrow,
    .inline-style-scope--systeem-customer_scope .customer-scope-section-label {
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #5c7086;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-lock,
    .inline-style-scope--systeem-customer_scope .customer-scope-stat-pill,
    .inline-style-scope--systeem-customer_scope .customer-scope-mini-pill,
    .inline-style-scope--systeem-customer_scope .customer-scope-source-pill {
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-weight: 600;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-lock {
      background: #ffffff;
      border: 1px solid #dbe7f3;
      padding: 12px 14px;
      min-width: 220px;
      flex-direction: column;
      align-items: flex-start;
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-lock-label {
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #5c7086;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-lock-value {
      color: #12344d;
      font-size: 16px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-selector,
    .inline-style-scope--systeem-customer_scope .customer-scope-panel {
      background: #ffffff;
      border: 1px solid #dbe7f3;
      border-radius: 20px;
      box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-selector {
      padding: 20px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-selector--top,
    .inline-style-scope--systeem-customer_scope .customer-scope-panel--rail {
      height: 100%;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-selector--top,
    .inline-style-scope--systeem-customer_scope .customer-scope-panel--navigator,
    .inline-style-scope--systeem-customer_scope .customer-scope-panel--console {
      max-height: clamp(420px, 72vh, 760px);
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-selector-header,
    .inline-style-scope--systeem-customer_scope .customer-scope-panel-header {
      margin-bottom: 16px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-selector-meta,
    .inline-style-scope--systeem-customer_scope .customer-scope-console-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: flex-end;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-panel-header-copy,
    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-section-copy {
      display: flex;
      flex-direction: column;
      gap: 6px;
      width: 100%;
      min-width: 0;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-panel-header-stat {
      align-self: flex-end;
      margin-top: 6px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-help-note,
    .inline-style-scope--systeem-customer_scope .customer-scope-empty-state,
    .inline-style-scope--systeem-customer_scope .customer-scope-loading-state {
      border: 1px dashed #c5d7ea;
      background: #f7fafc;
      border-radius: 16px;
      padding: 14px 16px;
      color: #506174;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-loading-state,
    .inline-style-scope--systeem-customer_scope .customer-scope-empty-state--large,
    .inline-style-scope--systeem-customer_scope .customer-scope-empty-state--workspace {
      text-align: center;
      padding: 36px 24px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-nav-warning,
    .inline-style-scope--systeem-customer_scope .customer-scope-draft-hint {
      border: 1px solid #f3c77a;
      background: #fff8ea;
      color: #8a5a00;
      border-radius: 14px;
      padding: 10px 12px;
      font-size: 13px;
      font-weight: 600;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-employee-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 12px;
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      padding-right: 4px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-employee-card,
    .inline-style-scope--systeem-customer_scope .customer-scope-department-nav {
      width: 100%;
      border: 1px solid #dbe7f3;
      background: #ffffff;
      border-radius: 16px;
      padding: 14px 16px;
      text-align: left;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-employee-card:hover,
    .inline-style-scope--systeem-customer_scope .customer-scope-employee-card:focus,
    .inline-style-scope--systeem-customer_scope .customer-scope-department-nav:hover,
    .inline-style-scope--systeem-customer_scope .customer-scope-department-nav:focus {
      border-color: #7ab1e6;
      box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
      outline: none;
      transform: translateY(-1px);
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-employee-card.is-active,
    .inline-style-scope--systeem-customer_scope .customer-scope-department-nav.is-active {
      border-color: #2563eb;
      background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
      box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16);
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-employee-topline,
    .inline-style-scope--systeem-customer_scope .customer-scope-department-nav-tags,
    .inline-style-scope--systeem-customer_scope .customer-scope-rail-meta {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-employee-name,
    .inline-style-scope--systeem-customer_scope .customer-scope-department-nav-name,
    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-name,
    .inline-style-scope--systeem-customer_scope .customer-scope-rail-value {
      font-weight: 700;
      color: #12344d;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-employee-meta,
    .inline-style-scope--systeem-customer_scope .customer-scope-department-nav-meta,
    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-meta,
    .inline-style-scope--systeem-customer_scope .customer-scope-rail-meta {
      margin-top: 6px;
      font-size: 13px;
      color: #5c7086;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-workspace-grid {
      display: grid;
      grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.4fr);
      gap: 20px;
      align-items: start;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-panel {
      padding: 20px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-scroll {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      padding-right: 4px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-panel--navigator .customer-scope-scroll {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-panel--navigator .customer-scope-panel-header {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-layout {
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex: 1 1 auto;
      min-height: 0;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-section {
      border: 1px solid #dbe7f3;
      border-radius: 16px;
      background: #f9fbfd;
      padding: 12px;
      display: flex;
      flex-direction: column;
      min-height: 0;
      gap: 10px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-section--current {
      flex: 1 1 auto;
      min-height: 220px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-section--available {
      flex: 0 0 clamp(180px, 28vh, 250px);
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-section-header {
      display: block;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-section-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      overflow-x: hidden;
      padding-right: 4px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-row {
      border: 1px solid #dbe7f3;
      border-radius: 14px;
      padding: 10px 12px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-areas:
        "name name"
        "footer action";
      gap: 8px;
      align-items: center;
      background: #ffffff;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-row.is-visible {
      border-color: #8bb6e8;
      background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-row.is-home {
      border-color: #5f6c7b;
      background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-row.is-dirty {
      box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.18);
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-footer {
      grid-area: footer;
      min-width: 0;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-tags {
      display: flex;
      flex-wrap: nowrap;
      gap: 6px;
      justify-content: flex-start;
      min-width: 0;
      overflow-x: auto;
      scrollbar-width: thin;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-action {
      grid-area: action;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      min-width: 0;
      width: auto;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-action-button {
      border: 1px solid transparent;
      border-radius: 999px;
      padding: 6px 11px;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.2;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
      white-space: nowrap;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-action-button:hover,
    .inline-style-scope--systeem-customer_scope .customer-scope-action-button:focus {
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
      outline: none;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-action-button--primary {
      background: #2563eb;
      border-color: #2563eb;
      color: #ffffff;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-action-button--danger {
      background: #fff1f2;
      border-color: #fecdd3;
      color: #be123c;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-inline-state {
      font-size: 12px;
      font-weight: 700;
      color: #5c7086;
      text-align: right;
      white-space: nowrap;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-rail-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-name {
      grid-area: name;
      line-height: 1.3;
      min-width: 0;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-assignment-name,
    .inline-style-scope--systeem-customer_scope .customer-scope-department-nav-name,
    .inline-style-scope--systeem-customer_scope .customer-scope-employee-name {
      overflow-wrap: anywhere;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-rail-card {
      border: 1px solid #dbe7f3;
      border-radius: 16px;
      padding: 16px;
      background: #f9fbfd;
      height: 100%;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-rail-card--warning {
      border-color: #f3c77a;
      background: #fff8ea;
      color: #7a5200;
      font-weight: 600;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-rail-card--dirty {
      border-color: #f3c77a;
      background: #fff8ea;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-rail-card--action {
      background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-rail-label {
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #5c7086;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-rule-list {
      margin: 0;
      padding-left: 18px;
      color: #506174;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-rule-list li + li {
      margin-top: 8px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-stat-pill,
    .inline-style-scope--systeem-customer_scope .customer-scope-mini-pill,
    .inline-style-scope--systeem-customer_scope .customer-scope-source-pill {
      border: 1px solid transparent;
      padding: 4px 10px;
      font-size: 12px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-stat-pill,
    .inline-style-scope--systeem-customer_scope .customer-scope-mini-pill {
      background: #eef5fb;
      color: #1d4f80;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-mini-pill--home,
    .inline-style-scope--systeem-customer_scope .customer-scope-source-pill--home {
      background: #eef2f6;
      color: #334155;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-stat-pill--dirty {
      background: #fff4d8;
      color: #8a5a00;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-source-pill--manual {
      background: #ecfdf3;
      color: #166534;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-source-pill--none {
      background: #f1f5f9;
      color: #64748b;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-source-pill--inherited {
      background: #f5f3ff;
      color: #6d28d9;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-source-pill--exception {
      background: #fff1f2;
      color: #be123c;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-source-pill--draft {
      background: #fff4d8;
      color: #8a5a00;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.42);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      z-index: 1200;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-modal {
      width: min(520px, 100%);
      background: #ffffff;
      border-radius: 20px;
      border: 1px solid #dbe7f3;
      box-shadow: 0 22px 46px rgba(15, 23, 42, 0.24);
      padding: 22px;
    }

    .inline-style-scope--systeem-customer_scope .customer-scope-modal-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 10px;
    }

    @media (max-width: 1399.98px) {
      .inline-style-scope--systeem-customer_scope .customer-scope-workspace-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 991.98px) {
      .inline-style-scope--systeem-customer_scope .customer-scope-rail-grid {
        grid-template-columns: 1fr;
      }

      .inline-style-scope--systeem-customer_scope .customer-scope-assignment-action {
        justify-content: flex-end;
      }

      .inline-style-scope--systeem-customer_scope .customer-scope-assignment-row {
        gap: 6px;
      }
    }

/* NexusCareAdmin/systeem/dienstcode_toeslag_audit.aspx */
.inline-style-scope--systeem-dienstcode_toeslag_audit [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-shell {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-shell__intro {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: flex-start;
      flex-wrap: wrap;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-kicker {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #64748b;
      margin-bottom: 6px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-intro-title {
      color: #0f172a;
      font-weight: 700;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-intro-copy {
      max-width: 880px;
      color: #475569;
      font-size: 14px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-date-card {
      min-width: 170px;
      padding: 12px 14px;
      border: 1px solid #dbe3ef;
      border-radius: 12px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
      display: flex;
      flex-direction: column;
      gap: 4px;
      text-align: right;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-date-card__label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #64748b;
      font-weight: 700;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-date-card__value {
      font-size: 18px;
      font-weight: 700;
      color: #0f172a;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-notice {
      margin-bottom: 0;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-toolbar__meta {
      display: flex;
      gap: 10px;
      justify-content: flex-start;
      align-items: center;
      min-height: 38px;
      font-size: 13px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-toolbar__meta--stack {
      justify-content: flex-end;
      margin-bottom: 8px;
      flex-wrap: wrap;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-toolbar__actions {
      display: flex;
      justify-content: flex-end;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-toolbar__divider {
      color: #cbd5e1;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-metric-card {
      height: 100%;
      border: 1px solid #dbe3ef;
      border-radius: 14px;
      background: #ffffff;
      padding: 18px;
      box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-metric-card__label {
      color: #64748b;
      font-size: 13px;
      margin-bottom: 8px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-metric-card__value {
      font-size: 34px;
      line-height: 1;
      font-weight: 700;
      color: #0f172a;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-metric-card--success .audit-metric-card__value {
      color: #0f9d73;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-metric-card--warning .audit-metric-card__value {
      color: #d97706;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-metric-card--accent .audit-metric-card__value {
      color: #1d4ed8;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-panel,
    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table-panel {
      border: 1px solid #dbe3ef;
      border-radius: 14px;
      background: #ffffff;
      box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
      padding: 18px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-panel__header,
    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table-panel__header {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
      margin-bottom: 14px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-panel__count {
      min-width: 36px;
      height: 36px;
      padding: 0 10px;
      border-radius: 999px;
      background: #eef2ff;
      color: #1d4ed8;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-chip-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-step-list {
      margin: 0;
      padding-left: 18px;
      color: #334155;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-step-list__item {
      line-height: 1.5;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-chip-card {
      min-width: 160px;
      max-width: 100%;
      padding: 10px 12px;
      border-radius: 12px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-chip-card--rule {
      background: #fffaf0;
      border-color: #f6d7a6;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-chip-card__title {
      font-size: 13px;
      font-weight: 700;
      color: #0f172a;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-chip-card__meta {
      font-size: 12px;
      color: #475569;
      margin-top: 4px;
      word-break: break-word;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table-wrap {
      overflow-x: auto;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table {
      min-width: 1560px;
      margin-bottom: 0;
    }

      .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table thead th {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #f8fafc;
        color: #334155;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        border-bottom-width: 1px;
      }

      .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table td {
        vertical-align: top;
      }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table__dienstcode {
      min-width: 140px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table__cell,
    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table__conclusion {
      white-space: normal;
      line-height: 1.45;
      color: #334155;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table__selection {
      min-width: 360px;
      white-space: pre-line;
      line-height: 1.45;
      color: #334155;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-table {
      min-width: 1180px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table__matrix-code {
      min-width: 130px;
      white-space: normal;
      font-family: Consolas, "Courier New", monospace;
      color: #0f172a;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-code-entry + .audit-matrix-code-entry {
      margin-top: 8px;
      padding-top: 8px;
      border-top: 1px dashed #dbe3ef;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-code-entry__value {
      font-weight: 700;
      line-height: 1.25;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-code-entry__time {
      margin-top: 2px;
      font-size: 11px;
      line-height: 1.35;
      color: #64748b;
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-table__actions {
      min-width: 72px;
      white-space: nowrap;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-toggle {
      width: 34px;
      height: 34px;
      border: 1px solid #dbe3ef;
      border-radius: 10px;
      background: #ffffff;
      color: #475569;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-toggle:hover,
    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-toggle:focus-visible {
      color: #1d4ed8;
      border-color: #bfdbfe;
      background: #eff6ff;
      outline: none;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-toggle__icon {
      width: 16px;
      height: 16px;
      transition: transform 0.2s ease;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-toggle__icon.is-expanded {
      transform: rotate(180deg);
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-detail-row td {
      background: #f8fbff;
      border-top: 0;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-detail {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-detail__header {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
      flex-wrap: wrap;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-detail__intro {
      font-size: 13px;
      color: #475569;
      max-width: 840px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-detail-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 12px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-detail-card {
      border: 1px solid #dbe3ef;
      border-radius: 12px;
      background: #ffffff;
      padding: 12px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-detail-card__header {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: flex-start;
      margin-bottom: 8px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-detail-card__label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #475569;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-detail-card__code {
      font-family: Consolas, "Courier New", monospace;
      font-size: 12px;
      font-weight: 700;
      color: #0f172a;
      text-align: right;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-detail-card__text {
      white-space: pre-line;
      color: #334155;
      line-height: 1.5;
      font-size: 13px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table__missing {
      min-width: 120px;
      font-weight: 600;
    }

      .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table__missing.is-missing {
        color: #b45309;
      }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-table__missing.is-clear {
        color: #64748b;
      }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-compare-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 16px;
      align-items: end;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-toolbar__actions--wrap {
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-compare-file {
      margin-top: 10px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-compare-summary {
      margin-top: 16px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-compare-rebuild {
      margin-top: 16px;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: flex-start;
      border: 1px dashed #d7dee9;
      border-radius: 14px;
      padding: 16px;
      background: linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-compare-metrics {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 12px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-compare-metric {
      border: 1px solid #dbe3ef;
      border-radius: 12px;
      padding: 12px 14px;
      background: #f8fbff;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-compare-metric--warning {
      background: #fff7ed;
      border-color: #fed7aa;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-compare-metric__label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #64748b;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-compare-metric__value {
      font-size: 24px;
      font-weight: 700;
      color: #0f172a;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-note-list {
      margin: 0;
      padding-left: 18px;
      color: #475569;
      font-size: 13px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-gap-table__issues {
      min-width: 320px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-gap-issue + .audit-gap-issue {
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px dashed #dbe3ef;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-gap-issue__header {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      margin-bottom: 4px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-gap-issue__context {
      font-weight: 700;
      color: #0f172a;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-gap-issue__kind {
      font-size: 12px;
      font-weight: 700;
      color: #b45309;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-gap-issue__values {
      display: flex;
      flex-direction: column;
      gap: 2px;
      color: #475569;
      font-size: 13px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 1200;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(15, 23, 42, 0.48);
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-modal {
      width: min(560px, 100%);
      border-radius: 18px;
      background: #ffffff;
      border: 1px solid rgba(148, 163, 184, 0.32);
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
      overflow: hidden;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-modal__header,
    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-modal__body,
    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-modal__footer {
      padding: 18px 20px;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-modal__body {
      display: flex;
      flex-direction: column;
      gap: 12px;
      border-top: 1px solid #e5edf6;
      border-bottom: 1px solid #e5edf6;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-modal__meta {
      font-size: 12px;
      color: #64748b;
      word-break: break-word;
    }

    .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-modal__footer {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
    }

    @media (max-width: 991.98px) {
      .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-date-card {
        text-align: left;
        min-width: 0;
        width: 100%;
      }

      .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-toolbar__meta {
        justify-content: flex-start;
      }

      .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-compare-grid {
        grid-template-columns: 1fr;
      }

      .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-compare-rebuild {
        flex-direction: column;
      }

      .inline-style-scope--systeem-dienstcode_toeslag_audit .audit-toolbar__actions--wrap {
        justify-content: flex-start;
      }
    }

/* NexusCareAdmin/main/Default.aspx */
.inline-style-scope--main-default .action-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
      border: 1px solid rgba(0,0,0,0.08);
      box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    }

      .inline-style-scope--main-default .action-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-color: rgba(13, 110, 253, 0.3);
      }

      .inline-style-scope--main-default .action-card .card-body {
        padding: 1.5rem 1rem;
      }

      .inline-style-scope--main-default .action-card .card-title {
        margin-bottom: 0.25rem;
        font-weight: 600;
      }

      .inline-style-scope--main-default .action-card .card-text {
        font-size: 0.85rem;
      }

    .inline-style-scope--main-default .dashboard-nav-card {
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

      .inline-style-scope--main-default .dashboard-nav-card:focus {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
      }

    .inline-style-scope--main-default .dashboard-nav-card--attention {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(15, 23, 42, 0.08);
      box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    }

      .inline-style-scope--main-default .dashboard-nav-card--attention:hover {
        transform: translateY(-3px);
      }

      .inline-style-scope--main-default .dashboard-nav-card--attention .box-body {
        padding-top: 1rem;
      }

      .inline-style-scope--main-default .dashboard-nav-card--attention::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
      }

    .inline-style-scope--main-default .dashboard-nav-card--danger {
      background: linear-gradient(180deg, rgba(220, 53, 69, 0.08) 0%, rgba(255, 255, 255, 1) 34%);
      border-color: rgba(220, 53, 69, 0.24);
    }

      .inline-style-scope--main-default .dashboard-nav-card--danger::before {
        background: #dc3545;
      }

    .inline-style-scope--main-default .dashboard-nav-card--warning {
      background: linear-gradient(180deg, rgba(255, 193, 7, 0.12) 0%, rgba(255, 255, 255, 1) 34%);
      border-color: rgba(255, 193, 7, 0.3);
    }

      .inline-style-scope--main-default .dashboard-nav-card--warning::before {
        background: #ffc107;
      }

    .inline-style-scope--main-default .dashboard-nav-card-label {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 26px;
      padding: 0.2rem 0.7rem;
      margin-bottom: 0.85rem;
      border-radius: 999px;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      background: rgba(15, 23, 42, 0.08);
      color: #334155;
    }

    .inline-style-scope--main-default .dashboard-nav-card--danger .dashboard-nav-card-label {
      background: rgba(220, 53, 69, 0.16);
      color: #b42318;
    }

    .inline-style-scope--main-default .dashboard-nav-card--warning .dashboard-nav-card-label {
      background: rgba(255, 193, 7, 0.22);
      color: #8a6116;
    }

/* NexusCareAdmin/systeem/dienstcodes_import.aspx */
.inline-style-scope--systeem-dienstcodes_import .import-dropzone {
      border: 2px dashed #cbd5f5;
      border-radius: 10px;
      padding: 16px;
      background: #f8fafc;
      transition: border-color 0.2s ease, background 0.2s ease;
    }

    .inline-style-scope--systeem-dienstcodes_import .import-dropzone input[type="file"] {
      background: #ffffff;
    }

    .inline-style-scope--systeem-dienstcodes_import .import-dropzone-text {
      font-size: 12px;
      color: #64748b;
      margin-top: 8px;
    }

    .inline-style-scope--systeem-dienstcodes_import .import-dropzone.is-dragging {
      border-color: #2563eb;
      background: #eff6ff;
    }

    .inline-style-scope--systeem-dienstcodes_import .import-dropzone.has-file {
      border-color: #16a34a;
      background: #f0fdf4;
    }

/* NexusCareAdmin/organisatie/dienstroosterview.aspx */
body.inline-style-scope--organisatie-dienstroosterview {
      color-scheme: light;
      --page-bg: #f4f6f8;
      --card-bg: #ffffff;
      --card-border: #d6dde5;
      --card-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
      --text-main: #14213d;
      --text-muted: #5c6b7a;
      --accent: #0077b6;
      --accent-soft: #dff2fb;
      --success-soft: #e7f7ec;
      --warning-soft: #fff4db;
      --danger-soft: #fde8e8;
      --holiday-bg: #fff6d9;
      --weekend-bg: #f9fbfd;
      --table-border: #dfe5eb;
    }

    .inline-style-scope--organisatie-dienstroosterview * {
      box-sizing: border-box;
    }

    body.inline-style-scope--organisatie-dienstroosterview {
      margin: 0;
      font-family: "Segoe UI", Tahoma, Arial, sans-serif;
      background: linear-gradient(180deg, #f8fafc 0%, var(--page-bg) 45%, #edf2f7 100%);
      color: var(--text-main);
    }

    .inline-style-scope--organisatie-dienstroosterview .page-shell {
      max-width: 1600px;
      margin: 0 auto;
      padding: 24px;
    }

    .inline-style-scope--organisatie-dienstroosterview .page-header {
      margin-bottom: 20px;
    }

    .inline-style-scope--organisatie-dienstroosterview .page-title {
      margin: 0;
      font-size: 30px;
      font-weight: 700;
      letter-spacing: 0.01em;
    }

    .inline-style-scope--organisatie-dienstroosterview .page-subtitle {
      margin: 8px 0 0;
      color: var(--text-muted);
      font-size: 15px;
    }

    .inline-style-scope--organisatie-dienstroosterview .card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 18px;
      box-shadow: var(--card-shadow);
      overflow: hidden;
    }

    .inline-style-scope--organisatie-dienstroosterview .toolbar {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      padding: 20px;
      border-bottom: 1px solid var(--card-border);
      background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    }

    .inline-style-scope--organisatie-dienstroosterview .field {
      display: flex;
      flex-direction: column;
      gap: 8px;
      min-width: 0;
    }

    .inline-style-scope--organisatie-dienstroosterview .field--actions {
      justify-content: flex-end;
    }

    .inline-style-scope--organisatie-dienstroosterview .field-label {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .inline-style-scope--organisatie-dienstroosterview .field-value,
    .inline-style-scope--organisatie-dienstroosterview .field select,
    .inline-style-scope--organisatie-dienstroosterview .field input,
    .inline-style-scope--organisatie-dienstroosterview .field button {
      width: 100%;
      min-height: 44px;
      border-radius: 12px;
      border: 1px solid #c9d3dd;
      background: #ffffff;
      color: var(--text-main);
      font-size: 15px;
      padding: 10px 12px;
    }

    .inline-style-scope--organisatie-dienstroosterview .field-value {
      display: flex;
      align-items: center;
      background: #f8fbfd;
    }

    .inline-style-scope--organisatie-dienstroosterview .field button {
      cursor: pointer;
      border-color: var(--accent);
      background: var(--accent);
      color: #ffffff;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-dienstroosterview .summary {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      padding: 16px 20px 0;
    }

    .inline-style-scope--organisatie-dienstroosterview .summary-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      border-radius: 999px;
      background: var(--accent-soft);
      color: #0c4f74;
      font-size: 14px;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-dienstroosterview .summary-pill--neutral {
      background: #eef3f7;
      color: var(--text-muted);
    }

    .inline-style-scope--organisatie-dienstroosterview .status {
      margin: 16px 20px 0;
      padding: 14px 16px;
      border-radius: 14px;
      font-size: 14px;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-dienstroosterview .status--info {
      background: var(--accent-soft);
      color: #0c4f74;
    }

    .inline-style-scope--organisatie-dienstroosterview .status--success {
      background: var(--success-soft);
      color: #13653f;
    }

    .inline-style-scope--organisatie-dienstroosterview .status--warning {
      background: var(--warning-soft);
      color: #8a5a00;
    }

    .inline-style-scope--organisatie-dienstroosterview .status--danger {
      background: var(--danger-soft);
      color: #8a1c1c;
    }

    .inline-style-scope--organisatie-dienstroosterview .grid-wrap {
      padding: 20px;
    }

    .inline-style-scope--organisatie-dienstroosterview .grid-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }

    .inline-style-scope--organisatie-dienstroosterview .grid-title {
      margin: 0;
      font-size: 24px;
      font-weight: 700;
    }

    .inline-style-scope--organisatie-dienstroosterview .empty-state {
      padding: 40px 20px 24px;
      text-align: center;
      color: var(--text-muted);
      font-size: 15px;
    }

    .inline-style-scope--organisatie-dienstroosterview .table-shell {
      border: 1px solid var(--table-border);
      border-radius: 16px;
      overflow: auto;
      background: #ffffff;
    }

    .inline-style-scope--organisatie-dienstroosterview table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      min-width: 920px;
    }

    .inline-style-scope--organisatie-dienstroosterview th,
    .inline-style-scope--organisatie-dienstroosterview td {
      padding: 10px 12px;
      border-right: 1px solid var(--table-border);
      border-bottom: 1px solid var(--table-border);
      vertical-align: top;
      font-size: 14px;
    }

    .inline-style-scope--organisatie-dienstroosterview thead th {
      position: sticky;
      top: 0;
      z-index: 2;
      background: #f7fafc;
      text-align: center;
      font-weight: 700;
    }

    .inline-style-scope--organisatie-dienstroosterview thead th:first-child,
    .inline-style-scope--organisatie-dienstroosterview tbody th {
      position: sticky;
      left: 0;
      z-index: 1;
      background: #fbfdff;
    }

    .inline-style-scope--organisatie-dienstroosterview thead th:first-child {
      z-index: 3;
    }

    .inline-style-scope--organisatie-dienstroosterview tbody th {
      text-align: left;
      min-width: 240px;
      max-width: 240px;
    }

    .inline-style-scope--organisatie-dienstroosterview tr:last-child td,
    .inline-style-scope--organisatie-dienstroosterview tr:last-child th {
      border-bottom: 0;
    }

    .inline-style-scope--organisatie-dienstroosterview th:last-child,
    .inline-style-scope--organisatie-dienstroosterview td:last-child {
      border-right: 0;
    }

    .inline-style-scope--organisatie-dienstroosterview .day-cell--weekend {
      background: var(--weekend-bg);
    }

    .inline-style-scope--organisatie-dienstroosterview .day-cell--holiday {
      background: var(--holiday-bg);
    }

    .inline-style-scope--organisatie-dienstroosterview .employee-name {
      font-size: 14px;
      font-weight: 700;
    }

    .inline-style-scope--organisatie-dienstroosterview .employee-meta {
      margin-top: 4px;
      color: var(--text-muted);
      font-size: 12px;
      line-height: 1.4;
    }

    .inline-style-scope--organisatie-dienstroosterview .cell-entry {
      display: block;
      padding: 6px 8px;
      border-radius: 10px;
      background: #eff5fa;
      margin-bottom: 6px;
      line-height: 1.3;
    }

    .inline-style-scope--organisatie-dienstroosterview .cell-entry:last-child {
      margin-bottom: 0;
    }

    .inline-style-scope--organisatie-dienstroosterview .cell-entry-code {
      font-weight: 700;
    }

    .inline-style-scope--organisatie-dienstroosterview .cell-entry-time {
      display: block;
      margin-top: 2px;
      color: var(--text-muted);
      font-size: 12px;
    }

    .inline-style-scope--organisatie-dienstroosterview .cell-empty {
      color: #a0adba;
      font-style: italic;
    }

    .inline-style-scope--organisatie-dienstroosterview .hours-cell {
      text-align: right;
      white-space: nowrap;
      font-weight: 700;
    }

    .inline-style-scope--organisatie-dienstroosterview .hidden {
      display: none;
    }

    @media (max-width: 1100px) {
      .inline-style-scope--organisatie-dienstroosterview .toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 720px) {
      .inline-style-scope--organisatie-dienstroosterview .page-shell {
        padding: 16px;
      }

      .inline-style-scope--organisatie-dienstroosterview .toolbar {
        grid-template-columns: 1fr;
      }

      .inline-style-scope--organisatie-dienstroosterview .grid-meta {
        flex-direction: column;
        align-items: flex-start;
      }

      .inline-style-scope--organisatie-dienstroosterview tbody th {
        min-width: 180px;
        max-width: 180px;
      }
    }

/* NexusCareAdmin/organisatie/functies.aspx */
.inline-style-scope--organisatie-functies [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--organisatie-functies .functie-list {
      border: 1px solid #e3e7ed;
      border-radius: 12px;
      padding: 6px;
      max-height: 520px;
      overflow-y: auto;
      background: #ffffff;
    }

    .inline-style-scope--organisatie-functies .functie-item {
      padding: 10px 12px;
      border-radius: 8px;
      cursor: pointer;
    }

    .inline-style-scope--organisatie-functies .functie-item:hover {
      background: #f1f5f9;
    }

    .inline-style-scope--organisatie-functies .functie-item.active {
      background: #e0e7ff;
    }

    .inline-style-scope--organisatie-functies .security-panel {
      max-height: 260px;
      overflow: auto;
      background: #ffffff;
    }

/* NexusCareAdmin/organisatie/medewerkers_beheer.aspx */
.inline-style-scope--organisatie-medewerkers_beheer [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-maintenance-grid {
      align-items: flex-start;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-control-bar,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-list-panel,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-shell {
      border: 1px solid #e3e7ed;
      border-radius: 18px;
      background: #ffffff;
      box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-control-bar {
      margin-bottom: 20px;
      padding: 16px 18px;
      background: #ffffff;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-control-bar-bottom {
      align-items: stretch;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-control-field {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-control-field .form-label {
      margin-bottom: 0;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-control-field--dropdown {
      min-width: 0;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-eyebrow {
      display: inline-flex;
      align-items: center;
      margin-bottom: 10px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #0891b2;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-title {
      color: #164e63;
      font-weight: 700;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-copy,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-section-copy,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-form-section-copy {
      color: #5f6b7a;
      font-size: 13px;
      line-height: 1.55;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-search-input {
      min-height: 44px;
      border-radius: 12px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-rail-section-header,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-list-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 12px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-section-title,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-form-section-title {
      margin: 0 0 4px;
      font-size: 15px;
      font-weight: 700;
      color: #16324f;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-dropdown,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-trigger {
      width: 100%;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-dropdown {
      position: relative;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-trigger {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      min-height: 44px;
      padding: 10px 14px;
      border: 1px solid #d9e5ef;
      border-radius: 16px;
      background: #ffffff;
      color: #16324f;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-trigger:hover,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-trigger:focus {
      border-color: #9fd5e4;
      color: #16324f;
      background: #f8fbfd;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-trigger.show {
      border-color: #0891b2;
      box-shadow: 0 0 0 0.2rem rgba(8, 145, 178, 0.12);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-trigger::after {
      display: inline-block;
      margin-left: auto;
      vertical-align: 0.15em;
      content: "";
      border-top: 0.35em solid;
      border-right: 0.35em solid transparent;
      border-bottom: 0;
      border-left: 0.35em solid transparent;
      transition: transform 0.18s ease;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-trigger.show::after {
      transform: rotate(180deg);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-trigger-icon {
      width: 16px;
      height: 16px;
      color: #0891b2;
      flex: 0 0 auto;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-trigger-label {
      flex: 1 1 auto;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-align: left;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      z-index: 1050;
      width: min(420px, calc(100vw - 48px));
      padding: 12px;
      background: #ffffff;
      border: 1px solid #d9e5ef;
      border-radius: 16px;
      box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-menu-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      padding: 4px 4px 10px;
      margin-bottom: 8px;
      border-bottom: 1px solid #edf2f7;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-menu-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-option {
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 40px;
      padding: 10px 12px;
      border: 1px solid #e3e7ed;
      border-radius: 12px;
      color: #16324f;
      white-space: normal;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-option:hover,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-option:focus {
      color: #16324f;
      background: #f5fbfd;
      border-color: #b9ddea;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-option.active {
      color: #ffffff;
      background: var(--app-primary);
      border-color: var(--app-primary);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-option.active:hover,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-option.active:focus {
      background: var(--app-primary-hover);
      border-color: var(--app-primary-hover);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-option.active .nc-filter-chip-indicator {
      background: rgba(255, 255, 255, 0.95);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-list-panel {
      position: sticky;
      top: 20px;
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      display: grid;
      gap: 12px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-list {
      border: 1px solid #e3e7ed;
      border-radius: 14px;
      max-height: calc(100vh - 230px);
      min-height: 540px;
      overflow-y: auto;
      background: #ffffff;
      scrollbar-gutter: stable;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-section-copy--compact {
      max-width: 26ch;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-list-badges {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      align-items: center;
      gap: 8px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-list-count {
      align-self: center;
      border-radius: 999px;
      padding: 6px 10px;
      background: #ecfeff;
      color: #0f766e;
      font-weight: 700;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-list-filter-badge {
      background: #eff6ff;
      color: #1d4ed8;
      font-weight: 600;
      border-radius: 999px;
      padding: 6px 10px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-list-header {
      margin-bottom: 0;
      padding: 18px;
      border: 1px solid #e3e7ed;
      border-radius: 14px;
      border-bottom: 1px solid #e3e7ed;
      background: #ffffff;
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item {
      padding: 8px;
      border-bottom: 1px solid #e3e7ed;
      cursor: pointer;
      border-left: 3px solid transparent;
      transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item:hover {
      background: #f2f8fc;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item:last-child {
      border-bottom: none;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item.active {
      background: #eaf7fb;
      border-left-color: #0891b2;
      box-shadow: inset 0 0 0 1px rgba(8, 145, 178, 0.14);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item-name {
      font-weight: 600;
      color: #16324f;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item-id,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-item-subtitle {
      color: #5f6b7a;
      font-size: 13px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item-subtitle {
      color: #16324f;
      font-weight: 600;
      margin-top: 2px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item-subtitle-secondary {
      color: #6b7280;
      font-size: 12px;
      margin-top: 1px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 10px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item-chip {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 2px 10px;
      border-radius: 999px;
      background: #eef2f7;
      color: #475569;
      font-size: 12px;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-form .alert {
      margin-bottom: 0;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-shell {
      overflow: hidden;
      border-color: #dfe6ee;
      background: #ffffff;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
      padding: 24px 28px 20px;
      border-bottom: 1px solid #dfe6ee;
      background: #ffffff;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-badges {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-body {
      padding: 0 28px 28px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      background: #ffffff;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-empty {
      margin: 20px 0 0;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-form-section {
      margin-top: 4px;
      padding: 22px 22px 0;
      border: none;
      border-top: 1px solid #dfe6ee;
      border-radius: 14px;
      background: #ffffff;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-body > div[x-show="selectedEmployeeId"] {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-body > div[x-show="selectedEmployeeId"] .employee-form-section:first-child {
      border-top: none;
      padding-top: 0;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-form-section-header {
      margin-bottom: 16px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-user-summary,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-user-create {
      border: 1px solid #dce7f1;
      border-radius: 14px;
      padding: 16px 18px;
      background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-user-summary {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-user-summary-label {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #0f766e;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-user-summary-name {
      margin-top: 4px;
      font-size: 18px;
      font-weight: 700;
      color: #16324f;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-user-summary-copy {
      margin-top: 4px;
      color: #5f6b7a;
      font-size: 13px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-save-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 6px;
      padding: 20px 22px 0;
      border: none;
      border-top: 1px solid #dfe6ee;
      border-radius: 16px;
      background: transparent;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-status-message {
      flex: 1 1 280px;
      margin-bottom: 0;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .icon-only-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      padding: 0;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .department-picker-modal {
      position: fixed;
      inset: 0;
      z-index: 1070;
      align-items: center;
      justify-content: center;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .department-picker-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.45);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .department-picker-dialog {
      position: relative;
      width: min(720px, calc(100vw - 32px));
      max-height: calc(100vh - 48px);
      background: #ffffff;
      border-radius: 10px;
      box-shadow: 0 18px 48px rgba(15, 23, 42, 0.3);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      z-index: 1;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .department-picker-header {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 14px 16px;
      border-bottom: 1px solid #e3e7ed;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .department-picker-context {
      padding: 10px 16px 0;
      font-size: 12px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .department-picker-body {
      padding: 14px 16px 16px;
      overflow-y: auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 8px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .department-picker-item {
      border: 1px solid #d7dde6;
      background: #f8fafc;
      border-radius: 6px;
      padding: 8px 10px;
      text-align: left;
      cursor: pointer;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .department-picker-item:hover {
      background: #eef3fb;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .contract-table-wrapper {
      border: 1px solid #e3e7ed;
      border-radius: 8px;
      overflow: hidden;
      background: #ffffff;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .contract-table th {
      background: #f8fafc;
      white-space: nowrap;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .contract-table td {
      vertical-align: middle;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .contract-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.35);
      z-index: 1060;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .contract-modal {
      position: fixed;
      top: 50%;
      left: 50%;
      width: min(680px, calc(100vw - 32px));
      transform: translate(-50%, -50%);
      background: #ffffff;
      border-radius: 10px;
      box-shadow: 0 20px 40px rgba(15, 23, 42, 0.28);
      z-index: 1065;
      display: flex;
      flex-direction: column;
      max-height: calc(100vh - 32px);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .contract-modal-header {
      padding: 16px 20px;
      border-bottom: 1px solid #e3e7ed;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .contract-modal-body {
      padding: 16px 20px;
      overflow-y: auto;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .contract-modal-footer {
      padding: 14px 20px;
      border-top: 1px solid #e3e7ed;
      display: flex;
      justify-content: flex-end;
      gap: 8px;
    }

    @media (max-width: 1199.98px) {
      .inline-style-scope--organisatie-medewerkers_beheer .employee-list-panel {
        position: static;
      }
    }

    @media (max-width: 767.98px) {
      .inline-style-scope--organisatie-medewerkers_beheer .employee-control-bar,
      .inline-style-scope--organisatie-medewerkers_beheer .employee-list-panel,
      .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-header,
      .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-body,
      .inline-style-scope--organisatie-medewerkers_beheer .employee-save-bar {
        padding-left: 16px;
        padding-right: 16px;
      }

      .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-header,
      .inline-style-scope--organisatie-medewerkers_beheer .employee-save-bar,
      .inline-style-scope--organisatie-medewerkers_beheer .employee-rail-section-header,
      .inline-style-scope--organisatie-medewerkers_beheer .employee-list-header {
        flex-direction: column;
      }

      .inline-style-scope--organisatie-medewerkers_beheer .employee-filter-menu {
        width: min(100vw - 40px, 420px);
      }

      .inline-style-scope--organisatie-medewerkers_beheer .employee-form-section {
        padding: 20px 16px 0;
      }

      .inline-style-scope--organisatie-medewerkers_beheer .employee-list {
        min-height: 0;
        max-height: 420px;
      }

      .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-badges {
        justify-content: flex-start;
      }
    }

/* NexusCareAdmin/organisatie/medewerkers_hierarchie.aspx */
.inline-style-scope--organisatie-medewerkers_hierarchie .employee-hierarchy {
      min-height: 0;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-toolbar {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      flex-wrap: wrap;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-title {
      font-size: 16px;
      font-weight: 700;
      color: #0f172a;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-subtitle {
      font-size: 13px;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-toolbar-actions {
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-toolbar-actions .form-control {
      width: 260px;
      max-width: 100%;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-stats {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas.ochart-canvas {
      position: relative;
      overflow: hidden;
      border: 1px solid #dbe3ee;
      border-radius: 12px;
      background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
      cursor: grab;
      min-height: 480px;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas.ochart-canvas.panning {
      cursor: grabbing;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-viewport {
      position: absolute;
      top: 0;
      left: 0;
      transform-origin: top left;
      will-change: transform;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-lines {
      position: absolute;
      left: 0;
      top: 0;
      overflow: visible;
      pointer-events: none;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-node.hierarchy-node {
      position: absolute;
      width: 220px;
      min-height: 108px;
      border: 1px solid #dbe3ee;
      background: #ffffff;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
      padding: 10px 12px;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-node.hierarchy-node .ochart-node-title {
      font-size: 13px;
      font-weight: 700;
      color: #0f172a;
      line-height: 1.3;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-node.hierarchy-node .ochart-node-type {
      font-size: 12px;
      color: #334155;
      margin-top: 4px;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-node.hierarchy-node .ochart-node-meta {
      font-size: 12px;
      color: #64748b;
      margin-top: 2px;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-node.hierarchy-node .ochart-node-count {
      font-size: 12px;
      color: #475569;
      margin-top: 6px;
      white-space: pre-line;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-node.hierarchy-node.ghost {
      border-style: dashed;
      background: #f8fafc;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-node.hierarchy-node.cycle {
      border-color: #dc2626;
      box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.25);
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-tree-view {
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      background: #ffffff;
      max-height: calc(100vh - 300px);
      overflow: auto;
      padding: 8px;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-tree-row {
      display: flex;
      align-items: center;
      gap: 6px;
      min-height: 32px;
      border-bottom: 1px solid #f1f5f9;
      padding-top: 3px;
      padding-bottom: 3px;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-tree-row:last-child {
      border-bottom: 0;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-tree-row.ghost {
      color: #475569;
      background: #f8fafc;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-tree-row.cycle {
      background: #fef2f2;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-toggle {
      min-width: 22px;
      padding: 0;
      line-height: 1;
      text-decoration: none;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-tree-name {
      font-size: 13px;
      font-weight: 600;
      color: #0f172a;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-tree-meta {
      font-size: 12px;
      color: #64748b;
    }

/* NexusCareAdmin/systeem/geneesmiddelen.aspx */
.inline-style-scope--systeem-geneesmiddelen .medicine-list-panel,
    .inline-style-scope--systeem-geneesmiddelen .medicine-editor {
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      background: #fff;
    }

    .inline-style-scope--systeem-geneesmiddelen .medicine-list-panel {
      padding: 18px;
      min-height: 100%;
    }

    .inline-style-scope--systeem-geneesmiddelen .medicine-editor {
      display: grid;
      align-content: start;
      gap: 12px;
      padding: 16px;
      min-height: auto;
    }

    .inline-style-scope--systeem-geneesmiddelen .medicine-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-height: 680px;
      overflow-y: auto;
    }

    .inline-style-scope--systeem-geneesmiddelen .medicine-list-item {
      border: 1px solid #d8dee8;
      border-radius: 10px;
      padding: 12px 14px;
      cursor: pointer;
      transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    }

    .inline-style-scope--systeem-geneesmiddelen .medicine-list-item.active {
      border-color: #0d6efd;
      background: #f4f8ff;
      box-shadow: 0 8px 20px rgba(13, 110, 253, 0.12);
    }

    .inline-style-scope--systeem-geneesmiddelen .medicine-list-item__title {
      font-weight: 600;
      color: #11263c;
    }

    .inline-style-scope--systeem-geneesmiddelen .medicine-editor__header {
      margin-bottom: 0;
      padding: 14px 16px;
    }

    .inline-style-scope--systeem-geneesmiddelen .medicine-editor__status {
      margin-bottom: 0;
      padding: 10px 12px;
    }

    .inline-style-scope--systeem-geneesmiddelen .medicine-editor__form {
      display: grid;
      gap: 14px;
    }

    .inline-style-scope--systeem-geneesmiddelen .medicine-editor__audit {
      margin-bottom: 0;
    }

    .inline-style-scope--systeem-geneesmiddelen .medicine-editor__actions {
      margin-top: 4px;
      padding-top: 14px;
      border-top: 1px solid var(--app-border);
    }

    .inline-style-scope--systeem-geneesmiddelen .medicine-editor__primary-action {
      min-width: 192px;
      white-space: nowrap;
    }

    @media (max-width: 767.98px) {
      .inline-style-scope--systeem-geneesmiddelen .medicine-editor__actions {
        justify-content: stretch;
      }

      .inline-style-scope--systeem-geneesmiddelen .medicine-editor__actions .btn {
        flex: 1 1 100%;
      }

      .inline-style-scope--systeem-geneesmiddelen .medicine-editor__primary-action {
        min-width: 0;
      }
    }

/* NexusCareAdmin/organisatie/feestdagen.aspx */
.inline-style-scope--organisatie-feestdagen [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--organisatie-feestdagen .year-calendar-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 12px;
    }

    .inline-style-scope--organisatie-feestdagen .calendar-month {
      border: 1px solid #e3e7ed;
      border-radius: 12px;
      padding: 10px;
    }

    .inline-style-scope--organisatie-feestdagen .icon-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .inline-style-scope--organisatie-feestdagen .tooltip-btn {
      position: relative;
    }

    .inline-style-scope--organisatie-feestdagen .tooltip-btn::after {
      content: attr(data-tip);
      position: absolute;
      bottom: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%);
      background: #1f2937;
      color: #ffffff;
      font-size: 12px;
      line-height: 1;
      padding: 6px 8px;
      border-radius: 6px;
      white-space: nowrap;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
      z-index: 10;
      pointer-events: none;
    }

    .inline-style-scope--organisatie-feestdagen .tooltip-btn::before {
      content: "";
      position: absolute;
      bottom: calc(100% + 2px);
      left: 50%;
      transform: translateX(-50%);
      border-width: 6px 6px 0 6px;
      border-style: solid;
      border-color: #1f2937 transparent transparent transparent;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
      z-index: 10;
      pointer-events: none;
    }

    .inline-style-scope--organisatie-feestdagen .tooltip-btn:hover::after,
    .inline-style-scope--organisatie-feestdagen .tooltip-btn:focus-visible::after,
    .inline-style-scope--organisatie-feestdagen .tooltip-btn:hover::before,
    .inline-style-scope--organisatie-feestdagen .tooltip-btn:focus-visible::before {
      opacity: 1;
      visibility: visible;
      transform: translate(-50%, -2px);
    }

    .inline-style-scope--organisatie-feestdagen .calendar-month-header {
      font-weight: 700;
      text-transform: capitalize;
      margin-bottom: 8px;
    }

    .inline-style-scope--organisatie-feestdagen .calendar-weekdays {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 4px;
      margin-bottom: 6px;
    }

    .inline-style-scope--organisatie-feestdagen .calendar-weekday {
      font-size: 11px;
      font-weight: 700;
      color: #64748b;
      text-align: center;
    }

    .inline-style-scope--organisatie-feestdagen .calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 4px;
    }

    .inline-style-scope--organisatie-feestdagen .calendar-day {
      height: 28px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      line-height: 1;
      border: 1px solid transparent;
      user-select: none;
      cursor: pointer;
    }

    .inline-style-scope--organisatie-feestdagen .calendar-day:hover {
      border-color: #cbd5e1;
    }

    .inline-style-scope--organisatie-feestdagen .calendar-day--out {
      opacity: 0.35;
    }

    .inline-style-scope--organisatie-feestdagen .calendar-day--disabled {
      opacity: 0.2;
      cursor: default;
      pointer-events: none;
    }

    .inline-style-scope--organisatie-feestdagen .calendar-day--weekend {
      background: #e2e3e5;
      border-color: #d3d6da;
      color: #41464b;
    }

    .inline-style-scope--organisatie-feestdagen .calendar-day--holiday {
      background: rgba(220, 53, 69, 0.12);
      border-color: rgba(220, 53, 69, 0.28);
      color: #842029;
      font-weight: 700;
    }

/* NexusCareAdmin/systeem/klanten_import.aspx */
.inline-style-scope--systeem-klanten_import .import-dropzone {
      position: relative;
      border: 1px dashed #b6c2d2;
      border-radius: 10px;
      padding: 1.25rem;
      background: #f8fbff;
      transition: border-color 0.18s ease, background-color 0.18s ease;
    }

    .inline-style-scope--systeem-klanten_import .import-dropzone.is-dragging {
      border-color: #0d6efd;
      background: #eef5ff;
    }

    .inline-style-scope--systeem-klanten_import .import-dropzone.has-file {
      border-color: #198754;
      background: #f3fbf6;
    }

    .inline-style-scope--systeem-klanten_import .import-dropzone-text {
      margin-top: 0.75rem;
      color: #5b6676;
      font-size: 0.95rem;
    }

/* NexusCareAdmin/organisatie/ochart.aspx */
.inline-style-scope--organisatie-ochart [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--organisatie-ochart .ochart-root {
      min-height: 0;
    }

    .inline-style-scope--organisatie-ochart .ochart-toolbar {
      margin-bottom: 12px;
    }

    .inline-style-scope--organisatie-ochart .ochart-columns-view {
      margin-top: 12px;
      margin-bottom: 12px;
    }

    .inline-style-scope--organisatie-ochart .ochart-business-info {
      border: 1px solid #d7dde6;
      border-radius: 12px;
      background: #ffffff;
      margin-bottom: 12px;
    }

    .inline-style-scope--organisatie-ochart .ochart-business-info.missing-kostenplaats {
      border-color: #ef4444;
      box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
    }

    .inline-style-scope--organisatie-ochart .ochart-business-info.dimmed {
      opacity: 0.35;
    }

    .inline-style-scope--organisatie-ochart .ochart-business-info-content {
      padding: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }

    .inline-style-scope--organisatie-ochart .ochart-business-info-title {
      font-size: 14px;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 2px;
    }

    .inline-style-scope--organisatie-ochart .ochart-business-info-sub {
      font-size: 12px;
      color: #64748b;
    }

    .inline-style-scope--organisatie-ochart .ochart-business-info-meta {
      font-size: 12px;
      color: #334155;
      margin-top: 4px;
    }

    .inline-style-scope--organisatie-ochart .ochart-business-info-actions {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }

    .inline-style-scope--organisatie-ochart .ochart-columns-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(220px, 1fr));
      gap: 12px;
    }

    .inline-style-scope--organisatie-ochart .ochart-column {
      border: 1px solid #e3e7ed;
      border-radius: 12px;
      background: #f8fafc;
      min-height: 420px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .inline-style-scope--organisatie-ochart .ochart-column-head {
      padding: 10px 12px;
      border-bottom: 1px solid #e3e7ed;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      background: #ffffff;
    }

    .inline-style-scope--organisatie-ochart .ochart-column-head h6 {
      margin: 0;
      font-size: 13px;
      font-weight: 700;
      color: #1f2937;
    }

    .inline-style-scope--organisatie-ochart .ochart-column-body {
      padding: 10px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 8px;
      min-height: 0;
    }

    .inline-style-scope--organisatie-ochart .ochart-column-empty {
      color: #64748b;
      font-size: 12px;
      padding: 8px;
    }

    .inline-style-scope--organisatie-ochart .ochart-column-card {
      position: relative;
      border: 1px solid #d7dde6;
      background: #ffffff;
      border-radius: 10px;
      padding: 10px;
      cursor: pointer;
    }

    .inline-style-scope--organisatie-ochart .ochart-column-card.is-selected {
      border-color: #2f71ff;
      box-shadow: 0 0 0 2px rgba(47, 113, 255, 0.15);
    }

    .inline-style-scope--organisatie-ochart .ochart-column-card.synthetic-node {
      border-style: dashed;
      background: #f8fafc;
    }

    .inline-style-scope--organisatie-ochart .ochart-column-card.missing-kostenplaats {
      border-color: #ef4444;
      box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
    }

    .inline-style-scope--organisatie-ochart .ochart-column-card.dimmed {
      opacity: 0.35;
    }

    .inline-style-scope--organisatie-ochart .ochart-column-card-title {
      font-size: 13px;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 2px;
    }

    .inline-style-scope--organisatie-ochart .ochart-column-card-sub {
      font-size: 12px;
      color: #64748b;
      margin-bottom: 8px;
    }

    .inline-style-scope--organisatie-ochart .ochart-column-card-actions {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .inline-style-scope--organisatie-ochart .ochart-drag-handle {
      position: absolute;
      top: -8px;
      left: -8px;
      width: 24px;
      height: 24px;
      border: 1px solid #cbd5e1;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #475569;
      background: #ffffff;
      cursor: grab;
      box-shadow: 0 6px 12px rgba(15, 23, 42, 0.14);
      z-index: 4;
    }

    .inline-style-scope--organisatie-ochart .ochart-drag-handle:active {
      cursor: grabbing;
    }

    .inline-style-scope--organisatie-ochart .ochart-column-card-actions .btn-xs {
      min-width: 30px;
      height: 26px;
      padding: 0 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .inline-style-scope--organisatie-ochart .ochart-canvas {
      position: relative;
      width: 100%;
      min-height: 420px;
      background: #f7f9fb;
      border: 1px solid #e3e7ed;
      border-radius: 12px;
      overflow: hidden;
      cursor: grab;
    }

    .inline-style-scope--organisatie-ochart .ochart-canvas.panning {
      cursor: grabbing;
    }

    .inline-style-scope--organisatie-ochart .ochart-viewport {
      position: absolute;
      top: 0;
      left: 0;
      transform-origin: 0 0;
      width: 0;
      height: 0;
    }

    .inline-style-scope--organisatie-ochart .ochart-lines {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    .inline-style-scope--organisatie-ochart .ochart-node {
      position: absolute;
      width: 220px;
      padding: 12px 16px;
      background: #ffffff;
      border-radius: 12px;
      border: 1px solid #d7dde6;
      box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
      text-align: center;
      cursor: pointer;
      transition: opacity 0.2s ease, transform 0.2s ease;
      z-index: 2;
    }

    .inline-style-scope--organisatie-ochart .ochart-node-drag-handle {
      position: absolute;
      top: -8px;
      left: -8px;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 1px solid #cbd5e1;
      background: #ffffff;
      color: #475569;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: grab;
      box-shadow: 0 6px 12px rgba(15, 23, 42, 0.14);
      z-index: 4;
    }

    .inline-style-scope--organisatie-ochart .ochart-node-drag-handle:active {
      cursor: grabbing;
    }

    .inline-style-scope--organisatie-ochart .ochart-node .ochart-node-drag-handle.tooltip-btn {
      position: absolute !important;
      top: -8px !important;
      left: -8px !important;
      right: auto !important;
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-delete {
      position: absolute;
      top: -8px;
      right: -8px;
      left: auto;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      border: none;
      background: #ef4444;
      color: #ffffff;
      font-size: 14px;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 12px rgba(239, 68, 68, 0.35);
      z-index: 4;
    }

    .inline-style-scope--organisatie-ochart .ochart-node .ochart-employee-delete.tooltip-btn {
      position: absolute !important;
      right: -8px !important;
      left: auto !important;
      top: -8px !important;
    }

    .inline-style-scope--organisatie-ochart .ochart-node-delete {
      position: absolute;
      top: -8px;
      right: -8px;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: none;
      background: #dc2626;
      color: #ffffff;
      font-size: 16px;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 12px rgba(220, 38, 38, 0.3);
      z-index: 3;
      cursor: pointer;
    }

    .inline-style-scope--organisatie-ochart .ochart-node-delete.is-disabled {
      background: #94a3b8;
      box-shadow: none;
    }

    .inline-style-scope--organisatie-ochart .ochart-node-delete:disabled {
      background: #94a3b8;
      box-shadow: none;
      cursor: not-allowed;
    }

    .inline-style-scope--organisatie-ochart .ochart-node-view-employees {
      position: absolute;
      top: -8px;
      right: 32px;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 1px solid #0284c7;
      background: #ffffff;
      color: #0369a1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 12px rgba(3, 105, 161, 0.18);
      z-index: 4;
    }

    .inline-style-scope--organisatie-ochart .ochart-node-meta-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-top: 4px;
    }

    .inline-style-scope--organisatie-ochart .ochart-node-view-employees-inline {
      position: static;
      top: auto;
      right: auto;
      box-shadow: none;
      z-index: auto;
      flex-shrink: 0;
    }

    .inline-style-scope--organisatie-ochart .ochart-node-expand {
      position: absolute;
      top: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 1px solid #475569;
      background: #ffffff;
      color: #334155;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 700;
      line-height: 1;
      box-shadow: 0 6px 12px rgba(15, 23, 42, 0.12);
      z-index: 4;
    }

    .inline-style-scope--organisatie-ochart .ochart-node .ochart-node-expand.tooltip-btn {
      position: absolute !important;
      top: -8px !important;
      left: 50% !important;
      right: auto !important;
      transform: translateX(-50%) !important;
    }

    .inline-style-scope--organisatie-ochart .ochart-drawer-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.45);
      z-index: 1040;
    }

    .inline-style-scope--organisatie-ochart .ochart-drawer {
      position: fixed;
      top: 0;
      right: 0;
      height: 100vh;
      width: min(460px, 92vw);
      background: #ffffff;
      border-left: 1px solid #e3e7ed;
      box-shadow: -18px 0 42px rgba(15, 23, 42, 0.18);
      z-index: 1050;
      display: flex;
      flex-direction: column;
    }

    .inline-style-scope--organisatie-ochart .ochart-drawer-head {
      padding: 12px 14px;
      border-bottom: 1px solid #e3e7ed;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
    }

    .inline-style-scope--organisatie-ochart .ochart-drawer-title {
      font-weight: 700;
      color: #0f172a;
      line-height: 1.2;
    }

    .inline-style-scope--organisatie-ochart .ochart-drawer-sub {
      font-size: 12px;
      margin-top: 2px;
    }

    .inline-style-scope--organisatie-ochart .ochart-drawer-body {
      padding: 12px 14px;
      overflow: auto;
      min-height: 0;
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-row {
      border: 1px solid #e3e7ed;
      border-radius: 10px;
      padding: 10px 10px;
      background: #ffffff;
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-name {
      font-weight: 700;
      color: #0f172a;
      font-size: 13px;
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-meta {
      font-size: 12px;
      margin-top: 2px;
    }

    .inline-style-scope--organisatie-ochart .ochart-node.synthetic-node {
      border-style: dashed;
      border-color: #94a3b8;
      background: #f8fafc;
      cursor: default;
    }

    .inline-style-scope--organisatie-ochart .ochart-node.function.missing-function {
      box-shadow: 0 0 0 2px #f59e0b, 0 6px 16px rgba(15, 23, 42, 0.08);
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-panel {
      margin-top: 12px;
      padding: 12px 16px;
      border-radius: 12px;
      border: 1px solid #e3e7ed;
      background: #ffffff;
      box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    }

    .inline-style-scope--organisatie-ochart .ochart-panel-title {
      font-weight: 600;
      color: #0f172a;
    }

    .inline-style-scope--organisatie-ochart .ochart-panel-sub {
      font-size: 12px;
      color: #64748b;
    }

    .inline-style-scope--organisatie-ochart .ochart-panel-row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      font-size: 13px;
      padding: 4px 0;
      border-bottom: 1px solid #f1f5f9;
    }

    .inline-style-scope--organisatie-ochart .ochart-panel-row:last-child {
      border-bottom: none;
    }

    .inline-style-scope--organisatie-ochart .ochart-panel-actions {
      display: flex;
      justify-content: flex-end;
      margin: 8px 0 4px;
    }

    .inline-style-scope--organisatie-ochart .ochart-panel-label {
      color: #64748b;
    }

    .inline-style-scope--organisatie-ochart .ochart-panel-value {
      color: #0f172a;
      text-align: right;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-ochart .ochart-node.dimmed {
      opacity: 0.25;
    }

    .inline-style-scope--organisatie-ochart .ochart-node.missing-kostenplaats {
      box-shadow: 0 0 0 2px #ef4444, 0 6px 16px rgba(15, 23, 42, 0.08);
    }

    .inline-style-scope--organisatie-ochart .ochart-dashboard {
      margin-bottom: 16px;
      display: flex;
      gap: 12px;
    }

    .inline-style-scope--organisatie-ochart .ochart-card {
      background: #ffffff;
      border-radius: 12px;
      border: 1px solid #f1f5f9;
      padding: 12px 16px;
      min-width: 220px;
    }

    .inline-style-scope--organisatie-ochart .ochart-card-warning {
      border-color: #fecaca;
      background: #fff1f2;
    }

    .inline-style-scope--organisatie-ochart .ochart-card-title {
      font-size: 12px;
      color: #b91c1c;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .inline-style-scope--organisatie-ochart .ochart-card-value {
      font-size: 28px;
      font-weight: 600;
      color: #991b1b;
      margin-top: 4px;
    }

    .inline-style-scope--organisatie-ochart .ochart-card-text {
      font-size: 12px;
      color: #7f1d1d;
    }

    .inline-style-scope--organisatie-ochart .ochart-node.business {
      border-color: #2f71ff;
      background: #f0f5ff;
    }

    .inline-style-scope--organisatie-ochart .ochart-node.businessUnit {
      border-color: #12b981;
      background: #ecfdf3;
    }

    .inline-style-scope--organisatie-ochart .ochart-node.department {
      border-color: #f59e0b;
      background: #fff7ed;
    }

    .inline-style-scope--organisatie-ochart .ochart-node.function {
      border-color: #0ea5e9;
      background: #e0f2fe;
    }

    .inline-style-scope--organisatie-ochart .ochart-node.employee {
      border-color: #8b5cf6;
      background: #f5f3ff;
      padding: 10px 14px;
      transition: transform 220ms ease, opacity 220ms ease;
    }

    .inline-style-scope--organisatie-ochart .ochart-node.employee.employee-hidden {
      opacity: 0;
      pointer-events: none;
      transform: translate(var(--stack-dx), var(--stack-dy)) scale(0.92);
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-stack {
      position: absolute;
      width: 220px;
      height: 70px;
      cursor: pointer;
      z-index: 3;
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-stack::before,
    .inline-style-scope--organisatie-ochart .ochart-employee-stack::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 10px;
      border: 1px solid #8b5cf6;
      background: #ede9fe;
      opacity: 0.65;
      z-index: 0;
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-stack::before {
      transform: translate(8px, 6px);
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-stack::after {
      transform: translate(16px, 12px);
      opacity: 0.4;
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-stack .stack-card {
      position: relative;
      z-index: 1;
      height: 100%;
      border-radius: 10px;
      border: 1px solid #8b5cf6;
      background: #f5f3ff;
      padding: 10px 14px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2px;
      box-shadow: 0 10px 18px rgba(76, 29, 149, 0.15);
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-stack .stack-title {
      font-weight: 600;
      color: #1f2a37;
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-stack .stack-meta {
      font-size: 12px;
      color: #6b7280;
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-stack .stack-count {
      font-size: 12px;
      font-weight: 600;
      color: #6d28d9;
    }

    .inline-style-scope--organisatie-ochart .ochart-employee-stack-close {
      position: absolute;
      height: 28px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid #8b5cf6;
      background: #ffffff;
      color: #6d28d9;
      font-size: 12px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
      box-shadow: 0 8px 16px rgba(76, 29, 149, 0.18);
      z-index: 4;
    }

    .inline-style-scope--organisatie-ochart .ochart-node-title {
      font-weight: 600;
      color: #1f2a37;
    }

    .inline-style-scope--organisatie-ochart .ochart-node-type {
      font-size: 12px;
      color: #6b7280;
    }

    .inline-style-scope--organisatie-ochart .ochart-node-meta {
      font-size: 12px;
      color: #64748b;
      margin-top: 2px;
    }

    .inline-style-scope--organisatie-ochart .employee-autocomplete {
      position: relative;
    }

    .inline-style-scope--organisatie-ochart .employee-results {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      background: #ffffff;
      border: 1px solid #d7dde6;
      border-radius: 8px;
      box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
      z-index: 20;
      max-height: 300px;
      overflow-y: auto;
      padding: 6px;
    }

    .inline-style-scope--organisatie-ochart .employee-result {
      width: 100%;
      text-align: left;
      border: none;
      background: transparent;
      padding: 8px 10px;
      border-radius: 6px;
      cursor: pointer;
    }

    .inline-style-scope--organisatie-ochart .employee-result:hover,
    .inline-style-scope--organisatie-ochart .employee-result:focus {
      background: #f0f5ff;
    }

    .inline-style-scope--organisatie-ochart .employee-result-id {
      font-size: 13px;
      color: #334155;
    }

    .inline-style-scope--organisatie-ochart .employee-result-function {
      font-size: 12px;
      color: #64748b;
      margin-top: 2px;
    }


    .inline-style-scope--organisatie-ochart .ochart-add-child {
      position: absolute;
      left: 50%;
      top: 100%;
      transform: translate(-50%, -50%);
      width: 30px;
      height: 30px;
      border-radius: 50%;
      border: 2px solid #ffffff;
      background: #2563eb;
      color: #fff;
      font-size: 18px;
      font-weight: 700;
      line-height: 1;
      box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 3;
    }

    .inline-style-scope--organisatie-ochart .ochart-node .ochart-add-child.tooltip-btn {
      position: absolute !important;
      left: 50% !important;
      top: 100% !important;
      transform: translate(-50%, -50%) !important;
    }

    .inline-style-scope--organisatie-ochart .ochart-empty {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: #4b5563;
    }

    .inline-style-scope--organisatie-ochart .ochart-modal {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.45);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1050;
    }

    .inline-style-scope--organisatie-ochart .ochart-modal-content {
      background: #ffffff;
      border-radius: 12px;
      padding: 24px;
      width: 420px;
      max-width: 90vw;
      box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
    }

    .inline-style-scope--organisatie-ochart .ochart-modal-content-form {
      width: 460px;
      max-height: 84vh;
      overflow-y: auto;
    }

    .inline-style-scope--organisatie-ochart .ochart-modal-content-wide {
      width: 780px;
      max-height: 85vh;
      overflow-y: auto;
    }

    .inline-style-scope--organisatie-ochart .optional-hint {
      color: #94a3b8;
      font-weight: 400;
    }

    .inline-style-scope--organisatie-ochart .employee-info-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 16px;
      padding-bottom: 14px;
      border-bottom: 1px solid #e6ecf3;
    }

    .inline-style-scope--organisatie-ochart .employee-info-identity {
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }

    .inline-style-scope--organisatie-ochart .employee-info-avatar {
      width: 44px;
      height: 44px;
      border-radius: 9999px;
      background: linear-gradient(135deg, #0ea5e9, #2563eb);
      color: #ffffff;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
      box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
    }

    .inline-style-scope--organisatie-ochart .employee-info-name {
      color: #334155;
      font-weight: 600;
      font-size: 14px;
    }

    .inline-style-scope--organisatie-ochart .employee-info-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px;
    }

    .inline-style-scope--organisatie-ochart .employee-info-chip {
      display: inline-flex;
      align-items: center;
      border-radius: 9999px;
      padding: 4px 10px;
      font-size: 12px;
      font-weight: 600;
      color: #0f172a;
      background: #eff6ff;
      border: 1px solid #dbeafe;
    }

    .inline-style-scope--organisatie-ochart .employee-info-layout {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .inline-style-scope--organisatie-ochart .employee-info-section {
      border: 1px solid #e6ecf3;
      border-radius: 10px;
      padding: 14px;
      background: #fbfdff;
    }

    .inline-style-scope--organisatie-ochart .employee-info-section h5 {
      margin: 0 0 10px;
      font-size: 14px;
      font-weight: 700;
      color: #1e293b;
    }

    .inline-style-scope--organisatie-ochart .ochart-readonly-grid .ochart-panel-row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      font-size: 13px;
      padding: 7px 0;
      border-bottom: 1px dashed #e5e7eb;
    }

    .inline-style-scope--organisatie-ochart .ochart-readonly-grid .ochart-panel-row:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }

    .inline-style-scope--organisatie-ochart .ochart-readonly-grid .ochart-panel-label {
      color: #64748b;
      font-weight: 600;
      flex-shrink: 0;
    }

    .inline-style-scope--organisatie-ochart .ochart-readonly-grid .ochart-panel-value {
      color: #0f172a;
      font-weight: 600;
      text-align: right;
      word-break: break-word;
    }

    @media (max-width: 991px) {
      .inline-style-scope--organisatie-ochart .ochart-columns-grid {
        grid-template-columns: 1fr;
      }

      .inline-style-scope--organisatie-ochart .ochart-business-info-content {
        flex-direction: column;
        align-items: flex-start;
      }

      .inline-style-scope--organisatie-ochart .ochart-column {
        min-height: 200px;
      }

      .inline-style-scope--organisatie-ochart .employee-info-layout {
        grid-template-columns: 1fr;
      }
    }

/* NexusCareAdmin/systeem/functies_import.aspx */
.inline-style-scope--systeem-functies_import [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--systeem-functies_import .import-dropzone {
      border: 2px dashed #cbd5f5;
      border-radius: 10px;
      padding: 16px;
      background: #f8fafc;
      transition: border-color 0.2s ease, background 0.2s ease;
    }

    .inline-style-scope--systeem-functies_import .import-dropzone input[type="file"] {
      background: #ffffff;
    }

    .inline-style-scope--systeem-functies_import .import-dropzone-text {
      font-size: 12px;
      color: #64748b;
      margin-top: 8px;
    }

    .inline-style-scope--systeem-functies_import .import-dropzone.is-dragging {
      border-color: #2563eb;
      background: #eff6ff;
    }

    .inline-style-scope--systeem-functies_import .import-dropzone.has-file {
      border-color: #16a34a;
      background: #f0fdf4;
    }

/* NexusCareAdmin/organisatie/payroll_calculation_review.aspx */
.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-results-table {
      font-size: 0.82rem;
      line-height: 1.15;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-results-table th,
    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-results-table td {
      padding: 0.35rem 0.45rem;
      vertical-align: middle;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-results-table .text-nowrap {
      white-space: nowrap;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-employee {
      font-weight: 600;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-code-chip {
      display: inline-block;
      min-width: 3.5rem;
      padding: 0.18rem 0.45rem;
      border: 1px solid #b9d3ff;
      border-radius: 999px;
      background: #eef5ff;
      color: #234a86;
      font-size: 0.75rem;
      font-weight: 600;
      line-height: 1.1;
      text-align: center;
      white-space: nowrap;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-code-chip--empty {
      border-color: #d7dbe6;
      background: #f5f6f8;
      color: #6b7280;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-timeslot {
      color: #4b5563;
      white-space: nowrap;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-status-plan {
      display: inline-block;
      padding: 0.15rem 0.5rem;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 600;
      line-height: 1.2;
      white-space: nowrap;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-status-groups {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-business-unit {
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      background: #ffffff;
      overflow: hidden;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-business-unit__header {
      background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-business-unit__toggle {
      display: flex;
      width: 100%;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.85rem 1rem;
      border: 0;
      background: transparent;
      text-align: left;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-business-unit__toggle:hover,
    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-business-unit__toggle:focus-visible {
      background: #eef5ff;
      outline: none;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-business-unit__heading {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.45rem;
      min-width: 0;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-business-unit__name {
      font-size: 1rem;
      font-weight: 700;
      color: #0f172a;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-department-list {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      padding: 1rem;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-department {
      border: 1px solid #e5e7eb;
      border-radius: 10px;
      background: #f8fafc;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-department__toggle {
      display: flex;
      width: 100%;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.85rem 1rem;
      border: 0;
      border-radius: 10px;
      background: transparent;
      text-align: left;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-department__toggle:hover,
    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-department__toggle:focus-visible {
      background: #eef5ff;
      outline: none;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-department__heading {
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
      min-width: 0;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-department__name {
      font-size: 0.95rem;
      font-weight: 700;
      color: #111827;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-department__meta {
      font-size: 0.8rem;
      color: #6b7280;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-department__stats {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 0.5rem;
      align-items: center;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-status-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.2rem 0.55rem;
      border-radius: 999px;
      font-size: 0.74rem;
      font-weight: 700;
      line-height: 1.15;
      white-space: nowrap;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-status-pill--mixed {
      background: #dbeafe;
      color: #1d4ed8;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-status-pill--ready {
      background: #dcfce7;
      color: #166534;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-status-pill--review {
      background: #fef3c7;
      color: #92400e;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-status-pill--open {
      background: #e5e7eb;
      color: #374151;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-status-pill--missing {
      background: #e2e8f0;
      color: #475569;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-status-pill--other {
      background: #ede9fe;
      color: #6d28d9;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-count-chip {
      display: inline-flex;
      align-items: center;
      padding: 0.2rem 0.45rem;
      border-radius: 999px;
      background: #ffffff;
      border: 1px solid #d7dce5;
      font-size: 0.72rem;
      color: #475569;
      white-space: nowrap;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-expand-label {
      font-size: 0.78rem;
      font-weight: 600;
      color: #2563eb;
      white-space: nowrap;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-subdepartment-list {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      padding: 0 1rem 1rem;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-subdepartment {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 0.75rem 1rem;
      padding: 0.8rem 0.9rem;
      border-radius: 8px;
      background: #ffffff;
      border: 1px solid #dce3eb;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-subdepartment--selected {
      border-color: #93c5fd;
      box-shadow: inset 0 0 0 1px #bfdbfe;
      background: #eff6ff;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-subdepartment__heading {
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
      min-width: 0;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-subdepartment__name {
      font-size: 0.9rem;
      font-weight: 700;
      color: #111827;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-subdepartment__meta {
      font-size: 0.78rem;
      color: #6b7280;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-subdepartment__stats {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 0.45rem;
      align-items: center;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-stacked-count {
      display: inline-flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.05rem;
      line-height: 1.1;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-stacked-count__value {
      font-weight: 700;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-stacked-count__label {
      font-size: 0.68rem;
      color: inherit;
      opacity: 0.78;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-run-summary {
      padding: 1rem;
      border: 1px solid #dbe4ef;
      border-radius: 12px;
      background: linear-gradient(180deg, #f8fbff 0%, #f5f8fc 100%);
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-run-summary__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 0.75rem;
      margin-top: 0.85rem;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-run-summary__item {
      padding: 0.7rem 0.8rem;
      border: 1px solid #d9e2ec;
      border-radius: 10px;
      background: #ffffff;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-run-summary__label {
      font-size: 0.75rem;
      color: #64748b;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-run-summary__value {
      margin-top: 0.2rem;
      font-size: 1rem;
      font-weight: 700;
      color: #0f172a;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-scope-filter {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 0.85rem;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-scope-filter__button {
      display: inline-flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.1rem;
      min-width: 0;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-scope-filter__meta {
      font-size: 0.72rem;
      color: inherit;
      opacity: 0.82;
    }

/* NexusCareAdmin/organisatie/maandafsluiting_dienstrooster.aspx */
@import url("../assets/vendor_components/select2/dist/css/select2.min.css");
    @import url("../assets/vendor_components/select2-bootstrap-5-theme/dist/select2-bootstrap-5-theme.min.css");
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .summary-item { padding: 10px 12px; background: #f8fafc; border-radius: 8px; border: 1px solid #e3e7ed; }
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .month-close-actions { flex-wrap: wrap; }
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .month-close-scope-field .select2-container { width: 100% !important; }
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .month-close-scope-field .select2-container--default .select2-selection--single {
      background-color: #fff;
      border: 1px solid #d9e1ea;
      border-radius: 0.375rem;
      min-height: calc(2.25rem + 2px);
      padding: 0.375rem 2.35rem 0.375rem 0.75rem;
      transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    }
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .month-close-scope-field .select2-container--default .select2-selection--single .select2-selection__rendered {
      color: #495057;
      line-height: 1.5;
      margin-top: 0;
      padding-left: 0;
      padding-right: 0;
    }
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .month-close-scope-field .select2-container--default .select2-selection--single .select2-selection__placeholder {
      color: #6c757d;
    }
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .month-close-scope-field .select2-container--default .select2-selection--single .select2-selection__arrow {
      align-items: center;
      display: flex;
      height: 100%;
      justify-content: center;
      padding: 0;
      right: 0.75rem;
      top: 0;
      width: 1rem;
    }
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .month-close-scope-field .select2-container--default .select2-selection--single .select2-selection__arrow b {
      margin-top: 0;
      position: static;
    }
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .month-close-scope-field .select2-container--default.select2-container--focus .select2-selection--single,
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .month-close-scope-field .select2-container--default.select2-container--open .select2-selection--single {
      border-color: #86b7fe;
      box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .15);
    }
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .month-close-scope-field .select2-dropdown {
      border: 1px solid #d9e1ea;
      border-radius: 0.375rem;
      overflow: hidden;
    }
    .inline-style-scope--organisatie-maandafsluiting_dienstrooster .month-close-scope-field .select2-dropdown .select2-search__field {
      border: 1px solid #d9e1ea;
      border-radius: 0.375rem;
      min-height: calc(2.25rem + 2px);
      padding: 0.375rem 0.75rem;
    }

/* NexusCareAdmin/main/noaccess.aspx */
.inline-style-scope--main-noaccess .noaccess-wrapper {
      max-width: 880px;
      margin: 0 auto;
    }

    .inline-style-scope--main-noaccess .noaccess-card {
      background: #ffffff;
      border-radius: 10px;
      box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
      border: 1px solid #e9ecef;
      overflow: hidden;
    }

    .inline-style-scope--main-noaccess .noaccess-banner {
      background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
      color: #ffffff;
      padding: 20px 24px;
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .inline-style-scope--main-noaccess .noaccess-banner-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 42px;
    }

    .inline-style-scope--main-noaccess .noaccess-banner-title {
      font-size: 24px;
      font-weight: 600;
      margin: 0;
    }

    .inline-style-scope--main-noaccess .noaccess-body {
      padding: 24px;
      color: #334155;
    }

    .inline-style-scope--main-noaccess .noaccess-body p {
      margin-bottom: 14px;
      font-size: 15px;
    }

    .inline-style-scope--main-noaccess .noaccess-help {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 14px 16px;
      margin-bottom: 18px;
    }

    .inline-style-scope--main-noaccess .noaccess-help-title {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 6px;
      color: #0f172a;
    }

    .inline-style-scope--main-noaccess .noaccess-help ul {
      margin: 0;
      padding-left: 18px;
    }

    .inline-style-scope--main-noaccess .noaccess-help li {
      margin-bottom: 6px;
      font-size: 14px;
    }

    .inline-style-scope--main-noaccess .noaccess-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 8px;
    }

/* NexusCareAdmin/systeem/medewerker_gebruikers.aspx */
@view-transition {
      navigation: none;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__batch-card {
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
      position: relative;
      min-height: 100%;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__batch-section {
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__radio-list {
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__radio-option {
      display: flex;
      align-items: flex-start;
      gap: 0.55rem;
      min-height: 0;
      margin: 0;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__radio-option .form-check-input {
      float: none;
      margin: 0.2rem 0 0 0;
      position: static;
      flex: 0 0 auto;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__radio-option .form-check-label {
      display: block;
      margin: 0;
      line-height: 1.35;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__selection-summary {
      margin-bottom: 0;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__table-actions {
      border-top: 1px solid #e6ebf2;
      padding-top: 0.85rem;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__choice-input {
      appearance: auto;
      -webkit-appearance: auto;
      accent-color: #0f5db8;
      cursor: pointer;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__select-button {
      min-width: 96px;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__select-button--header {
      min-width: 120px;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__row-selected > td {
      background: #eaf3ff !important;
      box-shadow: inset 0 1px 0 #b8d4fb, inset 0 -1px 0 #b8d4fb;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__row-selected > td:first-child {
      box-shadow: inset 3px 0 0 #0f5db8, inset 0 1px 0 #b8d4fb, inset 0 -1px 0 #b8d4fb;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__username-input {
      min-width: 170px;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning code {
      font-size: 0.9rem;
      color: #0f3d75;
    }

/* NexusCareAdmin/organisatie/toeslagregelingen.aspx */
.inline-style-scope--organisatie-toeslagregelingen .nc-legacy-readonly {
      border: 0;
      margin: 0;
      padding: 0;
    }

    .inline-style-scope--organisatie-toeslagregelingen [x-cloak] { display: none !important; }
    .inline-style-scope--organisatie-toeslagregelingen .days-grid { display: flex; flex-wrap: wrap; gap: 8px; }
    .inline-style-scope--organisatie-toeslagregelingen .days-grid .day-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
    .inline-style-scope--organisatie-toeslagregelingen .days-grid .day-toggle {
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      min-width: 44px;
      min-height: 32px;
      line-height: 1;
    }
    .inline-style-scope--organisatie-toeslagregelingen .days-grid .day-toggle::before,
    .inline-style-scope--organisatie-toeslagregelingen .days-grid .day-toggle::after { content: none !important; }
    .inline-style-scope--organisatie-toeslagregelingen .days-grid .day-toggle-input:checked + .day-toggle {
      background-color: var(--bs-primary);
      border-color: var(--bs-primary);
      color: #fff;
    }
    .inline-style-scope--organisatie-toeslagregelingen .days-grid .day-toggle-input:focus-visible + .day-toggle {
      outline: 2px solid rgba(13, 110, 253, 0.35);
      outline-offset: 2px;
    }
    .inline-style-scope--organisatie-toeslagregelingen .pct-col { width: 90px; }
    .inline-style-scope--organisatie-toeslagregelingen .pct-input { max-width: 90px; }
    .inline-style-scope--organisatie-toeslagregelingen .time-col { width: 70px; }
    .inline-style-scope--organisatie-toeslagregelingen .time-input { min-width: 110px; }
    .inline-style-scope--organisatie-toeslagregelingen .holiday-header-row td { background: #fff7e6; border-top: 2px solid #f3c97a; font-weight: 600; }
    .inline-style-scope--organisatie-toeslagregelingen .holiday-band-row td { background: #fffdf7; }

    .inline-style-scope--organisatie-toeslagregelingen .nc-switch {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .inline-style-scope--organisatie-toeslagregelingen .nc-switch .btn-toggle {
      margin: 0;
    }

/* NexusCareAdmin/systeem/medewerkers_import.aspx */
.inline-style-scope--systeem-medewerkers_import [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--systeem-medewerkers_import .import-dropzone {
      border: 2px dashed #cbd5f5;
      border-radius: 10px;
      padding: 16px;
      background: #f8fafc;
      transition: border-color 0.2s ease, background 0.2s ease;
    }

      .inline-style-scope--systeem-medewerkers_import .import-dropzone input[type="file"] {
        background: #ffffff;
      }

    .inline-style-scope--systeem-medewerkers_import .import-dropzone-text {
      font-size: 12px;
      color: #64748b;
      margin-top: 8px;
    }

    .inline-style-scope--systeem-medewerkers_import .import-dropzone.is-dragging {
      border-color: #2563eb;
      background: #eff6ff;
    }

    .inline-style-scope--systeem-medewerkers_import .import-dropzone.has-file {
      border-color: #16a34a;
      background: #f0fdf4;
    }

    .inline-style-scope--systeem-medewerkers_import .tooltip-wrapper {
      position: relative;
      display: inline-flex;
      align-items: center;
    }

      .inline-style-scope--systeem-medewerkers_import .tooltip-wrapper::after {
        content: attr(data-tooltip);
        position: absolute;
        left: 50%;
        bottom: calc(100% + 8px);
        transform: translateX(-50%);
        background: #111827;
        color: #ffffff;
        font-size: 12px;
        padding: 6px 8px;
        border-radius: 6px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease;
        z-index: 5;
      }

      .inline-style-scope--systeem-medewerkers_import .tooltip-wrapper::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: calc(100% + 2px);
        transform: translateX(-50%);
        border-width: 6px 6px 0 6px;
        border-style: solid;
        border-color: #111827 transparent transparent transparent;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease;
        z-index: 5;
      }

      .inline-style-scope--systeem-medewerkers_import .tooltip-wrapper:hover::after,
      .inline-style-scope--systeem-medewerkers_import .tooltip-wrapper:hover::before,
      .inline-style-scope--systeem-medewerkers_import .tooltip-wrapper:focus-within::after,
      .inline-style-scope--systeem-medewerkers_import .tooltip-wrapper:focus-within::before {
        opacity: 1;
      }

    .inline-style-scope--systeem-medewerkers_import .icon-only-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      padding: 0;
    }

    .inline-style-scope--systeem-medewerkers_import .department-picker-modal {
      position: fixed;
      inset: 0;
      z-index: 1060;
      align-items: center;
      justify-content: center;
    }

    .inline-style-scope--systeem-medewerkers_import .department-picker-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.45);
    }

    .inline-style-scope--systeem-medewerkers_import .department-picker-dialog {
      position: relative;
      width: min(720px, calc(100vw - 32px));
      max-height: calc(100vh - 48px);
      background: #ffffff;
      border-radius: 10px;
      box-shadow: 0 18px 48px rgba(15, 23, 42, 0.3);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      z-index: 1;
    }

    .inline-style-scope--systeem-medewerkers_import .department-picker-header {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 14px 16px;
      border-bottom: 1px solid #e3e7ed;
    }

    .inline-style-scope--systeem-medewerkers_import .department-picker-context {
      padding: 10px 16px 0;
      font-size: 12px;
    }

    .inline-style-scope--systeem-medewerkers_import .department-picker-body {
      padding: 14px 16px 16px;
      overflow-y: auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 8px;
    }

    .inline-style-scope--systeem-medewerkers_import .department-picker-item {
      border: 1px solid #d7dde6;
      background: #f8fafc;
      border-radius: 6px;
      padding: 8px 10px;
      text-align: left;
      cursor: pointer;
    }

      .inline-style-scope--systeem-medewerkers_import .department-picker-item:hover {
        background: #eef3fb;
      }

/* NexusCareAdmin/organisatie/toeslag_exportcodes.aspx */
.inline-style-scope--organisatie-toeslag_exportcodes [x-cloak] { display: none !important; }

/* NexusCareAdmin/systeem/medicatie_import.aspx */
.inline-style-scope--systeem-medicatie_import .import-dropzone {
      position: relative;
      border: 1px dashed #b6c2d2;
      border-radius: 10px;
      padding: 1.25rem;
      background: #f8fbff;
      transition: border-color 0.18s ease, background-color 0.18s ease;
    }

    .inline-style-scope--systeem-medicatie_import .import-dropzone.is-dragging {
      border-color: #0d6efd;
      background: #eef5ff;
    }

    .inline-style-scope--systeem-medicatie_import .import-dropzone.has-file {
      border-color: #198754;
      background: #f3fbf6;
    }

    .inline-style-scope--systeem-medicatie_import .import-dropzone-text {
      margin-top: 0.75rem;
      color: #5b6676;
      font-size: 0.95rem;
    }

/* NexusCareAdmin/organisatie/verloningscomponenten.aspx */
.inline-style-scope--organisatie-verloningscomponenten [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-component-page {
      --nc-surface: #f8fafc;
      --nc-border: #d9e2ec;
      --nc-border-strong: #b8c7d9;
      --nc-accent: #14532d;
      --nc-accent-soft: #e6f4ea;
      --nc-text-soft: #5f6c7b;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-summary-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-summary-card,
    .inline-style-scope--organisatie-verloningscomponenten .nc-panel,
    .inline-style-scope--organisatie-verloningscomponenten .nc-hero {
      background: linear-gradient(180deg, #ffffff 0%, var(--nc-surface) 100%);
      border: 1px solid var(--nc-border);
      border-radius: 16px;
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-summary-card {
      padding: 1rem 1.1rem;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-summary-label,
    .inline-style-scope--organisatie-verloningscomponenten .nc-section-kicker,
    .inline-style-scope--organisatie-verloningscomponenten .nc-hero-kicker {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--nc-accent);
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-summary-value {
      display: block;
      font-size: 1.75rem;
      line-height: 1.1;
      margin-top: 0.35rem;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-summary-note {
      display: block;
      margin-top: 0.45rem;
      color: var(--nc-text-soft);
      font-size: 0.9rem;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-hero,
    .inline-style-scope--organisatie-verloningscomponenten .nc-panel {
      padding: 1.25rem;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-hero,
    .inline-style-scope--organisatie-verloningscomponenten .nc-panel-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 1rem;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-hero-actions,
    .inline-style-scope--organisatie-verloningscomponenten .nc-selection-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      align-items: center;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-panel-header {
      margin-bottom: 1rem;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-panel-header--compact {
      margin-bottom: 0.85rem;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-filter-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-filter-pill {
      border: 1px solid var(--nc-border);
      background: #fff;
      border-radius: 999px;
      padding: 0.35rem 0.8rem;
      font-size: 0.9rem;
      color: #243447;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-filter-pill.is-active {
      background: var(--nc-accent-soft);
      border-color: #9bc7a8;
      color: #0f5132;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-list {
      display: grid;
      gap: 0.75rem;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-list-item {
      width: 100%;
      text-align: left;
      border: 1px solid var(--nc-border);
      background: #fff;
      border-radius: 14px;
      padding: 0.9rem 1rem;
      transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-list-item:hover,
    .inline-style-scope--organisatie-verloningscomponenten .nc-list-item:focus {
      border-color: var(--nc-border-strong);
      box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
      transform: translateY(-1px);
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-list-item.is-selected {
      border-color: #7fb38d;
      box-shadow: 0 0 0 1px rgba(20, 83, 45, 0.12);
      background: #f7fbf8;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-list-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 0.85rem;
      margin-top: 0.7rem;
      font-size: 0.82rem;
      color: var(--nc-text-soft);
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-selection-pill,
    .inline-style-scope--organisatie-verloningscomponenten .nc-status-badge {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      padding: 0.25rem 0.65rem;
      font-size: 0.78rem;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-selection-pill {
      background: #eef3f8;
      color: #314255;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-status-badge {
      background: #edf2f7;
      color: #314255;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-status-badge.status-linked {
      background: #e7f5ec;
      color: #166534;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-status-badge.status-unlinked {
      background: #fff3cd;
      color: #8a6d1f;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-status-badge.status-count {
      background: #e6eefc;
      color: #1d4ed8;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-switch-row {
      padding-top: 0.3rem;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-form-actions {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid var(--nc-border);
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-empty-state {
      border: 1px dashed var(--nc-border-strong);
      border-radius: 16px;
      padding: 1.15rem 1.2rem;
      background: #fafcfe;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-rule-group-list {
      display: grid;
      gap: 1rem;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-rule-group {
      border: 1px solid var(--nc-border);
      border-radius: 16px;
      padding: 1rem;
      background: #fff;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-rule-group-header {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      align-items: flex-start;
      margin-bottom: 0.9rem;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-code-link {
      color: #14532d;
      font-weight: 700;
      text-decoration: none;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-code-link:hover,
    .inline-style-scope--organisatie-verloningscomponenten .nc-code-link:focus {
      text-decoration: underline;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-rule-table {
      margin-bottom: 0;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-rule-table th {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--nc-text-soft);
      border-top: 0;
    }

    .inline-style-scope--organisatie-verloningscomponenten .nc-rule-table td,
    .inline-style-scope--organisatie-verloningscomponenten .nc-rule-table th {
      vertical-align: middle;
    }

    @media (max-width: 991.98px) {
      .inline-style-scope--organisatie-verloningscomponenten .nc-hero,
      .inline-style-scope--organisatie-verloningscomponenten .nc-panel-header,
      .inline-style-scope--organisatie-verloningscomponenten .nc-rule-group-header {
        flex-direction: column;
      }

      .inline-style-scope--organisatie-verloningscomponenten .nc-hero-actions,
      .inline-style-scope--organisatie-verloningscomponenten .nc-selection-pills {
        width: 100%;
        justify-content: flex-start;
      }
    }

/* NexusCareAdmin/organisatie/verloningsgroepen.aspx */
.inline-style-scope--organisatie-verloningsgroepen [x-cloak] { display: none !important; }
    .inline-style-scope--organisatie-verloningsgroepen .paygroup-list { border: 1px solid #e3e7ed; border-radius: 12px; padding: 6px; max-height: 520px; overflow-y: auto; background: #fff; }
    .inline-style-scope--organisatie-verloningsgroepen .paygroup-item { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
    .inline-style-scope--organisatie-verloningsgroepen .paygroup-item:hover { background: #f1f5f9; }
    .inline-style-scope--organisatie-verloningsgroepen .paygroup-item.active { background: #e0e7ff; }

/* NexusCareAdmin/systeem/rooster_import.aspx */
.inline-style-scope--systeem-rooster_import .import-dropzone {
      border: 2px dashed #cbd5f5;
      border-radius: 10px;
      padding: 16px;
      background: #f8fafc;
      transition: border-color 0.2s ease, background 0.2s ease;
    }

    .inline-style-scope--systeem-rooster_import .import-dropzone input[type="file"] {
      background: #ffffff;
    }

    .inline-style-scope--systeem-rooster_import .import-dropzone-text {
      font-size: 12px;
      color: #64748b;
      margin-top: 8px;
    }

    .inline-style-scope--systeem-rooster_import .import-dropzone.is-dragging {
      border-color: #2563eb;
      background: #eff6ff;
    }

    .inline-style-scope--systeem-rooster_import .import-dropzone.has-file {
      border-color: #16a34a;
      background: #f0fdf4;
    }

    .inline-style-scope--systeem-rooster_import .code-list {
      max-width: 520px;
      white-space: normal;
    }

    .inline-style-scope--systeem-rooster_import .employee-name-cell .name-line {
      display: block;
      font-weight: 600;
    }

    .inline-style-scope--systeem-rooster_import .employee-name-cell .afas-line {
      display: block;
      color: #64748b;
      font-size: 11px;
      line-height: 1.2;
      margin-top: 2px;
    }

    .inline-style-scope--systeem-rooster_import .raw-row-warning-col {
      width: 1%;
      min-width: 44px;
      white-space: nowrap;
      text-align: center;
    }

    .inline-style-scope--systeem-rooster_import .raw-row-warning-btn {
      min-width: 32px;
      padding-left: 0.4rem;
      padding-right: 0.4rem;
    }

    .inline-style-scope--systeem-rooster_import .issue-panel {
      position: absolute;
      top: 0;
      right: 0;
      width: 360px;
      max-width: 100%;
      height: 100%;
      background: #ffffff;
      border-left: 1px solid #dbe3ef;
      box-shadow: -10px 0 20px rgba(15, 23, 42, 0.08);
      z-index: 10;
      display: flex;
      flex-direction: column;
    }

    .inline-style-scope--systeem-rooster_import .issue-panel-head {
      padding: 10px 12px;
      border-bottom: 1px solid #e5e7eb;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .inline-style-scope--systeem-rooster_import .issue-panel-body {
      overflow: auto;
      padding: 10px 12px;
    }

    .inline-style-scope--systeem-rooster_import .issue-item {
      border: 1px solid #f6d7a6;
      background: #fffaf0;
      border-radius: 6px;
      padding: 8px;
      margin-bottom: 8px;
      font-size: 12px;
    }

    .inline-style-scope--systeem-rooster_import .raw-table-wrap.issue-open {
      margin-right: 370px;
      transition: margin-right 0.2s ease;
    }

    .inline-style-scope--systeem-rooster_import .commit-progress-modal {
      position: fixed;
      inset: 0;
      z-index: 1060;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .inline-style-scope--systeem-rooster_import .commit-progress-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.5);
    }

    .inline-style-scope--systeem-rooster_import .commit-progress-dialog {
      position: relative;
      z-index: 1;
      width: min(560px, calc(100vw - 32px));
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
      padding: 16px;
    }

    .inline-style-scope--systeem-rooster_import .commit-progress-title {
      font-weight: 600;
      font-size: 18px;
      margin-bottom: 10px;
    }

    .inline-style-scope--systeem-rooster_import .commit-progress-message {
      color: #334155;
      margin-bottom: 10px;
    }

    .inline-style-scope--systeem-rooster_import .commit-progress-bar-wrap {
      height: 18px;
    }

    .inline-style-scope--systeem-rooster_import .commit-progress-meta {
      margin-top: 8px;
      font-size: 12px;
      color: #64748b;
      min-height: 16px;
    }

    .inline-style-scope--systeem-rooster_import .raw-employee-select {
      min-width: 320px;
    }

    .inline-style-scope--systeem-rooster_import .select2-container {
      min-width: 320px;
      max-width: 100%;
    }

    .inline-style-scope--systeem-rooster_import .select2-container .select2-selection--single {
      min-height: 31px;
    }

/* NexusCareAdmin/systeem/settings.aspx */
.inline-style-scope--systeem-settings [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--systeem-settings .system-settings-color-preview {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 40px;
      padding: 8px 12px;
      border: 1px solid #dee2e6;
      border-radius: 999px;
      font-size: 0.875rem;
      font-weight: 600;
    }

    .inline-style-scope--systeem-settings .system-settings-color-preview__dot {
      width: 12px;
      height: 12px;
      border: 1px solid currentColor;
      border-radius: 4px;
      flex: 0 0 auto;
    }

/* NexusCareAdmin/systeem/settings_manage.aspx */
.inline-style-scope--systeem-settings_manage [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--systeem-settings_manage .settings-management-table textarea.form-control {
      min-height: 64px;
      resize: vertical;
    }

    .inline-style-scope--systeem-settings_manage .settings-management .modal-backdrop {
      background-color: rgba(15, 23, 42, 0.45);
    }

    .inline-style-scope--systeem-settings_manage .settings-management .settings-management-modal {
      display: block;
    }
/* END migrated inline-style-reference page sections */

.top-issue-report-item {
  position: relative;
}

.top-issue-report-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--app-border);
  border-radius: 999px;
  background: var(--app-surface);
  color: var(--app-text-secondary);
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.top-issue-report-trigger:hover,
.top-issue-report-trigger:focus-visible {
  color: var(--app-primary);
  border-color: rgba(var(--bs-primary-rgb), 0.35);
  background: rgba(var(--bs-primary-rgb), 0.08);
  box-shadow: 0 0 0 0.2rem var(--app-focus-ring);
}

.top-issue-report-trigger::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  padding: 0.35rem 0.55rem;
  border-radius: 0.45rem;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.2rem);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 1090;
}

.top-issue-report-trigger:hover::after,
.top-issue-report-trigger:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.nc-issue-report-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 1080;
}

.nc-issue-report-modal-shell {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1090;
}

.nc-issue-report-modal {
  width: min(860px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 0;
}

.nc-issue-report-modal .modal-content {
  max-height: calc(100vh - 2rem);
  border: 1px solid var(--app-border);
  border-radius: 1rem;
  box-shadow: var(--app-elevated-shadow);
}

.nc-issue-report-modal .modal-body {
  overflow: auto;
}

.nc-issue-report-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.nc-issue-report-preview {
  display: grid;
  gap: 0.45rem;
  border: 1px solid var(--app-border);
  border-radius: 0.85rem;
  background: var(--app-surface);
  padding: 0.5rem;
  text-align: left;
  transition: border-color 0.16s ease, background-color 0.16s ease, opacity 0.16s ease;
}

.nc-issue-report-preview:hover,
.nc-issue-report-preview:focus-visible {
  border-color: rgba(var(--bs-primary-rgb), 0.35);
}

.nc-issue-report-preview.is-excluded {
  opacity: 0.52;
  background: var(--app-surface-subtle);
}

.nc-issue-report-preview img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 0.65rem;
  border: 1px solid var(--app-border);
  background: var(--app-surface-subtle);
}

.nc-issue-report-preview__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--app-text-secondary);
}

.nc-issue-reports-page__url,
.nc-issue-reports-page__error {
  max-width: 24rem;
  word-break: break-word;
}
