@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: #f8fafc;
  --app-surface: #ffffff;
  --app-surface-subtle: #f1f5f9;
  --app-border: #d8e2ee;
  --app-border-soft: #e5edf6;
  --app-divider: #d8e2ee;
  --app-text: #0f172a;
  --app-text-secondary: #475569;
  --app-text-muted: #526277;
  --bs-secondary-color: var(--app-text-muted);
  --bs-secondary-color-rgb: 82, 98, 119;
  --app-primary: #2563eb;
  --app-primary-hover: #1d4ed8;
  --app-primary-soft: #eff6ff;
  --app-primary-surface: #eff6ff;
  --app-primary-border-soft: #93c5fd;
  --app-primary-text: #1e40af;
  --app-primary-contrast: #ffffff;
  --app-success: #16a34a;
  --app-success-soft: #dcfce7;
  --app-success-surface: #f0fdf4;
  --app-success-text: #166534;
  --app-warning: #f59e0b;
  --app-warning-soft: #fef3c7;
  --app-warning-text: #92400e;
  --app-info-soft: #eaf2ff;
  --app-neutral-state: #64748b;
  --app-neutral-state-soft: #f1f5f9;
  --app-neutral-state-text: #475569;
  --app-danger: #ef4444;
  --app-danger-hover: #b91c1c;
  --app-danger-soft: #fef2f2;
  --app-danger-text: #7f1d1d;
  --app-accent-teal: #0f766e;
  --app-row-alt: #f8fafc;
  --app-row-hover: #eff6ff;
  --app-row-selected: #eff6ff;
  --app-focus-ring: rgba(37, 99, 235, 0.25);
  --app-elevated-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --app-subtle-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  --app-soft-shadow: var(--app-subtle-shadow);
  --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: 17rem;
  --app-sidebar-collapsed-width: 4.5rem;
  --app-sidebar-surface: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  --app-sidebar-card: #edf3fa;
  --app-sidebar-card-border: #d7dfeb;
  --app-sidebar-pill: #e5edf7;
  --app-sidebar-label: #607089;
  --app-sidebar-icon: #5b6b86;
  --app-bottom-bar-height: 3.75rem;
  --app-shell-viewport-height: 100vh;
  --app-shell-content-height: calc(var(--app-shell-viewport-height) - var(--app-header-height) - var(--app-bottom-bar-height));
  --app-space-1: 4px;
  --app-space-2: 8px;
  --app-space-3: 12px;
  --app-space-4: 16px;
  --app-space-6: 24px;
  --app-grid-gutter: 8px;

  --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;
}

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);
}

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;
}

small,
.form-text,
.text-small,
.sidebar-menu .sidebar-menu-section,
.global-search-group-title {
  font-size: 0.8125rem;
}

.text-muted,
.form-text {
  color: var(--app-text-muted) !important;
}

.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.5rem;
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.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.5rem;
  min-height: 2.125rem;
}

.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: 0 1px 2px rgba(37, 99, 235, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.18);
}

.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);
}

.btn-outline-primary {
  --bs-btn-color: var(--app-primary);
  --bs-btn-border-color: var(--app-primary-border-soft);
  --bs-btn-hover-bg: var(--app-primary-soft);
  --bs-btn-hover-color: var(--app-primary-hover);
  --bs-btn-hover-border-color: var(--app-primary);
}

.btn-outline-danger,
.btn-danger {
  --bs-btn-border-color: var(--app-danger);
}

.btn-danger {
  --bs-btn-bg: var(--app-danger);
  --bs-btn-hover-bg: var(--app-danger-hover);
  --bs-btn-hover-border-color: var(--app-danger-hover);
}

.btn i[data-feather],
.btn svg,
.nav-tabs .nav-link i[data-feather],
.nav-tabs .nav-link svg,
.nc-work-tab i[data-feather],
.nc-work-tab svg,
.base-table-page__catalog-tab i[data-feather],
.base-table-page__catalog-tab svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
}

.app-action-icon {
  background-repeat: no-repeat;
  background-position: 0.72rem center;
  background-size: 1rem 1rem;
  padding-left: 2.2rem;
}

.btn-sm.app-action-icon {
  background-position-x: 0.52rem;
  padding-left: 1.9rem;
}

.app-action-icon-search {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}

.btn-outline-secondary.app-action-icon-search,
.btn-warning.app-action-icon-search {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}

.app-action-icon-refresh,
.app-action-icon-reset {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10'/%3E%3Cpath d='M20.49 15a9 9 0 0 1-14.85 3.36L1 14'/%3E%3C/svg%3E");
}

.app-action-icon-save {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z'/%3E%3Cpolyline points='17 21 17 13 7 13 7 21'/%3E%3Cpolyline points='7 3 7 8 15 8'/%3E%3C/svg%3E");
}

.app-action-icon-delete {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3Cpath d='M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/%3E%3C/svg%3E");
}

.app-action-icon-upload {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E");
}

.app-action-icon-login {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' y1='12' x2='3' y2='12'/%3E%3C/svg%3E");
}

.app-icon-action,
.btn.app-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  min-width: 2.125rem;
  height: 2.125rem;
  min-height: 2.125rem;
  padding: 0;
  gap: 0;
  line-height: 1;
}

.app-icon-action i[data-feather],
.app-icon-action svg {
  margin: 0 !important;
}

.app-create-action,
.btn.app-create-action {
  --bs-btn-color: var(--app-primary-contrast);
  --bs-btn-bg: var(--app-primary);
  --bs-btn-border-color: var(--app-primary);
  --bs-btn-hover-color: var(--app-primary-contrast);
  --bs-btn-hover-bg: var(--app-primary-hover);
  --bs-btn-hover-border-color: var(--app-primary-hover);
  --bs-btn-active-color: var(--app-primary-contrast);
  --bs-btn-active-bg: var(--app-primary-hover);
  --bs-btn-active-border-color: var(--app-primary-hover);
  width: 2.25rem;
  min-width: 2.25rem;
  height: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  gap: 0;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.18);
}

.app-create-action.btn-sm,
.btn-sm.app-create-action {
  width: 2.125rem;
  min-width: 2.125rem;
  height: 2.125rem;
  min-height: 2.125rem;
}

.app-create-action:hover,
.app-create-action:focus {
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.18);
}

.app-create-action i[data-feather],
.app-create-action svg {
  margin: 0 !important;
}

.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--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);
}

.nc-message-read-state {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.nc-message-read-state--unread {
  background: #fff7ed;
  color: #c2410c;
}

.nc-message-read-state--read {
  background: #ecfdf3;
  color: #166534;
}

.nc-message-read-state--not-applicable {
  background: #eef2f7;
  color: #475569;
}

.nc-message-item__read-receipt {
  margin-top: 0.35rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
}

.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-body,
.box-body {
  padding: 0.75rem 0.875rem;
}

.form-label,
label.form-label {
  color: var(--app-text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  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;
  min-height: 2.25rem;
  border-radius: 0.5rem;
}

.form-control::placeholder {
  color: var(--app-text-muted);
}

.form-control:focus,
.form-select:focus,
.login-input-group:focus-within {
  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.5rem 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);
}

.inline-style-scope--systeem-audit_logs .table-hover > tbody > tr:hover > * {
  --bs-table-color-state: var(--app-text);
  --bs-table-bg-state: var(--app-row-hover);
  color: var(--app-text) !important;
  background-color: var(--app-row-hover) !important;
}

.inline-style-scope--systeem-audit_logs .table-hover > tbody > tr:hover .badge {
  color: #0f172a;
  background-color: #ffffff !important;
  border: 1px solid #d8e2ee;
}

.inline-style-scope--systeem-audit_logs .table-hover > tbody > tr:hover code {
  color: #be185d;
}

.inline-style-scope--systeem-representative_users .representative-users-table.table-hover > tbody > tr:hover > * {
  --bs-table-color-state: var(--app-text);
  --bs-table-bg-state: #eaf3ff;
  background-color: #eaf3ff;
  color: var(--app-text) !important;
}

.inline-style-scope--systeem-representative_users .representative-users-table-shell,
.inline-style-scope--systeem-representative_users .representative-users-table .actions-cell {
  overflow: visible;
}

.inline-style-scope--systeem-representative_users .representative-action-menu {
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
}

.inline-style-scope--systeem-representative_users .representative-action-menu.is-open {
  z-index: 60;
}

.inline-style-scope--systeem-representative_users .representative-action-menu__trigger {
  width: 32px;
  height: 32px;
  border: 1px solid var(--app-border);
  border-radius: 6px;
  background: var(--app-surface);
  color: var(--app-text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.inline-style-scope--systeem-representative_users .representative-action-menu__trigger:hover,
.inline-style-scope--systeem-representative_users .representative-action-menu__trigger:focus {
  background: var(--app-surface-subtle);
  color: var(--app-text);
}

.inline-style-scope--systeem-representative_users .representative-action-menu__trigger svg {
  width: 18px;
  height: 18px;
}

.inline-style-scope--systeem-representative_users .representative-action-menu__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 61;
  width: 280px;
  padding: 8px;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: var(--app-surface);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
  text-align: left;
}

.inline-style-scope--systeem-representative_users .representative-action-menu__item {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--app-text);
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.inline-style-scope--systeem-representative_users .representative-action-menu__item:hover,
.inline-style-scope--systeem-representative_users .representative-action-menu__item:focus {
  background: var(--app-row-hover);
  color: var(--app-text);
}

.inline-style-scope--systeem-representative_users .representative-action-menu__divider {
  height: 1px;
  margin: 8px 0;
  background: var(--app-border);
}

.inline-style-scope--systeem-representative_users .representative-reset-control {
  min-width: 240px;
}

.inline-style-scope--systeem-representative_users .representative-customer-checklist {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: var(--app-surface);
  padding: 10px 12px;
}

.inline-style-scope--systeem-representative_users .representative-customer-checklist__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.inline-style-scope--systeem-representative_users .representative-customer-checklist__items li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #eef2f7;
}

.inline-style-scope--systeem-representative_users .representative-customer-checklist__items li:last-child {
  border-bottom: 0;
}

.table thead th,
.table th {
  background-color: var(--app-surface-subtle);
  color: var(--app-text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.table tbody td,
.table td {
  font-size: 0.875rem;
}

.nav-tabs {
  border-bottom-color: var(--app-border);
  gap: 0.25rem;
}

.nav-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--app-text-secondary);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.nav-tabs .nav-link.active {
  color: var(--app-primary);
  background: transparent;
  border-bottom-color: var(--app-primary);
}

/* Shared compact operator tabs. Use these instead of page-local tab pills. */
.nc-work-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  border-bottom: 1px solid var(--app-divider);
  padding-top: 4px;
}

.nc-work-tabs--wrap {
  flex-wrap: wrap;
}

.nc-work-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--app-text-secondary);
  border-radius: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: -1px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.nc-work-tab:hover {
  color: var(--app-text);
}

.nc-work-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.12);
}

.nc-work-tab.is-active {
  background: transparent;
  border-bottom-color: var(--app-primary);
  color: var(--app-primary);
  box-shadow: none;
}

/* Shared layout/text utilities for extracted page styles. */
.nc-stack-6 {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nc-stack-8,
.inline-style-scope--organisatie-dienstcodes .nc-preview-code-list,
.inline-style-scope--organisatie-ochart .ochart-employee-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nc-stack-10,
.inline-style-scope--systeem-customer_scope .customer-scope-panel--navigator .customer-scope-scroll {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nc-inline-8,
.inline-style-scope--organisatie-dienstroosterview .field-inline,
.inline-style-scope--organisatie-ochart .ochart-search-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nc-wrap-8,
.inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-stats,
.inline-style-scope--organisatie-toeslagregelingen .days-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nc-wrap-end-8,
.inline-style-scope--systeem-customer_scope .customer-scope-selector-meta,
.inline-style-scope--systeem-customer_scope .customer-scope-console-pills,
.inline-style-scope--zorg-klant_onderhoud .assignment-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nc-split-header,
.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;
  align-items: flex-start;
  gap: 16px;
}

.nc-split-header-wrap,
.inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-toolbar,
.inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-detail__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.nc-auto-grid-240,
.inline-style-scope--organisatie-feestdagen .year-calendar-grid,
.inline-style-scope--systeem-dienstcode_toeslag_audit .audit-matrix-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.nc-meta-subtle,
.inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-node.hierarchy-node .ochart-node-meta,
.inline-style-scope--organisatie-ochart .ochart-node-meta,
.inline-style-scope--organisatie-ochart .employee-result-function {
  font-size: 12px;
  color: var(--app-neutral-state);
  margin-top: 2px;
}

.nc-kicker-muted,
.inline-style-scope--zorg-klanten .customer-detail-eyebrow,
.inline-style-scope--systeem-dienstcode_toeslag_audit .audit-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--app-neutral-state);
  margin-bottom: 6px;
}

.nc-title-compact,
.inline-style-scope--systeem-dienstcode_toeslag_audit .audit-chip-card__title,
.inline-style-scope--organisatie-ochart .ochart-search-result-label,
.inline-style-scope--organisatie-ochart .ochart-employee-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--app-text);
}

.nc-title-strong,
.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-business-unit__name,
.inline-style-scope--organisatie-dienstcodes .nc-import-dropzone__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--app-text);
}

.nc-filter-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 4px 4px 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--app-border);
}

.nc-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--app-border-soft);
  border-radius: 12px;
  color: var(--app-text);
  background: var(--app-surface);
  text-align: left;
  white-space: normal;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.nc-filter-option:hover,
.nc-filter-option:focus {
  color: var(--app-text);
  background: rgba(var(--bs-primary-rgb), 0.04);
  border-color: rgba(var(--bs-primary-rgb), 0.24);
}

.nc-filter-option.active {
  color: var(--app-primary-contrast);
  background: var(--app-primary);
  border-color: var(--app-primary);
}

.nc-filter-option.active:hover,
.nc-filter-option.active:focus {
  background: var(--app-primary-hover);
  border-color: var(--app-primary-hover);
}

.nc-filter-chip-indicator {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.22;
  flex: 0 0 auto;
}

.nc-filter-option.active .nc-filter-chip-indicator {
  background: rgba(255, 255, 255, 0.95);
  opacity: 1;
}

.nc-panel-soft-gradient {
  border: 1px solid #dce7f1;
  border-radius: 14px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #f8fbfd 0%, var(--app-surface) 100%);
}

.nc-kicker-accent {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--app-accent-teal);
}

.nc-title-lg-strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--app-text);
}

.nc-title-md-strong {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--app-text);
}

.nc-copy-sm-muted {
  color: var(--app-text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.nc-table-shell {
  border: 1px solid var(--app-border-soft);
  border-radius: 8px;
  overflow: hidden;
  background: var(--app-surface);
}

.nc-table-head-subtle thead th {
  background: var(--app-row-alt);
  white-space: nowrap;
}

.nc-table-middle td {
  vertical-align: middle;
}

.nc-modal-section-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--app-border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.nc-modal-section-body {
  padding: 16px 20px;
  overflow-y: auto;
}

.nc-modal-section-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--app-border-soft);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nc-icon-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
}

.nc-field-grow {
  flex: 1 1 280px;
  margin-bottom: 0;
}

.nc-dropzone-drag-state,
.inline-style-scope--organisatie-dienstcodes .nc-import-dropzone.is-dragging,
.inline-style-scope--systeem-dienstcodes_import .import-dropzone.is-dragging,
.inline-style-scope--systeem-functies_import .import-dropzone.is-dragging,
.inline-style-scope--systeem-medewerkers_import .import-dropzone.is-dragging,
.inline-style-scope--systeem-rapportage_import .import-dropzone.is-dragging,
.inline-style-scope--systeem-rooster_import .import-dropzone.is-dragging {
  border-color: var(--app-primary);
  background: var(--app-primary-surface);
}

.nc-dropzone-file-state,
.inline-style-scope--organisatie-dienstcodes .nc-import-dropzone.has-file,
.inline-style-scope--systeem-dienstcodes_import .import-dropzone.has-file,
.inline-style-scope--systeem-functies_import .import-dropzone.has-file,
.inline-style-scope--systeem-medewerkers_import .import-dropzone.has-file,
.inline-style-scope--systeem-rapportage_import .import-dropzone.has-file,
.inline-style-scope--systeem-rooster_import .import-dropzone.has-file {
  border-color: var(--app-success);
  background: var(--app-success-surface);
}

.nc-dropzone-drag-state-alt,
.inline-style-scope--systeem-klanten_import .import-dropzone.is-dragging,
.inline-style-scope--systeem-medicatie_import .import-dropzone.is-dragging {
  border-color: var(--app-primary);
  background: var(--app-primary-surface);
}

.nc-dropzone-file-state-alt,
.inline-style-scope--systeem-klanten_import .import-dropzone.has-file,
.inline-style-scope--systeem-medicatie_import .import-dropzone.has-file {
  border-color: var(--app-success);
  background: var(--app-success-surface);
}

.nc-text-muted-12,
.inline-style-scope--zorg-klant_onderhoud .assignment-helper,
.inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-tree-meta,
.inline-style-scope--organisatie-ochart .ochart-search-result-sub,
.inline-style-scope--organisatie-ochart .ochart-search-empty,
.inline-style-scope--organisatie-ochart .ochart-business-info-sub,
.inline-style-scope--organisatie-ochart .ochart-panel-sub {
  color: var(--app-neutral-state);
  font-size: 12px;
}

.nc-grid-gap-4,
.nc-workflow-shell,
.klanten-overview,
.system-settings,
.settings-management,
.permissions-hub,
.inline-style-scope--organisatie-verloningscomponenten .nc-rule-group-list {
  display: grid;
  gap: 1rem;
}

.nc-hover-card-accent:hover,
.user-management .nc-user-list-card:hover,
.nc-record-list-card:hover,
.product-management .product-list-item:hover,
.medicine-management .medicine-list-item:hover,
.employee-maintenance .employee-item:hover,
.functie-maintenance .functie-item:hover,
.tellers .teller-item:hover,
.paygroups .paygroup-item:hover {
  border-color: var(--app-primary-soft);
  box-shadow: 0 6px 16px rgba(var(--bs-primary-rgb), 0.08);
}

.nc-grid-gap-3,
.user-management .nc-user-detail-shell,
.inline-style-scope--organisatie-verloningscomponenten .nc-list {
  display: grid;
  gap: 0.75rem;
}

.nc-elevated-panel-soft,
.product-management .product-panel,
.medicine-management .medicine-list-panel,
.medicine-management .medicine-editor,
.employee-maintenance .employee-list-panel,
.employee-maintenance .employee-editor-shell,
.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);
}

.nc-scroll-560,
.klanten-overview .table-responsive,
.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;
}

.nc-title-slate-600,
.inline-style-scope--zorg-producten .product-list-item__title,
.inline-style-scope--systeem-geneesmiddelen .medicine-list-item__title {
  color: var(--app-text);
  font-weight: 600;
}

.nc-page-btn-primary,
.inline-style-scope--zorg-klanten .btn-primary,
.inline-style-scope--main-changepassword .btn-primary {
  background-color: var(--app-primary);
  border-color: var(--app-primary);
}

.nc-page-btn-primary:hover,
.inline-style-scope--zorg-klanten .btn-primary:hover,
.inline-style-scope--main-changepassword .btn-primary:hover {
  background-color: var(--app-primary-hover);
  border-color: var(--app-primary-hover);
}

.nc-page-btn-danger,
.inline-style-scope--zorg-klanten .btn-danger,
.inline-style-scope--main-changepassword .btn-danger {
  background-color: var(--app-danger);
  border-color: var(--app-danger);
}

.nc-page-btn-danger:hover,
.inline-style-scope--zorg-klanten .btn-danger:hover,
.inline-style-scope--main-changepassword .btn-danger:hover {
  background-color: var(--app-danger-hover);
  border-color: var(--app-danger-hover);
}

.nc-warning-pill-soft,
.inline-style-scope--systeem-customer_scope .customer-scope-stat-pill--dirty,
.inline-style-scope--systeem-customer_scope .customer-scope-source-pill--draft {
  background: var(--app-warning-soft);
  color: var(--app-warning-text);
}

.nc-ochart-title-600,
.inline-style-scope--organisatie-ochart .ochart-node-title,
.inline-style-scope--organisatie-ochart .ochart-employee-stack .stack-title {
  color: var(--app-text);
  font-weight: 600;
}

.nc-ochart-meta-12,
.inline-style-scope--organisatie-ochart .ochart-node-type,
.inline-style-scope--organisatie-ochart .ochart-employee-stack .stack-meta {
  color: var(--app-text-secondary);
  font-size: 12px;
}

.nc-toggle-hover-primary,
.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,
.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: var(--app-primary-surface);
  outline: none;
}

.nc-list-indent-reset,
.inline-style-scope--zorg-klant_onderhoud .validation-summary-list,
.inline-style-scope--main-noaccess .noaccess-help ul {
  margin: 0;
  padding-left: 18px;
}

.nc-invalid-field-danger,
.inline-style-scope--organisatie-dienstrooster .dienstrooster-field-invalid .form-control,
.inline-style-scope--organisatie-dienstrooster .dienstrooster-field-invalid .form-select,
.inline-style-scope--organisatie-dienstrooster .dienstrooster-field-invalid .select2-container--bootstrap-5 .select2-selection {
  border-color: var(--app-danger);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-danger-rgb), 0.15);
}

.nc-title-strong-dark,
.inline-style-scope--systeem-dienstcode_toeslag_audit .audit-intro-title,
.inline-style-scope--systeem-dienstcode_toeslag_audit .audit-gap-issue__context {
  color: var(--app-text);
  font-weight: 700;
}

.nc-synthetic-surface,
.inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-node.hierarchy-node.ghost,
.inline-style-scope--organisatie-ochart .ochart-column-card.synthetic-node {
  background: var(--app-row-alt);
  border-style: dashed;
}

.nc-missing-kostenplaats,
.inline-style-scope--organisatie-ochart .ochart-business-info.missing-kostenplaats,
.inline-style-scope--organisatie-ochart .ochart-column-card.missing-kostenplaats {
  border-color: var(--app-danger);
  box-shadow: 0 0 0 1px rgba(var(--bs-danger-rgb), 0.2);
}

.nc-meta-spacing-2,
.inline-style-scope--organisatie-ochart .ochart-drawer-sub,
.inline-style-scope--organisatie-ochart .ochart-employee-meta {
  font-size: 12px;
  margin-top: 2px;
}

.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;
}

.page-bottom-branding {
  position: fixed;
  bottom: 0;
  left: var(--app-sidebar-width);
  width: calc(100% - var(--app-sidebar-width));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 20px;
  z-index: 900;
  background-color: var(--app-surface);
  border-top: 1px solid var(--app-border);
  text-align: center;
}

.sidebar-branding {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1rem 0.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 18%, #ffffff 100%);
  z-index: 1;
}

.sidebar-branding__logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 36px;
  height: auto;
  object-fit: contain;
}

.sidebar-build-info {
  flex: 0 0 auto;
  padding: 0.1rem 1rem 0.65rem;
  color: var(--app-text-muted);
  font-size: 0.65rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

body.sidebar-collapse .sidebar-build-info {
  display: none;
}

.bottom-copyright {
  display: block;
  width: 100%;
  color: var(--app-text-secondary);
  font-size: 0.75rem;
  text-align: center;
}

.content-wrapper {
  margin-top: var(--app-header-height);
  margin-left: var(--app-sidebar-width);
  min-height: max(0px, var(--app-shell-content-height));
  padding-bottom: calc(var(--app-bottom-bar-height) + 1rem);
  display: flex;
  flex-direction: column;
  overflow: visible;
  background-color: var(--app-bg);
  border-radius: 1.25rem 0 0 0;
  transition: margin 0.3s ease, transform 0.3s ease;
}

.content {
  flex: 1 1 auto;
  width: 100%;
  padding: var(--app-space-3) var(--app-space-3) 0;
}

.inline-style-scope--organisatie-dienstrooster .rooster-review-badge {
  background-color: #fef08a;
  border: 1px solid #eab308;
  color: #713f12;
}

/* Project row/column gutter contract */
.row {
  --bs-gutter-x: var(--app-grid-gutter);
  --bs-gutter-y: var(--app-grid-gutter);
}

.row.g-1,
.row.g-2,
.row.g-3,
.row.g-4,
.row.g-5,
.row.gx-1,
.row.gx-2,
.row.gx-3,
.row.gx-4,
.row.gx-5 {
  --bs-gutter-x: var(--app-grid-gutter);
}

.row.g-1,
.row.g-2,
.row.g-3,
.row.g-4,
.row.g-5,
.row.gy-1,
.row.gy-2,
.row.gy-3,
.row.gy-4,
.row.gy-5 {
  --bs-gutter-y: var(--app-grid-gutter);
}

/* Shared tooltips live in app-theme.css only */
.content-header,
.content-header > .d-flex,
.content-header .ms-auto {
  overflow: visible;
}

.tooltip-btn,
.tooltip-wrapper {
  position: relative;
}

.tooltip-btn.app-tooltip-portal-bound::before,
.tooltip-btn.app-tooltip-portal-bound::after,
.tooltip-wrapper.app-tooltip-portal-bound::before,
.tooltip-wrapper.app-tooltip-portal-bound::after {
  display: none !important;
}

.tooltip-btn::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  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;
  z-index: 1100;
  pointer-events: none;
}

.tooltip-btn::before,
.tooltip-wrapper::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #111827 transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 1100;
  pointer-events: none;
}

.tooltip-btn:not([data-tip])::after,
.tooltip-btn:not([data-tip])::before,
.tooltip-btn[data-tip=""]::after,
.tooltip-btn[data-tip=""]::before {
  display: none;
}

.tooltip-btn:hover::after,
.tooltip-btn:hover::before,
.tooltip-btn:focus-within::after,
.tooltip-btn:focus-within::before,
.tooltip-wrapper:hover::after,
.tooltip-wrapper:hover::before,
.tooltip-wrapper:focus-within::after,
.tooltip-wrapper:focus-within::before {
  opacity: 1;
  visibility: visible;
}

.tooltip-wrapper::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  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;
  z-index: 1100;
  pointer-events: none;
}

.tooltip-btn--bottom::after,
.tooltip-wrapper--bottom::after {
  top: calc(100% + 8px);
  bottom: auto;
}

.tooltip-btn--bottom::before,
.tooltip-wrapper--bottom::before {
  top: calc(100% + 2px);
  bottom: auto;
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent #111827 transparent;
}

.app-tooltip-portal {
  position: fixed;
  left: 0;
  top: 0;
  max-width: min(280px, calc(100vw - 16px));
  padding: 6px 8px;
  border-radius: 6px;
  background: #111827;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

.app-tooltip-portal.is-visible {
  opacity: 1;
  visibility: visible;
}

.app-tooltip-portal::before {
  content: "";
  position: absolute;
  left: var(--app-tooltip-arrow-left, 50%);
  width: 0;
  height: 0;
  transform: translateX(-50%);
}

.app-tooltip-portal[data-placement="top"]::before {
  top: 100%;
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #111827 transparent transparent transparent;
}

.app-tooltip-portal[data-placement="bottom"]::before {
  bottom: 100%;
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent #111827 transparent;
}

.dashboard-page-shell {
  display: block;
}

.dashboard-page-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.dashboard-title-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.2rem;
}

.dashboard-title-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.35rem 0.45rem;
}

.dashboard-title-action svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
}

.dashboard-customize-summary {
  display: grid;
  gap: 0.45rem;
  margin-bottom: var(--app-space-2);
}

.dashboard-customize-summary:empty {
  display: none;
}

.dashboard-hidden-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.dashboard-hidden-card-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.25rem 0.35rem 0.25rem 0.6rem;
  border: 1px solid var(--app-border);
  border-radius: 0.5rem;
  background: var(--app-surface);
  color: var(--app-text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.dashboard-customize-status {
  min-height: 0;
  color: var(--app-text-secondary);
  font-size: 0.85rem;
  line-height: 1.35;
}

.dashboard-customize-status:empty {
  display: none;
}

.dashboard-customize-status--success {
  color: #166534;
}

.dashboard-customize-status--warning {
  color: #92400e;
}

.dashboard-customize-status--info {
  color: #1d4ed8;
}

.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-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(var(--bs-primary-rgb), 0.35);
  box-shadow: 0 0 0 0.22rem var(--app-focus-ring), var(--app-subtle-shadow);
}

.dashboard-nav-card:active {
  transform: translateY(0);
}

.dashboard-header-shortcuts {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.dashboard-header-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  background: var(--app-surface);
}

.dashboard-header-shortcut svg {
  width: 0.95rem;
  height: 0.95rem;
}

@media (min-width: 992px) {
  .dashboard-title-action .dashboard-action-text {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 50%;
    z-index: 1060;
    width: max-content;
    max-width: 14rem;
    padding: 0.35rem 0.5rem;
    border-radius: 0.375rem;
    background: #111827;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.15;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -0.2rem);
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .dashboard-title-action .dashboard-action-text::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent #111827 transparent;
    transform: translateX(-50%);
  }

  .dashboard-title-action:hover .dashboard-action-text,
  .dashboard-title-action:focus-visible .dashboard-action-text {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 991.98px) {
  .dashboard-page-title {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .dashboard-title-actions {
    flex-wrap: wrap;
    margin-left: 0;
  }

  .dashboard-title-action {
    min-width: 0;
    padding-right: 0.65rem;
    padding-left: 0.65rem;
  }

  .dashboard-title-action .dashboard-action-text {
    position: static;
    color: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    opacity: 1;
    transform: none;
  }
}

.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(var(--bs-danger-rgb), 0.08) 0%, var(--app-surface) 34%);
  border-color: rgba(var(--bs-danger-rgb), 0.24);
}

.dashboard-nav-card--danger::before {
  background: var(--app-danger);
}

.dashboard-nav-card--warning {
  background: linear-gradient(180deg, rgba(var(--bs-warning-rgb), 0.12) 0%, var(--app-surface) 34%);
  border-color: rgba(var(--bs-warning-rgb), 0.3);
}

.dashboard-nav-card--warning::before {
  background: var(--app-warning);
}

.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: var(--app-text-secondary);
}

.dashboard-nav-card--danger .dashboard-nav-card-label {
  background: rgba(var(--bs-danger-rgb), 0.16);
  color: var(--app-danger-text);
}

.dashboard-nav-card--warning .dashboard-nav-card-label {
  background: rgba(var(--bs-warning-rgb), 0.22);
  color: var(--app-warning-text);
}

.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-count-agreed {
  color: var(--app-success-text);
  font-weight: 600;
}

.dashboard-grid .text-fade {
  color: var(--app-text-secondary) !important;
}

.dashboard-card-muted {
  color: var(--app-text-secondary) !important;
}

.dashboard-card-muted strong {
  color: var(--app-text) !important;
}

.dashboard-card-metric-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.25rem 0 0;
  text-align: left;
}

.dashboard-card-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
  color: var(--app-text-secondary);
  font-size: 0.92rem;
}

.dashboard-card-metric-row strong {
  color: var(--app-text);
  font-weight: 700;
}

.dashboard-card-metric-link {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.dashboard-card-metric-link:hover,
.dashboard-card-metric-link:focus-visible {
  background: rgba(15, 23, 42, 0.08);
  color: var(--app-text);
  text-decoration: none;
}

.dashboard-card-metric-link:focus-visible,
.dashboard-card-list-link:focus-visible {
  outline: 2px solid rgba(var(--bs-primary-rgb), 0.35);
  outline-offset: 1px;
}

.dashboard-card-list {
  display: grid;
  gap: 0.45rem;
  max-height: 13rem;
  margin: 0.25rem 0 0;
  overflow: auto;
  text-align: left;
}

.dashboard-card-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
}

.dashboard-card-list-link {
  color: var(--app-text);
  text-decoration: none;
}

.dashboard-card-list-link:hover {
  background: rgba(15, 23, 42, 0.08);
  color: var(--app-text);
  text-decoration: none;
}

.dashboard-card-list-more {
  padding: 0.15rem 0.7rem;
  color: var(--app-text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
}

.dashboard-card-list-link span {
  min-width: 0;
}

.dashboard-card-list-link strong,
.dashboard-card-list-link small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-card-list-link strong {
  font-weight: 700;
}

.dashboard-card-list-link small {
  margin-top: 0.1rem;
  color: var(--app-text-secondary);
  font-size: 0.78rem;
}

.dashboard-card-list-link svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  color: var(--app-text-secondary);
}

.dashboard-card-metric-row--warning {
  background: rgba(245, 158, 11, 0.12);
}

.dashboard-card-metric-row--danger {
  background: rgba(239, 68, 68, 0.12);
}

.dashboard-chart-wave {
  margin-top: var(--app-space-4);
}

.dashboard-chart-wave__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--app-space-3);
  margin-bottom: var(--app-space-3);
}

.dashboard-chart-wave__title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--app-text);
}

.dashboard-chart-wave__subtitle {
  margin: 0.4rem 0 0;
  color: var(--app-text-secondary);
}

.dashboard-chart-wave__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--app-space-3);
}

.dashboard-chart-panel {
  margin-bottom: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.dashboard-chart-panel--interactive {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-chart-panel--interactive:hover,
.dashboard-chart-panel--interactive:focus {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.09);
}

.dashboard-chart-panel .box-body {
  padding: 1.25rem;
}

.dashboard-chart-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--app-space-3);
  margin-bottom: 0.85rem;
}

.dashboard-chart-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.dashboard-chart-panel__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--app-text);
}

.dashboard-chart-panel__subtitle {
  margin: 0.35rem 0 0;
  color: var(--app-text-secondary);
}

.dashboard-chart-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  color: var(--app-text-secondary);
  font-size: 0.9rem;
}

.dashboard-chart-panel__plot {
  min-height: 220px;
}

.dashboard-chart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding: 1rem;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.03);
  color: var(--app-text-secondary);
  text-align: center;
}

.dashboard-chart-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 1400;
}

.dashboard-chart-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(4px);
}

.dashboard-chart-modal {
  position: relative;
  width: min(1120px, calc(100vw - 2rem));
  margin: 2rem auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.dashboard-chart-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.dashboard-chart-modal__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--app-text);
}

.dashboard-chart-modal__subtitle {
  margin: 0.35rem 0 0;
  color: var(--app-text-secondary);
}

.dashboard-chart-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.dashboard-chart-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  padding: 0.95rem 1.5rem 0;
  color: var(--app-text-secondary);
  font-size: 0.92rem;
}

.dashboard-chart-modal__plot {
  min-height: 480px;
  padding: 1rem 1rem 1.25rem;
}

@media (min-width: 900px) {
  .dashboard-chart-wave__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .dashboard-chart-wave__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dashboard-chart-panel__header,
  .dashboard-chart-modal__header {
    flex-direction: column;
  }

  .dashboard-chart-panel__actions,
  .dashboard-chart-modal__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .dashboard-chart-modal {
    width: calc(100vw - 1rem);
    margin: 0.5rem auto;
  }

  .dashboard-chart-modal__plot {
    min-height: 340px;
    padding: 0.75rem 0.5rem 1rem;
  }
}

@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(5, minmax(0, 1fr));
  }
}

@media (min-width: 1680px) {
  .dashboard-grid,
  body.sidebar-collapse .dashboard-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.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;
  background: var(--app-sidebar-surface);
  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: 14.25rem;
  height: 3.1rem;
}

.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);
}

.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 svg,
.sidebar-toolbar .push-btn svg {
  width: 18px;
  height: 18px;
}

.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 > * {
  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;
}

.dropdown-menu {
  border-color: var(--app-border);
  border-radius: 0.75rem;
  box-shadow: var(--app-elevated-shadow);
  padding: 0.375rem;
}

.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 {
  width: auto;
  min-width: 36px;
  gap: 0.45rem;
  padding: 0 0.6rem;
}

.top-global-search-trigger svg,
.top-global-search-close svg {
  width: 16px;
  height: 16px;
}

.top-global-search-shortcut {
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: var(--app-surface-subtle);
  color: var(--app-text-secondary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.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-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-item {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--app-text);
  text-align: left;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.global-search-item:hover,
.global-search-item:focus,
.global-search-item.is-active {
  background: var(--app-row-hover);
  outline: none;
}

.global-search-item.is-active {
  transform: translateX(2px);
}

.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;
}

.top-global-search-trigger:hover,
.top-global-search-trigger:focus-visible,
.top-global-search-close:hover,
.top-global-search-close:focus-visible,
.main-header .navbar-custom-menu .navbar-nav > li.user-menu-dropdown > a.user-menu-toggle:hover,
.main-header .navbar-custom-menu .navbar-nav > li.user-menu-dropdown > a.user-menu-toggle:focus-visible,
.main-header .navbar-custom-menu .navbar-nav > li > a.position-relative:hover,
.main-header .navbar-custom-menu .navbar-nav > li > a.position-relative:focus-visible,
.main-header .navbar-custom-menu .navbar-nav > li.notifications-menu > a:hover,
.main-header .navbar-custom-menu .navbar-nav > li.notifications-menu > a: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);
  outline: none;
}

.main-sidebar {
  position: fixed;
  top: var(--app-header-height);
  left: 0;
  bottom: 0;
  width: var(--app-sidebar-width);
  padding: 0 0 0.75rem;
  z-index: 1035;
  background: var(--app-sidebar-surface);
  border-right: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 8px 0 24px rgba(15, 23, 42, 0.04);
  transition: width 0.3s ease, transform 0.3s ease;
}

.sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding-bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 253, 255, 0.98) 100%);
}

.multinav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.multinav-scroll-app {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 0.75rem;
}

.fixed .multinav {
  position: static;
  width: 100%;
  height: 100%;
}

.sidebar-toolbar {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.75rem;
  padding: 0.95rem 1rem 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  transition: grid-template-columns 0.24s ease, column-gap 0.24s ease, padding 0.24s ease;
}

.sidebar-toolbar .push-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-color: #d8e1ef;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--app-sidebar-icon);
  box-shadow: none;
}

.sidebar-toolbar .push-btn:hover,
.sidebar-toolbar .push-btn:focus-visible {
  color: var(--app-primary);
  border-color: rgba(var(--bs-primary-rgb), 0.32);
  background: #f8fbff;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.12);
  outline: 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-field {
  position: relative;
}

.sidebar-search-field__icon {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6c7a90;
  transform: translateY(-50%);
  pointer-events: none;
}

.sidebar-search-field__icon svg {
  width: 1rem;
  height: 1rem;
}

.sidebar-search-wrapper .form-control {
  height: 2.75rem;
  border-radius: 0.375rem;
  border-color: #d5dfed;
  background-color: rgba(248, 250, 252, 0.92);
  padding-left: 2.65rem;
  padding-right: 0.9rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sidebar-search-wrapper .form-control::placeholder {
  color: #6b7b92;
}

.sidebar-search-wrapper .form-control:focus {
  border-color: rgba(var(--bs-primary-rgb), 0.34);
  background-color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.12), inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0.5rem 1rem;
  white-space: nowrap;
}

.sidebar-menu > li {
  position: relative;
  margin: 0.2rem 0.5rem;
  border-radius: 0.375rem;
}

.sidebar-menu > li > a,
.sidebar-menu .treeview-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.68rem 0.875rem;
  color: #30425b;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  font-weight: 400;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sidebar-menu > li > a:hover,
.sidebar-menu .treeview-menu > li > a:hover,
.sidebar-menu > li > a:focus-visible,
.sidebar-menu .treeview-menu > li > a:focus-visible {
  background: rgba(241, 245, 249, 0.92);
  color: var(--app-text);
  border-color: rgba(148, 163, 184, 0.14);
  outline: none;
}

.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: 1.05rem;
  height: 1.05rem;
  color: var(--app-sidebar-icon);
}

.sidebar-menu li > a > span:not(.pull-right-container),
.inline-style-scope--zorg-producten .product-list-item__body {
  flex: 1 1 auto;
  min-width: 0;
}

.sidebar-menu > li > a > span:not(.pull-right-container) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.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: 0.95rem;
  height: 0.95rem;
  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.menu-open > a {
  background: var(--app-sidebar-card);
  border-color: var(--app-sidebar-card-border);
  color: #0f172a;
  font-weight: 700;
  box-shadow: none;
}

.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: #2f3f5b;
}

.sidebar-menu > li.treeview.menu-open + li {
  margin-top: 0.95rem;
  padding-top: 0.8rem;
}

.sidebar-menu > li.treeview.menu-open + li::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 226, 238, 0) 0%, rgba(216, 226, 238, 0.98) 18%, rgba(216, 226, 238, 0.98) 82%, rgba(216, 226, 238, 0) 100%);
  pointer-events: none;
}

.sidebar-menu > li.active:not(.treeview) > a {
  background: var(--app-sidebar-pill);
  color: #0f172a;
  font-weight: 700;
  border-color: var(--app-sidebar-card-border);
}

.sidebar-menu .treeview-menu > li.active > a {
  background: var(--app-sidebar-pill);
  color: #0f172a;
  font-weight: 700;
  border-color: var(--app-sidebar-card-border);
  box-shadow: none;
}

.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 .treeview-menu {
  display: none;
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0 0.5rem;
}

.sidebar-menu .menu-open > .treeview-menu {
  display: block;
}

.sidebar-menu .treeview-menu > li {
  margin: 0;
}

.sidebar-menu .treeview-menu > li > a {
  min-height: 2.45rem;
  padding: 0.48rem 0.875rem 0.48rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.sidebar-menu .sidebar-menu-section {
  padding: 0.75rem 0.95rem 0.35rem 1rem;
  color: var(--app-sidebar-label);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

.sidebar-menu .sidebar-menu-section + li > a {
  padding-top: 0.48rem;
}

.sidebar-menu li a .menu-icon-active,
.sidebar-menu li a .menu-icon-inactive {
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
  vertical-align: middle;
}

.sidebar-menu li a .menu-icon-active {
  display: none;
  color: var(--app-primary);
}

.sidebar-menu li a .menu-icon-inactive {
  color: #7b879b;
}

.sidebar-menu li.active > a .menu-icon-active {
  display: inline-block;
  fill: currentColor;
  stroke: currentColor;
}

.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 .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;
}

.btn-circle {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
}

.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 .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,
.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;
}

.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;
}

.login-build-info {
  color: var(--app-text-muted);
  font-size: 0.65rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.error-message {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  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,
.error-message > svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  font-size: 1rem;
}

.login-error-copy {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

.login-error-copy > span {
  display: block;
}

.login-error-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 2.25rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.72);
  color: var(--app-danger-text);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.login-error-link:hover,
.login-error-link:focus-visible {
  color: var(--app-danger-hover);
  border-color: var(--app-danger-hover);
  background-color: #ffffff;
}

.login-error-link:focus-visible {
  outline: 3px solid var(--app-focus-ring);
  outline-offset: 2px;
}

@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-admin-toolbar .nc-toolbar-actions,
.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-department__stats {
  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;
}

.bg-light-subtle {
  background: var(--app-surface-subtle) !important;
}

.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;
}

.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,
.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;
}

.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__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-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%);
}

.roles-admin .role-list-panel {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  overflow-x: hidden;
}

.roles-admin .role-list-panel .role-list-item {
  display: grid;
  flex: 0 0 auto;
  grid-template-rows: auto auto;
  gap: 0.3125rem;
  align-items: start;
  width: 100%;
  min-width: 100%;
  min-height: 3.625rem;
  box-sizing: border-box;
  padding: 0.5625rem 0.6875rem;
  margin-bottom: 0;
  white-space: normal;
  line-height: 1.2;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.roles-admin .role-list-item__name {
  display: -webkit-box;
  overflow: hidden;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.roles-admin .role-list-item__code {
  display: inline-flex;
  justify-self: start;
  max-width: 100%;
  min-width: 0;
  padding: 0.125rem 0.375rem;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.roles-admin .role-list-panel .btn-outline-secondary:hover,
.roles-admin .role-list-panel .btn-outline-secondary:focus {
  background-color: #e9f2ff;
  border-color: #0d6efd;
  color: #0b3f91;
}

.roles-admin .role-list-panel .btn-outline-secondary:hover .role-list-item__code,
.roles-admin .role-list-panel .btn-outline-secondary:focus .role-list-item__code {
  background: #dbeafe;
  color: #1e3a8a;
}

.roles-admin .role-list-panel .btn-primary,
.roles-admin .role-list-panel .btn-primary:hover,
.roles-admin .role-list-panel .btn-primary:focus {
  background-color: #0d6efd;
  background-image: none;
  border-color: #0d6efd;
  color: #ffffff;
}

.roles-admin .role-list-panel .btn-primary .role-list-item__code {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

.roles-admin__rights-toggle {
  display: flex;
  justify-content: center;
}

.roles-admin__rights-toggle .btn-toggle {
  width: 2.625rem;
  height: 1.125rem;
  border-color: #cbd5e1;
  background: #e5e7eb;
}

.roles-admin__rights-toggle .btn-toggle .handle {
  left: 2px;
  width: 0.875rem;
  height: 0.875rem;
  background: #ffffff;
}

.roles-admin__rights-toggle .btn-toggle.active {
  border-color: #128241;
  background: #16a34a;
}

.roles-admin__rights-toggle .btn-toggle.active .handle {
  transform: translate(1.4375rem, -50%);
}

@media (min-width: 768px) {
  .roles-admin {
    --roles-admin-shell-height: calc(100vh - var(--app-header-height) - var(--app-bottom-bar-height) - 7.5rem);
  }

  .roles-admin__editor {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    row-gap: 1rem;
    min-height: 32rem;
    height: var(--roles-admin-shell-height);
  }

  .roles-admin__editor > .row,
  .roles-admin__rights-section {
    margin-bottom: 0 !important;
  }

  .roles-admin__rights-section,
  .roles-admin__rights-panel {
    min-height: 0;
  }

  .roles-admin__rights-section {
    display: flex;
    flex-direction: column;
  }

  .roles-admin .roles-admin__rights-panel {
    flex: 1 1 auto;
    max-height: none;
  }

  .roles-admin__actions {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .roles-admin > .col-12,
  .roles-admin .box,
  .roles-admin .box-body,
  .roles-admin .nc-admin-page {
    min-height: var(--roles-admin-shell-height);
  }

  .roles-admin .box,
  .roles-admin .box-body,
  .roles-admin .nc-admin-page {
    height: var(--roles-admin-shell-height);
    max-height: var(--roles-admin-shell-height);
  }

  .roles-admin .box-body,
  .roles-admin .nc-admin-page,
  .roles-admin__workspace,
  .roles-admin__column {
    overflow: hidden;
  }

  .roles-admin__column,
  .roles-admin__column > .nc-section-loading-shell,
  .roles-admin__column > .nc-section-loading-shell > .nc-section-loading-content,
  .roles-admin__editor {
    height: 100%;
    max-height: 100%;
  }

  .roles-admin .box-body,
  .roles-admin .nc-admin-page,
  .roles-admin__column,
  .roles-admin__column > .nc-section-loading-shell,
  .roles-admin__column > .nc-section-loading-shell > .nc-section-loading-content,
  .roles-admin__rights-section {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .roles-admin__workspace {
    flex: 1 1 auto;
    align-items: stretch;
    min-height: 0;
  }

  .roles-admin__column > .nc-section-loading-shell,
  .roles-admin__column > .nc-section-loading-shell > .nc-section-loading-content,
  .roles-admin__editor {
    flex: 1 1 auto;
  }

  .roles-admin__heading {
    flex: 0 0 auto;
  }

  .roles-admin__rights-section {
    flex: 1 1 auto;
  }

  .roles-admin__rights-panel {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
  }

  .roles-admin__permission-groups-panel {
    max-height: 11rem;
  }
}

@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;
  }
}

@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 .content-wrapper {
    margin-left: 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.5rem;
  }

  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.75rem;
  }

  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-sidebar-card-border);
    border-radius: 0.875rem;
    background: var(--app-sidebar-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));
  }

  body.sidebar-collapse .sidebar-branding {
    display: none;
  }
}

.nc-admin-page {
  --nc-admin-table-max-height: 420px;
}

.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 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-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;
}

.functie-maintenance .nc-section-loading-shell,
.tellers .nc-section-loading-shell,
.paygroups .nc-section-loading-shell,
.feestdagen-maintenance .nc-section-loading-shell,
.dienstcode-maintenance .nc-section-loading-shell,
.toeslag .nc-section-loading-shell,
.toeslag-exportcodes .nc-section-loading-shell {
  border: 1px solid var(--app-border);
  border-radius: 0.95rem;
  background: var(--app-surface);
  box-shadow: var(--app-soft-shadow);
}

.functie-maintenance .nc-section-loading-content,
.tellers .nc-section-loading-content,
.paygroups .nc-section-loading-content,
.feestdagen-maintenance .nc-section-loading-content,
.dienstcode-maintenance .nc-section-loading-content,
.toeslag .nc-section-loading-content,
.toeslag-exportcodes .nc-section-loading-content {
  padding: 0.95rem 1rem;
}

.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,
.product-management .product-list-item,
.medicine-management .medicine-list-item,
.employee-maintenance .employee-item,
.functie-maintenance .functie-item,
.tellers .teller-item,
.paygroups .paygroup-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;
}

.nc-record-list-card.is-selected,
.nc-record-list-card.active,
.product-management .product-list-item.active,
.medicine-management .medicine-list-item.active,
.employee-maintenance .employee-item.active,
.functie-maintenance .functie-item.active,
.tellers .teller-item.active,
.paygroups .paygroup-item.active {
  border-color: var(--app-primary-border-soft);
  background: var(--app-primary-surface);
  box-shadow: 0 0 0 1px rgba(var(--bs-primary-rgb), 0.1);
}

.nc-record-detail-shell {
  display: grid;
  gap: 0.875rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page {
  display: grid;
  gap: 1rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 2.25rem 1.75rem;
  border: 1px solid var(--app-border);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(var(--bs-primary-rgb), 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--app-surface-subtle) 100%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__hero-copy {
  display: grid;
  gap: 0.5rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__title {
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.08;
  font-weight: 800;
  color: #10224d;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__description {
  max-width: 64rem;
  font-size: 1rem;
  color: #455a7a;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__refresh {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 54px;
  padding-inline: 1.25rem;
  border-radius: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0 0.5rem 0.75rem;
  border-bottom: 1px solid var(--app-divider);
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 68px;
  padding: 0.95rem 1.35rem;
  border: 1px solid var(--app-border);
  border-bottom-color: var(--app-divider);
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f7fb 100%);
  color: #4d617f;
  font-weight: 700;
  margin-bottom: -1px;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab i {
  width: 1.15rem;
  height: 1.15rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab:hover {
  color: #243a63;
  transform: translateY(-1px);
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab.is-active {
  border-color: rgba(var(--bs-primary-rgb), 0.45);
  border-bottom-color: #ffffff;
  background: #ffffff;
  color: var(--app-primary);
  box-shadow: 0 -8px 24px rgba(var(--bs-primary-rgb), 0.08);
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__workspace {
  margin-top: 0;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar,
.inline-style-scope--systeem-base-table-refresh .base-table-editor {
  height: 100%;
  padding: 1.65rem 1.75rem;
  border-radius: 1.35rem;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 1rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__title,
.inline-style-scope--systeem-base-table-refresh .base-table-editor__title {
  margin: 0;
  color: #10224d;
  font-weight: 800;
  line-height: 1.12;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__title {
  font-size: 1.9rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
  color: #516681;
  font-size: 0.98rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__meta i {
  width: 1rem;
  height: 1rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__create {
  min-height: 52px;
  padding-inline: 1.2rem;
  border-radius: 0.95rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(var(--bs-primary-rgb), 0.24);
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__description,
.inline-style-scope--systeem-base-table-refresh .base-table-editor__description {
  margin: 0;
  color: #536882;
  font-size: 1rem;
  line-height: 1.55;
}

.inline-style-scope--systeem-base-table-refresh .base-table-search {
  position: relative;
  display: block;
}

.inline-style-scope--systeem-base-table-refresh .base-table-search i {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 1rem;
  height: 1rem;
  color: #7086a3;
  transform: translateY(-50%);
}

.inline-style-scope--systeem-base-table-refresh .base-table-search .form-control {
  min-height: 54px;
  padding-left: 3rem;
  border-radius: 0.9rem;
  border-color: #d8e0ec;
  background: #ffffff;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__list {
  display: grid;
  gap: 0;
  padding: 0;
  max-height: 560px;
  border: 1px solid #dde5f0;
  border-radius: 1rem;
  background: #ffffff;
  overflow: auto;
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item {
  position: relative;
  width: 100%;
  padding: 1.15rem 3rem 1.15rem 2.8rem;
  border: none;
  border-bottom: 1px solid #e7edf5;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  cursor: pointer;
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item:last-child {
  border-bottom: none;
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 8px;
  height: 20px;
  transform: translateY(-50%);
  background:
    radial-gradient(circle, #7588a4 1.1px, transparent 1.2px) 0 0 / 4px 4px repeat-y,
    radial-gradient(circle, #7588a4 1.1px, transparent 1.2px) 4px 0 / 4px 4px repeat-y;
  opacity: 0.9;
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.15rem;
  width: 10px;
  height: 10px;
  border-right: 2px solid #6f82a0;
  border-bottom: 2px solid #6f82a0;
  transform: translateY(-50%) rotate(-45deg);
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item:hover {
  background: #f9fbff;
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item.active {
  border-left: 3px solid rgba(var(--bs-primary-rgb), 0.9);
  padding-left: calc(2.8rem - 3px);
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.1), rgba(var(--bs-primary-rgb), 0.05));
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #10224d;
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item__summary {
  margin-top: 0.35rem;
  color: #62758f;
  font-size: 0.92rem;
  line-height: 1.45;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__footnote,
.inline-style-scope--systeem-base-table-refresh .base-table-editor__note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #4d6481;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.22);
  border-radius: 0.9rem;
  background: rgba(var(--bs-primary-rgb), 0.06);
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__footnote {
  padding: 0.85rem 0.95rem;
  font-size: 0.92rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor {
  display: grid;
  gap: 1.3rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__eyebrow {
  margin-bottom: 0.55rem;
  color: var(--app-primary);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__title {
  font-size: 2rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__delete {
  min-height: 48px;
  padding-inline: 1.15rem;
  border-radius: 0.9rem;
  font-weight: 700;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__divider {
  height: 1px;
  background: #e6ecf4;
}

.inline-style-scope--systeem-base-table-refresh .base-table-field {
  display: grid;
  gap: 0.65rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-field .form-label {
  margin-bottom: 0;
  color: #223754;
  font-size: 1rem;
  font-weight: 700;
}

.inline-style-scope--systeem-base-table-refresh .base-table-field .form-control {
  min-height: 50px;
  border-radius: 0.88rem;
  border-color: #d5deea;
  background: #ffffff;
}

.inline-style-scope--systeem-base-table-refresh .base-table-field textarea.form-control {
  min-height: 124px;
  padding-top: 0.85rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__note {
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-inline-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.1rem;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.45);
  border-radius: 999px;
  color: var(--app-primary);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
}

.inline-style-scope--systeem-base-table-refresh .base-table-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border: 1px solid #d5deea;
  border-radius: 0.88rem;
  background: #ffffff;
}

.inline-style-scope--systeem-base-table-refresh .base-table-checkbox-row__label {
  color: #223754;
  font-weight: 700;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.85rem;
  padding-top: 1rem;
  margin-top: auto;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__actions .btn {
  min-height: 48px;
  padding-inline: 1.25rem;
  border-radius: 0.9rem;
  font-weight: 700;
}

@media (max-width: 1199.98px) {
  .inline-style-scope--systeem-base-table-refresh .base-table-sidebar,
  .inline-style-scope--systeem-base-table-refresh .base-table-editor {
    padding: 1.35rem;
  }
}

@media (max-width: 767.98px) {
  .inline-style-scope--systeem-base-table-refresh .base-table-page__hero {
    padding: 1.35rem 1.2rem;
    flex-direction: column;
  }

  .inline-style-scope--systeem-base-table-refresh .base-table-page__title,
  .inline-style-scope--systeem-base-table-refresh .base-table-editor__title,
  .inline-style-scope--systeem-base-table-refresh .base-table-sidebar__title {
    font-size: 1.55rem;
  }

  .inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab {
    width: 100%;
    justify-content: flex-start;
    border-radius: 1rem;
    margin-bottom: 0;
  }

  .inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tabs {
    border-bottom: none;
    padding-inline: 0;
  }

  .inline-style-scope--systeem-base-table-refresh .base-table-sidebar__header,
  .inline-style-scope--systeem-base-table-refresh .base-table-editor__header,
  .inline-style-scope--systeem-base-table-refresh .base-table-editor__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .inline-style-scope--systeem-base-table-refresh .base-table-sidebar__create,
  .inline-style-scope--systeem-base-table-refresh .base-table-page__refresh {
    width: 100%;
    justify-content: center;
  }
}

.inline-style-scope--systeem-base-table-report-html .base-table-html-field {
  gap: 0.85rem;
}

.inline-style-scope--systeem-base-table-report-html .base-table-html-field__badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
  border-radius: 999px;
  background: rgba(var(--bs-primary-rgb), 0.08);
  color: var(--app-primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.inline-style-scope--systeem-base-table-report-html .base-table-html-field__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1rem;
}

.inline-style-scope--systeem-base-table-report-html .base-table-html-field__panel {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}

.inline-style-scope--systeem-base-table-report-html .base-table-html-field__panel-header {
  color: #223754;
  font-size: 0.92rem;
  font-weight: 700;
}

.inline-style-scope--systeem-base-table-report-html .base-table-html-field__editor {
  min-height: 24rem;
  padding: 1rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.55;
  resize: vertical;
}

.inline-style-scope--systeem-base-table-report-html .base-table-html-field__viewer {
  width: 100%;
  min-height: 24rem;
  border: 1px solid #d5deea;
  border-radius: 0.88rem;
  background: #ffffff;
}

@media (max-width: 991.98px) {
  .inline-style-scope--systeem-base-table-report-html .base-table-html-field__split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.nc-record-detail-header,
.permissions-hub .permissions-hub-lead {
  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,
.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%);
}

.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-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-list,
.medicine-management .medicine-list,
.employee-maintenance .employee-list,
.functie-maintenance .functie-list,
.tellers .teller-list,
.paygroups .paygroup-list {
  display: grid;
  gap: 0.625rem;
}



.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;
}

.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 .system-settings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}



.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 .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);
}

.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;
    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;
  }

  body.app-ui-ready .topbar-page-shell,
  body.app-ui-ready .dashboard-grid__item,
  body.app-ui-ready .dashboard-chart-wave {
    animation: none;
  }
}

.nc-bi-report__header {
  display: grid;
  grid-template-areas: "title downloads" "filters filters";
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.nc-bi-report__title {
  grid-area: title;
  margin: 0;
  color: var(--app-text);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Keep Tonen first in the form's button order while placing downloads beside the title. */
.nc-bi-report__downloads {
  grid-area: downloads;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.nc-bi-report__downloads .btn {
  --bs-btn-hover-color: var(--app-primary-text);
  --bs-btn-hover-bg: var(--app-primary-surface);
}

.nc-bi-report__downloads .app-action-icon-upload {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
}

.nc-bi-report__filters {
  grid-area: filters;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .75rem 1rem;
  padding: 1rem 1rem .5rem;
  background: var(--app-primary-surface);
  border: 1px solid var(--app-border);
  border-radius: .5rem;
}

.nc-bi-report__filters > .col-auto {
  flex: 1 1 13rem;
  min-width: 0;
  max-width: 100%;
}

.nc-bi-report__filters > [id$="pnlRange"] {
  flex-basis: 26rem;
}

.nc-bi-report__filters > [id$="pnlAsOf"],
.nc-bi-report__filters > [id$="pnlEmployeeStatus"] {
  flex: 0 1 12rem;
}

.nc-bi-report__filters > [id$="pnlTemplate"],
.nc-bi-report__filters > .col-auto:has([id$="ddlSubDepartment"]) {
  flex-basis: 18rem;
}

.nc-bi-report__filters .form-label {
  margin-bottom: .375rem;
  color: var(--app-text-secondary);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.nc-bi-report__filters .form-control,
.nc-bi-report__filters .form-select {
  width: 100%;
  min-width: 0;
}

.nc-bi-report__filters [id$="pnlRange"] .d-flex > div {
  flex: 1;
  min-width: 0;
}

.nc-bi-report__check {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.nc-bi-report__check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: .15rem 0 0;
  accent-color: var(--app-primary);
}

.nc-bi-report__check label {
  margin: 0;
  font-size: .875rem;
  line-height: 1.5;
}

.nc-bi-report__filters > .nc-bi-report__check {
  padding-top: 1.65rem;
}

.nc-bi-report__apply {
  padding-top: 1.5125rem;
  margin-left: auto;
}

.nc-bi-report__apply .btn {
  min-width: 6rem;
}

.nc-bi-report__feedback {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.nc-bi-report__summary {
  padding: 0 0 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--app-divider);
  color: var(--app-text-secondary);
  font-size: .875rem;
}

/* Reserve feedback space so a blur validation cannot move an action during its click. */
.nc-bi-report .invalid-feedback {
  min-height: 2.8em;
  width: 13rem;
  max-width: 100%;
}

.nc-bi-report [id$="pnlRange"] .d-flex > div,
.nc-bi-report [id$="pnlAsOf"] {
  width: 13rem;
}

.nc-bi-report [aria-invalid="true"] {
  border-color: var(--bs-danger, #dc3545);
}

.nc-bi-report__filters .invalid-feedback {
  width: 100%;
  font-size: .75rem;
}

@media (max-width: 640px) {
  .nc-bi-report__header {
    grid-template-areas: "title" "downloads" "filters";
    grid-template-columns: minmax(0, 1fr);
  }

  .nc-bi-report__downloads .btn {
    flex: 1;
  }

  .nc-bi-report__filters {
    padding: .875rem;
  }

  .nc-bi-report__filters > .col-auto {
    flex-basis: 100%;
    width: 100%;
  }

  .nc-bi-report__filters [id$="pnlRange"] .d-flex {
    flex-direction: column;
  }

  .nc-bi-report__filters [id$="pnlRange"] .d-flex > div {
    width: 100%;
  }

  .nc-bi-report__filters > .nc-bi-report__check {
    padding-top: 0;
  }

  .nc-bi-report__apply {
    width: 100%;
    padding-top: 0;
  }

  .nc-bi-report__apply .btn {
    width: 100%;
  }
}

/* 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__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-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;
    }

    @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 .section,
.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--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,
.inline-style-scope--main-changepassword .btn {
            border-radius: 6px;
            font-weight: 500;
            padding: 8px 15px;
        }

        .inline-style-scope--zorg-klanten .btn.app-action-icon {
            background-position: 0.8rem center;
            padding-left: 2.35rem;
        }

        .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-sm {
            padding: 4px 8px;
            font-size: 12px;
        }

        .inline-style-scope--zorg-klanten .table {
            margin-bottom: 0;
            table-layout: fixed;
            min-width: 980px;
        }

            .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;
                position: relative;
            }

        .inline-style-scope--zorg-klanten .customer-table-cell {
            display: block;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            outline: none;
        }

        .inline-style-scope--zorg-klanten .customer-table-cell:hover,
        .inline-style-scope--zorg-klanten .customer-table-cell:focus {
            overflow: visible;
        }

        .inline-style-scope--zorg-klanten .customer-table-cell:hover::after,
        .inline-style-scope--zorg-klanten .customer-table-cell:focus::after {
            content: attr(data-full);
            position: absolute;
            left: 10px;
            top: calc(100% - 4px);
            z-index: 20;
            min-width: min(260px, calc(100vw - 48px));
            max-width: min(420px, calc(100vw - 48px));
            width: max-content;
            padding: 8px 10px;
            border: 1px solid var(--app-border);
            border-radius: 6px;
            background: var(--app-surface);
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
            color: var(--app-text);
            font-size: 12px;
            line-height: 1.35;
            white-space: normal;
            overflow-wrap: anywhere;
        }

        .inline-style-scope--zorg-klanten .badge {
            padding: 4px 8px;
            border-radius: 4px;
            font-weight: 500;
            font-size: 11px;
        }

        .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-menu[hidden] {
            display: none !important;
        }

        .inline-style-scope--zorg-klanten .customer-detail-sheet {
            --bs-offcanvas-zindex: 1100;
            --bs-offcanvas-width: min(46rem, 100vw);
            --bs-offcanvas-bg: var(--app-surface);
            --bs-offcanvas-color: var(--app-text);
            --bs-offcanvas-border-color: var(--app-border);
            --bs-offcanvas-transition: transform var(--modal-close-dur) var(--modal-ease);
        }

        .inline-style-scope--zorg-klanten .offcanvas-backdrop {
            z-index: 1095;
        }

        .inline-style-scope--zorg-klanten .customer-detail-sheet.showing {
            --bs-offcanvas-transition: transform var(--modal-open-dur) var(--modal-ease);
        }

        [data-bs-theme="dark"] .customer-detail-sheet {
            --app-surface: var(--bs-dark);
            --app-text: var(--bs-light);
            --app-text-muted: var(--bs-gray-400);
            --app-border: var(--bs-gray-600);
        }

        [data-bs-theme="dark"] .customer-detail-sheet .section-title {
            color: var(--app-text);
        }

        .inline-style-scope--zorg-klanten .customer-detail-sheet[hidden] {
            display: none !important;
        }

        .inline-style-scope--zorg-klanten .customer-detail-sheet .offcanvas-header {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            padding: 1rem;
            border-bottom: 1px solid var(--app-border);
        }

        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-grid {
            display: grid;
            gap: 12px;
        }

        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-field {
            display: grid;
            grid-template-columns: minmax(7rem, 0.4fr) minmax(0, 1fr);
            column-gap: 12px;
            align-items: baseline;
            padding-block: 4px;
        }

        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-field__value {
            min-width: 0;
            overflow-wrap: anywhere;
        }

        .inline-style-scope--zorg-klanten .customer-detail-sheet .btn-close {
            flex-shrink: 0;
            min-width: 44px;
            min-height: 44px;
            padding: 0;
            margin: 0;
        }

        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-card,
        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-pill {
            background: var(--app-surface);
            border-color: var(--app-border);
        }

        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-title,
        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-pill,
        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-card__header h6,
        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-field__value,
        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-remarks {
            color: var(--app-text);
        }

        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-section__copy,
        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-eyebrow,
        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-card__header p,
        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-field__label,
        .inline-style-scope--zorg-klanten .customer-detail-sheet .customer-detail-pill__label {
            color: var(--app-text-muted);
        }

        @media (prefers-reduced-motion: reduce) {
            .inline-style-scope--zorg-klanten .customer-detail-sheet {
                transition: none;
            }
        }

        .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;
        }

        @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%;
            }
        }

/* NexusCareAdmin/organisatie/dienstcodes.aspx */
.inline-style-scope--organisatie-dienstcodes [x-cloak] {
      display: none !important;
    }

    .inline-style-scope--organisatie-dienstcodes .dienstcode-list,
.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-dienstcodes .dienstcode-item,
.inline-style-scope--organisatie-functies .functie-item,
.inline-style-scope--organisatie-verloningsgroepen .paygroup-item,
.inline-style-scope--organisatie-dienstentellers .teller-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,
    .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-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-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-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);
    }

        @media (max-width: 991.98px) {
            .inline-style-scope--zorg-klant_onderhoud .customer-audit-meta {
                grid-template-columns: 1fr;
                width: 100%;
                margin-left: 0;
            }

            .inline-style-scope--zorg-klant_onderhoud .customer-audit-meta__item {
                padding-left: 0;
                border-left: 0;
                padding-top: 12px;
                border-top: 1px solid #e5e7eb;
            }
        }

        @media (max-width: 767.98px) {
            .inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom {
                overflow-x: auto;
                flex-wrap: nowrap;
                padding: 0 12px;
            }

            .inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom .nav-link {
                white-space: nowrap;
                padding: 12px 14px;
            }

            .inline-style-scope--zorg-klant_onderhoud .form-section-toggle {
                padding: 14px 16px;
            }

            .inline-style-scope--zorg-klant_onderhoud .profile-photo-upload {
                flex-direction: column;
            }

            .inline-style-scope--zorg-klant_onderhoud .profile-photo-upload__controls,
            .inline-style-scope--zorg-klant_onderhoud .profile-photo-upload__input {
                min-width: 100%;
            }

            .inline-style-scope--zorg-klant_onderhoud .save-feedback__main,
            .inline-style-scope--zorg-klant_onderhoud .action-buttons {
                width: 100%;
            }

            .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;
            }
        }

    .inline-style-scope--organisatie-dienstrooster {
      display: flex;
      flex: 1 1 auto;
      flex-direction: column;
      min-height: 100%;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-page-shell,
    .inline-style-scope--organisatie-dienstrooster .rooster-page-column,
    .inline-style-scope--organisatie-dienstrooster .rooster-page-column > .box,
    .inline-style-scope--organisatie-dienstrooster .rooster-page-column > .box > .box-body,
    .inline-style-scope--organisatie-dienstrooster #pnlRoster {
      display: flex;
      flex: 1 1 auto;
      flex-direction: column;
      min-height: 0;
    }

    .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;
      --rooster-morning-bg: #d1e7dd;
      --rooster-morning-text: #0f5132;
      --rooster-morning-border: #badbcc;
      --rooster-morning-accent: #198754;
      --rooster-afternoon-bg: #fff3cd;
      --rooster-afternoon-text: #000000;
      --rooster-afternoon-border: #ffc107;
      --rooster-afternoon-accent: #ffc107;
      --rooster-night-bg: #e7f3ff;
      --rooster-night-text: #004085;
      --rooster-night-border: #b3d9ff;
      --rooster-night-accent: #0dcaf0;
      --rooster-manual-bg: rgba(245, 158, 11, 0.18);
      --rooster-manual-text: #8a4b00;
      --rooster-manual-border: rgba(245, 158, 11, 0.42);
      --rooster-manual-accent: #f59e0b;
      --rooster-vacation-bg: rgba(102, 126, 234, 0.14);
      --rooster-vacation-text: #667eea;
      --rooster-vacation-border: rgba(102, 126, 234, 0.35);
      --rooster-vacation-accent: #667eea;
      --rooster-sick-bg: #f8d7da;
      --rooster-sick-text: #842029;
      --rooster-sick-border: #dc3545;
      --rooster-sick-accent: #dc3545;
      --rooster-course-bg: rgba(13, 110, 253, 0.10);
      --rooster-course-text: #0d6efd;
      --rooster-course-border: rgba(13, 110, 253, 0.35);
      --rooster-course-accent: #0d6efd;
      display: flex;
      flex: 1 1 auto;
      flex-direction: column;
      min-height: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-period-header {
      min-width: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-page-shell,
    .inline-style-scope--organisatie-dienstrooster .rooster-page-column,
    .inline-style-scope--organisatie-dienstrooster .rooster-main-shell,
    .inline-style-scope--organisatie-dienstrooster .rooster-main-panel,
    .inline-style-scope--organisatie-dienstrooster .rooster-grid,
    .inline-style-scope--organisatie-dienstrooster .rooster-grid-item {
      min-width: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-main-shell,
    .inline-style-scope--organisatie-dienstrooster .rooster-main-panel {
      display: flex;
      flex: 1 1 auto;
      flex-direction: column;
      min-height: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-grid {
      display: grid;
      width: 100%;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-grid--toolbar {
      grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 5fr) auto;
      column-gap: 1rem;
      row-gap: 1rem;
      align-items: end;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-grid--template {
      grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) auto;
      column-gap: 1rem;
      row-gap: 1rem;
      align-items: end;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-grid--tellers {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
      column-gap: 0.75rem;
      row-gap: 0.75rem;
      align-items: end;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-grid--modal-1 {
      grid-template-columns: minmax(0, 1fr);
      column-gap: 1rem;
      row-gap: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-grid--modal-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 1rem;
      row-gap: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-grid--modal-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      column-gap: 1rem;
      row-gap: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-grid-item--span-2 {
      grid-column: span 2;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-grid-item--span-4 {
      grid-column: span 4;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster-grid-item--template-actions,
    .inline-style-scope--organisatie-dienstrooster .rooster-grid-item--teller-actions {
      display: flex;
      justify-content: flex-end;
      align-items: end;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-shell {
      padding: 14px 16px;
      gap: 1rem;
      border-radius: 1.125rem;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-row--top {
      padding-bottom: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-row--compact {
      align-items: end;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-row--compact .form-label {
      margin-bottom: 0.45rem;
      color: #526277;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-field {
      position: relative;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-field-icon {
      position: absolute;
      top: 50%;
      left: 0.9rem;
      width: 1rem;
      height: 1rem;
      color: #64748b;
      pointer-events: none;
      transform: translateY(-50%);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-shell .form-control,
    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-shell .form-select,
    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-shell .rooster-scope-readonly,
    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-shell .select2-container--bootstrap-5 .select2-selection {
      min-height: 46px;
      border-radius: 0.9rem;
      background: #fff;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-shell .roster-toolbar-control--month {
      padding-left: 2.55rem;
      padding-right: 0.9rem;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-shell .select2-container {
      width: 100% !important;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-shell .select2-container--bootstrap-5 .select2-selection {
      display: flex;
      align-items: center;
      padding-left: 0.75rem;
      padding-right: 2.35rem;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-shell .select2-container--bootstrap-5 .select2-selection__rendered {
      width: 100%;
      color: #1f2937;
      line-height: 1.4;
      padding-left: 0;
      padding-right: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-shell .nc-work-tabs {
      min-height: 0;
      background: transparent;
      box-shadow: none;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-shell .nc-work-tab {
      min-height: 2.25rem;
      border-radius: 0;
      margin-bottom: -1px;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-actions {
      display: flex;
      justify-content: flex-end;
      align-items: end;
      gap: 0.5rem;
      flex-wrap: wrap;
      min-height: 100%;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-add-btn {
      min-width: 46px;
      min-height: 46px;
      border-radius: 0.9rem;
      box-shadow: var(--app-soft-shadow);
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-scope-readonly {
      min-height: 46px;
      padding: 0.375rem 0.95rem;
    }

    @media (max-width: 991.98px) {
      .inline-style-scope--organisatie-dienstrooster .rooster .roster-toolbar-actions {
        justify-content: flex-start;
      }

      .inline-style-scope--organisatie-dienstrooster .rooster-grid--toolbar,
      .inline-style-scope--organisatie-dienstrooster .rooster-grid--template,
      .inline-style-scope--organisatie-dienstrooster .rooster-grid--tellers,
      .inline-style-scope--organisatie-dienstrooster .rooster-grid--modal-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .inline-style-scope--organisatie-dienstrooster .rooster-grid-item--toolbar-scope,
      .inline-style-scope--organisatie-dienstrooster .rooster-grid-item--toolbar-actions,
      .inline-style-scope--organisatie-dienstrooster .rooster-grid-item--template-actions,
      .inline-style-scope--organisatie-dienstrooster .rooster-grid-item--span-4 {
        grid-column: 1 / -1;
      }

      .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 .rooster-grid,
    .inline-style-scope--organisatie-dienstrooster .rooster .rooster-grid > * {
      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 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 .stamp-sidebar {
      border: 0;
      background: transparent;
      border-radius: 0;
      padding: 0;
      max-width: none;
      display: flex;
      flex: 1 1 auto;
      flex-direction: column;
      min-height: 0;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .offcanvas.offcanvas-end {
      top: var(--app-header-height);
      height: calc(100vh - var(--app-header-height));
      width: min(320px, calc(100vw - 24px));
    }

    @media (min-width: 992px) {
      .inline-style-scope--organisatie-dienstrooster .rooster.rooster-stamp-active .rooster-main-panel > .nc-section-loading-shell > .nc-section-loading-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 288px;
        column-gap: 0.75rem;
        align-items: start;
      }

      .inline-style-scope--organisatie-dienstrooster .rooster.rooster-stamp-active .rooster-main-panel > .nc-section-loading-shell > .nc-section-loading-content > :not(#dienstroosterStampModePanel) {
        grid-column: 1;
        min-width: 0;
      }

      .inline-style-scope--organisatie-dienstrooster .rooster.rooster-stamp-active #dienstroosterStampModePanel.offcanvas.offcanvas-end {
        position: sticky;
        grid-column: 2;
        grid-row: 1 / span 99;
        align-self: start;
        top: calc(var(--app-header-height) + 0.75rem);
        right: auto;
        bottom: auto;
        width: auto;
        height: calc(100vh - var(--app-header-height) - 1.5rem);
        max-width: none;
        transform: none;
      }
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .offcanvas-header {
      padding: 0.875rem 1rem 0.5rem;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .offcanvas-body {
      display: flex;
      min-height: 0;
      padding: 0 0.75rem 0.75rem;
    }

    .inline-style-scope--organisatie-dienstrooster .rooster .stamp-list {
      flex: 1 1 auto;
      max-height: none;
      min-height: 0;
      overflow-y: auto;
      padding-right: 4px;
    }

    .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 .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-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-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-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.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-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-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--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--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-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-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-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;
    }

    @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;
      }
    }

    @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/systeem/dienstcodes_import.aspx */
.inline-style-scope--systeem-dienstcodes_import .import-dropzone,
    .inline-style-scope--systeem-functies_import .import-dropzone,
    .inline-style-scope--systeem-medewerkers_import .import-dropzone,
    .inline-style-scope--systeem-rapportage_import .import-dropzone,
    .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-dienstcodes_import .import-dropzone input[type="file"] {
      background: #ffffff;
    }

    .inline-style-scope--systeem-dienstcodes_import .import-dropzone-text,
    .inline-style-scope--systeem-functies_import .import-dropzone-text,
    .inline-style-scope--systeem-medewerkers_import .import-dropzone-text,
    .inline-style-scope--systeem-rapportage_import .import-dropzone-text,
    .inline-style-scope--systeem-rooster_import .import-dropzone-text {
      font-size: 12px;
      color: #64748b;
      margin-top: 8px;
    }

    .inline-style-scope--systeem-rapportage_import .import-dropzone {
      cursor: pointer;
    }

    .inline-style-scope--systeem-rapportage_import .import-dropzone.is-invalid {
      border-color: var(--app-danger);
      background: var(--app-danger-soft);
    }

    .inline-style-scope--systeem-rapportage_import .report-import-help {
      display: grid;
      gap: 2px;
      margin-top: 8px;
    }

    .inline-style-scope--systeem-rapportage_import .report-import-activity {
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
      padding: 16px 18px;
    }

    .inline-style-scope--systeem-rapportage_import .report-import-activity[data-state="importing"] {
      border-color: #93c5fd;
      background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    }

    .inline-style-scope--systeem-rapportage_import .report-import-activity[data-state="comparing"] {
      border-color: #fcd34d;
      background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    }

    .inline-style-scope--systeem-rapportage_import .report-import-activity__header {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }

    .inline-style-scope--systeem-rapportage_import .report-import-activity__title-row {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #0f172a;
    }

    .inline-style-scope--systeem-rapportage_import .report-import-activity__badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 84px;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(37, 99, 235, 0.12);
      color: #1d4ed8;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }

    .inline-style-scope--systeem-rapportage_import .report-import-activity[data-state="comparing"] .report-import-activity__badge {
      background: rgba(217, 119, 6, 0.14);
      color: #92400e;
    }

    .inline-style-scope--systeem-rapportage_import .report-import-activity__meta {
      color: #334155;
      font-size: 13px;
      font-weight: 600;
    }

    .inline-style-scope--systeem-rapportage_import .report-import-activity__progress .progress {
      height: 22px;
      background: rgba(255, 255, 255, 0.78);
      border: 1px solid rgba(148, 163, 184, 0.28);
      overflow: hidden;
    }

    .inline-style-scope--systeem-rapportage_import .report-import-activity__progress .progress-bar {
      font-weight: 700;
      letter-spacing: 0.01em;
      background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    }

    .inline-style-scope--systeem-rapportage_import .report-import-activity[data-state="comparing"] .report-import-activity__progress .progress-bar {
      background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
    }

    .inline-style-scope--systeem-rapportage_import .report-import-help .form-text,
    .inline-style-scope--systeem-rapportage_import .nc-section-loading-shell .form-text {
      color: #475569;
    }

    .inline-style-scope--systeem-rapportage_import .report-import-help code {
      color: #9d174d;
      background: #fdf2f8;
      border-radius: 4px;
      padding: 1px 4px;
      font-size: 0.92em;
    }

    .inline-style-scope--systeem-rapportage_import .report-import-compare-panel .card {
      border-color: #d7dee8;
      background: #ffffff;
    }

    .inline-style-scope--systeem-rapportage_import .text-muted {
      color: #475569 !important;
    }

/* 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(6, 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-inline input {
      flex: 1;
    }

    .inline-style-scope--organisatie-dienstroosterview .field-nav-btn {
      min-width: 44px;
      border-radius: 12px;
      border: 1px solid #c9d3dd;
      background: #ffffff;
      color: var(--text-main);
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
    }

    .inline-style-scope--organisatie-dienstroosterview .field-nav-btn:hover {
      background: #eef3f7;
    }

    .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 .employee-summary {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 12px;
      padding: 20px;
      border: 1px solid var(--table-border);
      border-radius: 16px;
      background: #f8fbff;
      margin-bottom: 16px;
    }

    .inline-style-scope--organisatie-dienstroosterview .employee-summary-eyebrow {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .inline-style-scope--organisatie-dienstroosterview .employee-summary-title {
      font-size: 20px;
      font-weight: 700;
      margin-top: 4px;
    }

    .inline-style-scope--organisatie-dienstroosterview .employee-summary-subtitle {
      color: var(--text-muted);
      font-size: 14px;
      margin-top: 2px;
    }

    .inline-style-scope--organisatie-dienstroosterview .employee-summary-meta {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 12px;
    }

    .inline-style-scope--organisatie-dienstroosterview .employee-summary-item {
      background: #ffffff;
      border: 1px solid var(--table-border);
      border-radius: 12px;
      padding: 10px 12px;
    }

    .inline-style-scope--organisatie-dienstroosterview .employee-summary-label {
      display: block;
      font-size: 11px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .inline-style-scope--organisatie-dienstroosterview .employee-summary-value {
      display: block;
      margin-top: 4px;
      font-size: 14px;
      font-weight: 600;
      color: var(--text-main);
    }

    .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-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;
    }

.nc-startup-loading-active {
      overflow: hidden;
    }

.nc-startup-loading-overlay {
      position: fixed;
      inset: 0;
      z-index: 2140;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(15, 23, 42, 0.18);
      backdrop-filter: blur(2px);
    }

.nc-startup-loading-overlay.is-active {
      display: flex;
    }

.nc-startup-loading-overlay__dialog {
      width: min(360px, 100%);
      padding: 24px;
      border: 1px solid rgba(148, 163, 184, 0.36);
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
      text-align: center;
    }

.nc-startup-loading-overlay__spinner {
      width: 2rem;
      height: 2rem;
      margin-bottom: 14px;
      color: #2563eb;
    }

.nc-startup-loading-overlay__title {
      font-size: 1rem;
      font-weight: 700;
      color: #0f172a;
    }

.nc-startup-loading-overlay__meta {
      margin-top: 6px;
      font-size: 0.875rem;
      line-height: 1.45;
      color: #64748b;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-maintenance--initial-busy > :not(.employee-initial-loading-overlay) {
      pointer-events: none;
      user-select: none;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-initial-loading-overlay {
      position: fixed;
      inset: 0;
      z-index: 1080;
      display: grid;
      place-items: center;
      padding: 1.5rem;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-initial-loading-overlay__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.42);
      backdrop-filter: blur(3px);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-initial-loading-overlay__dialog {
      position: relative;
      z-index: 1;
      width: min(100%, 32rem);
      display: grid;
      justify-items: center;
      gap: 0.85rem;
      padding: 1.75rem 1.5rem;
      border: 1px solid rgba(191, 216, 255, 0.9);
      border-radius: 1.1rem;
      background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
      box-shadow: 0 28px 56px rgba(15, 23, 42, 0.22);
      text-align: center;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-initial-loading-overlay__spinner {
      width: 2.5rem;
      height: 2.5rem;
      color: #1d4ed8;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-initial-loading-overlay__title {
      font-size: 1.1rem;
      font-weight: 700;
      color: #0f172a;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-initial-loading-overlay__meta {
      max-width: 28rem;
      font-size: 0.92rem;
      line-height: 1.55;
      color: #475569;
    }

    .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-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-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-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::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-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-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;
      align-content: start;
      grid-auto-rows: max-content;
      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;
      transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item:hover {
      background: #f2f8fc;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item.active {
      border-color: #93c5fd;
      background: #eff6ff;
      box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item.employee-item--inactive {
      border-color: #f59e0b;
      background: #fffaf0;
    }

    .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;
      align-items: center;
      gap: 8px;
      margin-top: 10px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item-layout {
      display: flex;
      gap: 14px;
      align-items: flex-start;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item-avatar {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 999px;
      background: linear-gradient(135deg, #2563eb, #3b82f6);
      color: #ffffff;
      font-size: 14px;
      font-weight: 700;
      flex: 0 0 auto;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-item-body {
      min-width: 0;
      flex: 1 1 auto;
    }

    .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-customer-scope-subdepartment {
      padding: 8px 10px;
      border: 1px solid #e3e7ed;
      border-radius: 12px;
      background: #f8fbfd;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-customer-scope-subdepartment--empty {
      border-color: #edf2f7;
      background: #fbfcfd;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-customer-scope-subdepartment-name {
      color: #16324f;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-customer-scope-subdepartment-name--empty {
      color: #7b8794;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-customer-scope-subdepartment--empty .text-muted {
      color: #94a3b8 !important;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-customer-scope-subdepartment-count {
      flex: 0 0 auto;
      align-self: flex-start;
    }

    .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-header-main {
      display: flex;
      flex: 1 1 auto;
      min-width: 0;
      flex-direction: column;
      gap: 14px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-inactive-summary {
      display: grid;
      gap: 4px;
      padding: 12px 14px;
      border-radius: 12px;
      border: 1px solid #f6c453;
      background: linear-gradient(135deg, #fff8e1, #fff3c4);
      color: #7a4a00;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-inactive-summary-title {
      font-weight: 700;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-inactive-summary-copy,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-inactive-summary-meta {
      font-size: 13px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-header-main .nc-work-tabs {
      align-self: flex-start;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-badges {
      display: flex;
      flex: 0 0 auto;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-header-context {
      display: flex;
      align-items: center;
      min-height: 18px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-breadcrumb-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 0;
      border: 0;
      background: transparent;
      color: #2563eb;
      font-size: 13px;
      font-weight: 700;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-breadcrumb-link:hover,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-breadcrumb-link:focus-visible {
      color: #1d4ed8;
      text-decoration: underline;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-header-identity {
      display: grid;
      gap: 10px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-header-title-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-state-pill {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 6px 12px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 700;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-state-pill--success {
      background: #dcfce7;
      color: #15803d;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-state-pill--warning {
      background: #fff4d6;
      color: #b45309;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-meta-dot {
      display: inline-block;
      margin: 0 8px;
      color: #94a3b8;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-header-chips {
      align-items: flex-start;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 6px 12px;
      border: 1px solid #d9e2f2;
      border-radius: 12px;
      background: #ffffff;
      color: #16324f;
      font-size: 13px;
      font-weight: 700;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-chip--ghost {
      background: #eff6ff;
      border-color: #bfdbfe;
      color: #2563eb;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-chip--success {
      background: #dcfce7;
      border-color: #bbf7d0;
      color: #15803d;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-chip--warning {
      background: #fff4d6;
      border-color: #fde68a;
      color: #b45309;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-chip--muted {
      background: #f8fafc;
      border-color: #e2e8f0;
      color: #64748b;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-tab-strip {
      align-self: flex-start;
      margin-top: 2px;
      margin-bottom: 12px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-overview-stack {
      display: grid;
      gap: 20px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-hero-card,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-info-card,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-kpi-card {
      border: 1px solid #e3e7ed;
      border-radius: 18px;
      background: #ffffff;
      box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-hero-card {
      padding: 20px 22px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-hero-card__body {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: flex-start;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-hero-card__actions {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-kicker {
      color: #0f766e;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-hero-card__title {
      margin-top: 8px;
      color: #16324f;
      font-size: 22px;
      font-weight: 700;
      line-height: 1.2;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-hero-card__copy,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-hero-card__footer,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-info-card__copy,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-kpi-card__meta {
      color: #64748b;
      font-size: 13px;
      line-height: 1.5;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-hero-card__footer {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid #e2e8f0;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-info-card {
      padding: 20px 22px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-info-card__header {
      display: grid;
      gap: 4px;
      margin-bottom: 16px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-info-card__header--split {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-detail-list {
      display: grid;
      gap: 12px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-detail-list--compact {
      height: 100%;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-detail-list__row {
      display: grid;
      gap: 4px;
      padding-bottom: 12px;
      border-bottom: 1px solid #eef2f7;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-detail-list__row:last-child {
      padding-bottom: 0;
      border-bottom: 0;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-detail-list__label {
      color: #64748b;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-detail-list__value {
      color: #16324f;
      font-size: 15px;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-kpi-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 30px;
      height: 30px;
      padding: 0 10px;
      border-radius: 999px;
      background: #eff6ff;
      color: #2563eb;
      font-size: 13px;
      font-weight: 800;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-list {
      display: grid;
      gap: 12px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-list__item,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-list__block {
      padding: 14px 16px;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      background: #fbfdff;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-list__item {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-list__title-row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
      margin-bottom: 10px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-list__title {
      color: #16324f;
      font-size: 15px;
      font-weight: 700;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-list__meta {
      color: #64748b;
      font-size: 13px;
      line-height: 1.5;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-list__badges {
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: flex-end;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-kpis {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 16px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-kpis__item {
      padding: 12px 14px;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      background: #fbfdff;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-kpis__value,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-kpi-card__value {
      color: #16324f;
      font-size: 26px;
      font-weight: 800;
      line-height: 1.1;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-kpis__label,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-kpi-card__label {
      margin-top: 6px;
      color: #64748b;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-subdepartment-preview {
      display: grid;
      gap: 8px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-subdepartment-preview__row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 10px 12px;
      border: 1px solid #e7edf5;
      border-radius: 12px;
      background: #ffffff;
      color: #16324f;
      font-size: 14px;
      font-weight: 600;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-access-kpis {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-kpi-card {
      padding: 18px 20px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-kpi-card__meta {
      margin-top: 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-save-bar {
      margin-top: 12px;
      padding-top: 18px;
      border-top: 1px solid #e2e8f0;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-save-bar.mt-4 {
      margin-top: 32px !important;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-tab-intro-section {
      margin-top: 16px;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-editor-empty {
      margin: 20px 0 0;
    }

    .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 .employee-remove-modal {
      position: fixed;
      top: 50%;
      left: 50%;
      width: min(620px, 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 .employee-delete-button {
      border-color: #cbd5e1;
      color: #475569;
      background-color: #ffffff;
      transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-delete-button:not(:disabled):hover,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-delete-button:not(:disabled):focus-visible {
      border-color: #dc3545;
      background-color: #dc3545;
      color: #ffffff;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-delete-button:not(:disabled):hover i,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-delete-button:not(:disabled):focus-visible i {
      color: inherit;
    }

    .inline-style-scope--organisatie-medewerkers_beheer .employee-delete-button:disabled,
    .inline-style-scope--organisatie-medewerkers_beheer .employee-delete-button.is-blocked {
      border-color: #e2e8f0;
      background-color: #f8fafc;
      color: #94a3b8;
      opacity: 1;
      box-shadow: none;
    }

    @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;
      }

      .inline-style-scope--organisatie-medewerkers_beheer .employee-hero-card__body,
      .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-list__item,
      .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-list__title-row {
        flex-direction: column;
      }

      .inline-style-scope--organisatie-medewerkers_beheer .employee-hero-card__actions,
      .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-list__badges {
        align-items: flex-start;
      }

      .inline-style-scope--organisatie-medewerkers_beheer .employee-summary-kpis,
      .inline-style-scope--organisatie-medewerkers_beheer .employee-access-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .inline-style-scope--organisatie-medewerkers_beheer .employee-item-layout {
        gap: 12px;
      }

      .inline-style-scope--organisatie-medewerkers_beheer .employee-item-avatar {
        width: 38px;
        height: 38px;
      }

      .inline-style-scope--organisatie-medewerkers_beheer .employee-header-title-row {
        align-items: 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-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-canvas.ochart-canvas {
      position: relative;
      overflow: hidden;
      border: 1px solid #dbe3ee;
      border-radius: 12px;
      background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
      cursor: grab;
      height: var(--nc-hierarchy-canvas-height, 480px);
      min-height: 480px;
    }

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-viewport {
      position: absolute;
      top: 0;
      left: 0;
      width: var(--nc-hierarchy-viewport-width, 0px);
      height: var(--nc-hierarchy-viewport-height, 0px);
      transform: translate(var(--nc-hierarchy-pan-x, 0px), var(--nc-hierarchy-pan-y, 0px)) scale(var(--nc-hierarchy-zoom, 1));
      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;
      left: var(--nc-hierarchy-node-left, 0px);
      top: var(--nc-hierarchy-node-top, 0px);
      width: var(--nc-hierarchy-node-width, 220px);
      min-height: var(--nc-hierarchy-node-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 .employee-hierarchy.is-compact-canvas .hierarchy-canvas .ochart-node.hierarchy-node {
        min-height: 72px;
        padding: 8px 10px;
      }

      .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-node.hierarchy-node.selected {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18), 0 2px 10px rgba(15, 23, 42, 0.08);
      }

      .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;
    }
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

    .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas .ochart-node.hierarchy-node .ochart-node-type,
.inline-style-scope--organisatie-ochart .ochart-business-info-meta {
      font-size: 12px;
      color: #334155;
      margin-top: 4px;
    }

    .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 .employee-hierarchy.is-compact-canvas .hierarchy-node-summary {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-detail-panel {
        margin-top: 12px;
        padding: 12px 16px;
        border: 1px solid #e3e7ed;
        border-radius: 10px;
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
      }

      .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-detail-title {
        font-weight: 700;
        color: #0f172a;
      }

      .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-detail-subtitle {
        font-size: 13px;
        color: #475569;
      }

      .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-detail-row {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 4px 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 13px;
      }

      .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-detail-row:last-child {
        border-bottom: none;
      }

      .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-detail-label {
        color: #64748b;
        font-weight: 600;
      }

      .inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-detail-value {
        color: #0f172a;
        text-align: right;
      }

      .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;
    }

/* 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-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 .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 .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,
    .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-klanten_import .import-dropzone-text,
    .inline-style-scope--systeem-medicatie_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-search-shell {
      position: relative;
      margin-bottom: 12px;
    }

    .inline-style-scope--organisatie-ochart .ochart-search-results {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      right: 0;
      z-index: 12;
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding: 8px;
      border: 1px solid #d7dde6;
      border-radius: 12px;
      background: #ffffff;
      box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
    }

    .inline-style-scope--organisatie-ochart .ochart-columns-view {
      margin-top: 12px;
      margin-bottom: 12px;
    }

    .inline-style-scope--organisatie-ochart .ochart-loading-state {
      display: grid;
      place-items: center;
      min-height: 420px;
      margin-top: 12px;
      margin-bottom: 12px;
      border: 1px dashed #cbd5e1;
      border-radius: 16px;
      background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

    .inline-style-scope--organisatie-ochart .ochart-loading-state__content {
      display: grid;
      justify-items: center;
      gap: 0.75rem;
      padding: 2rem;
      text-align: center;
    }

    .inline-style-scope--organisatie-ochart .ochart-loading-state .spinner-border {
      width: 2.5rem;
      height: 2.5rem;
      border-width: 0.28rem;
      color: #2563eb;
    }

    .inline-style-scope--organisatie-ochart .ochart-loading-state__title {
      font-size: 1rem;
      font-weight: 700;
      color: #0f172a;
    }

    .inline-style-scope--organisatie-ochart .ochart-loading-state__meta {
      max-width: 26rem;
      font-size: 0.88rem;
      color: #475569;
    }

.inline-style-scope--organisatie-ochart .ochart-canvas {
      position: relative;
      width: 100%;
      height: var(--nc-ochart-canvas-height, auto);
      min-height: 420px;
      background: #f7f9fb;
      border: 1px solid #e3e7ed;
      border-radius: 12px;
      overflow: hidden;
      cursor: grab;
    }

.inline-style-scope--organisatie-ochart .ochart-viewport {
      position: absolute;
      top: 0;
      left: 0;
      width: var(--nc-ochart-viewport-width, 0px);
      height: var(--nc-ochart-viewport-height, 0px);
      transform: translate(var(--nc-ochart-pan-x, 0px), var(--nc-ochart-pan-y, 0px)) scale(var(--nc-ochart-zoom, 1));
      transform-origin: 0 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;
      left: var(--nc-ochart-node-left, 0px);
      top: var(--nc-ochart-node-top, 0px);
      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-root.is-compact-canvas .ochart-node {
        min-height: 72px;
        padding: 10px 12px;
      }

      .inline-style-scope--organisatie-ochart .ochart-root.is-compact-canvas .ochart-node-title,
      .inline-style-scope--organisatie-ochart .ochart-root.is-compact-canvas .ochart-node-type {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .inline-style-scope--organisatie-ochart .ochart-root.is-compact-canvas .ochart-node-type {
        margin-top: 5px;
        font-size: 12px;
      }

      .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-view-customers,
    .inline-style-scope--organisatie-ochart .ochart-node-view-customers-inline {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 1px solid #0f766e;
      background: #ffffff;
      color: #0f766e;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: none;
      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-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-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-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;
    }

    @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 input[type="file"] {
      background: #ffffff;
    }

/* 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-status-groups {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .payroll-review--selection-busy > :not(.nc-payroll-selection-overlay) {
      pointer-events: none;
      user-select: none;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-selection-overlay {
      position: fixed;
      inset: 0;
      z-index: 1080;
      display: grid;
      place-items: center;
      padding: 1.5rem;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-selection-overlay__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.42);
      backdrop-filter: blur(3px);
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-selection-overlay__dialog {
      position: relative;
      z-index: 1;
      width: min(100%, 32rem);
      display: grid;
      justify-items: center;
      gap: 0.85rem;
      padding: 1.75rem 1.5rem;
      border: 1px solid rgba(191, 216, 255, 0.9);
      border-radius: 1.1rem;
      background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
      box-shadow: 0 28px 56px rgba(15, 23, 42, 0.22);
      text-align: center;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-selection-overlay__spinner {
      width: 2.5rem;
      height: 2.5rem;
      color: #1d4ed8;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-selection-overlay__title {
      font-size: 1.1rem;
      font-weight: 700;
      color: #0f172a;
    }

.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-selection-overlay__meta {
      max-width: 28rem;
      font-size: 0.92rem;
      line-height: 1.55;
      color: #475569;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-results-shell {
      padding-top: 0.85rem;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-results-header {
      padding: 0 1rem;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-results-shell table {
      margin-bottom: 0;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-progress {
      display: grid;
      gap: 0.75rem;
      margin: 0.9rem 0 0;
      padding: 0.9rem 1rem;
      border: 1px solid #bfd8ff;
      border-radius: 14px;
      background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-progress__header {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-progress__spinner {
      flex: 0 0 auto;
      margin-top: 0.1rem;
      color: #1d4ed8;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-progress__copy {
      min-width: 0;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-progress__title {
      font-size: 0.95rem;
      font-weight: 700;
      color: #0f172a;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-progress__meta {
      margin-top: 0.2rem;
      font-size: 0.82rem;
      color: #475569;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-progress__bar-wrap {
      display: grid;
      gap: 0.35rem;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-progress__bar {
      height: 0.7rem;
      border-radius: 999px;
      background: rgba(148, 163, 184, 0.2);
      overflow: hidden;
    }

    .inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-progress__count {
      font-size: 0.78rem;
      color: #475569;
    }

    .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__heading {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.45rem;
      min-width: 0;
    }

    .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-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--missing {
      background: #e2e8f0;
      color: #475569;
    }

    .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-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%);
    }

/* 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--systeem-medewerker_gebruikers .employee-user-provisioning__batch-card {
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
      position: relative;
      min-height: 100%;
      color: var(--app-text);
      background: #f8fbff !important;
      border-color: #c8d7ea !important;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__batch-card .fw-semibold,
    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__batch-card .form-label {
      color: #0f172a;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__help-text,
    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__selection-summary {
      color: #475569;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__batch-section,
    .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;
      width: 1rem;
      height: 1rem;
      margin: 0.22rem 0 0 0;
      position: static;
      flex: 0 0 auto;
      appearance: none;
      -webkit-appearance: none;
      border: 2px solid #94a3b8;
      border-radius: 50%;
      background: #ffffff;
      box-shadow: inset 0 0 0 3px #ffffff;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__radio-option .form-check-input:checked {
      border-color: var(--app-primary);
      background: var(--app-primary);
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__radio-option .form-check-input:focus-visible {
      outline: 2px solid var(--app-focus-ring);
      outline-offset: 2px;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__radio-option .form-check-label {
      display: block;
      margin: 0;
      color: #0f172a;
      font-weight: 500;
      line-height: 1.35;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__stat-card {
      border-color: #c8d7ea !important;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__stat-label {
      color: #475569;
      font-weight: 600;
    }

    .inline-style-scope--systeem-medewerker_gebruikers .employee-user-provisioning__stat-value {
      font-size: 1rem;
      line-height: 1.25;
    }

    .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 {
      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__username-input {
      min-width: 170px;
    }

/* 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 .pct-col { width: 90px; }
    .inline-style-scope--organisatie-toeslagregelingen .time-col { width: 70px; }
    .inline-style-scope--organisatie-toeslagregelingen .holiday-band-row td { background: #fffdf7; }

/* NexusCareAdmin/systeem/medewerkers_import.aspx */
.inline-style-scope--systeem-medewerkers_import [x-cloak] {
      display: none !important;
    }

      .inline-style-scope--systeem-medewerkers_import .import-dropzone input[type="file"] {
        background: #ffffff;
      }

/* NexusCareAdmin/organisatie/toeslag_exportcodes.aspx */
.inline-style-scope--organisatie-toeslag_exportcodes [x-cloak] { display: none !important; }

/* NexusCareAdmin/systeem/medicatie_import.aspx */
/* 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-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.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-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;
    }

    @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,
.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-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 input[type="file"] {
      background: #ffffff;
    }

    .inline-style-scope--systeem-rooster_import .commit-progress-modal {
      position: fixed;
      inset: 0;
      z-index: 1060;
      display: flex;
      align-items: center;
      justify-content: center;
    }

/* NexusCareAdmin/systeem/settings.aspx */
.inline-style-scope--systeem-settings [x-cloak] {
      display: none !important;
    }

.inline-style-scope--systeem-settings .system-settings-color-preview {
      background: var(--nc-preview-background, #ffffff);
      color: var(--nc-preview-text, inherit);
      border-color: var(--nc-preview-border, #dee2e6);
      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 {
      background: var(--nc-preview-accent, currentColor);
      width: 12px;
      height: 12px;
      border: 1px solid var(--nc-preview-accent, 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;
}

.department-picker-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 1305;
}

.department-picker-modal-shell {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  z-index: 1310;
}

.department-picker-panel {
  width: min(560px, 100vw);
  height: 100vh;
  max-height: 100vh;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  background: var(--app-surface);
  border-left: 1px solid var(--app-border);
  box-shadow: -24px 0 56px rgba(15, 23, 42, 0.22);
}

.department-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  border-bottom: 1px solid var(--app-border);
}

.department-picker-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--app-text);
}

.department-picker-context {
  padding: 0 1.125rem;
  color: var(--app-text-secondary);
}

.department-picker-context.is-path {
  padding-top: 0.75rem;
}

.department-picker-context-segment {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.department-picker-path-label {
  font-weight: 600;
  color: var(--app-text);
}

.department-picker-path-line {
  width: 2px;
  height: 16px;
  background: #94a3b8;
}

.department-picker-body {
  flex: 1 1 auto;
  overflow: auto;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1rem 1.125rem 1.125rem;
}

.department-picker-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  text-align: left;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--app-border);
  border-radius: 10px;
  background: var(--app-surface);
  color: var(--app-text);
  box-shadow: var(--app-subtle-shadow);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.department-picker-item:hover,
.department-picker-item:focus-visible {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.department-picker-item.is-disabled,
.department-picker-item:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f8fafc;
  border-color: #d1d9e6;
  color: #64748b;
  box-shadow: none;
  transform: none;
}

.department-picker-item-sub {
  display: block;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--app-text-secondary);
}

.nc-hidden {
  display: none !important;
}

.nc-progress-shell {
  height: 8px;
}

.nc-progress-bar-dynamic {
  width: var(--nc-progress-width, 0%);
}

.nc-soft-panel {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
}

.nc-mt-20 {
  margin-top: 20px;
}

.nc-mt-30 {
  margin-top: 30px;
}

.nc-minh-150 {
  min-height: 150px;
}

.nc-h-150 {
  height: 150px;
}

.nc-maxw-340 {
  max-width: 340px;
}

.nc-w-70 {
  width: 70px;
}

.nc-w-90 {
  width: 90px;
}

.nc-w-100 {
  width: 100px;
}

.nc-w-110 {
  width: 110px;
}

.nc-w-132 {
  width: 132px;
}

.nc-w-140 {
  width: 140px;
}

.nc-w-160 {
  width: 160px;
}

.nc-w-170 {
  width: 170px;
}

.nc-w-180 {
  width: 180px;
}

.nc-w-190 {
  width: 190px;
}

.nc-w-220 {
  width: 220px;
}

.nc-minw-120 {
  min-width: 120px;
}

.nc-minw-130 {
  min-width: 130px;
}

.nc-minw-170 {
  min-width: 170px;
}

.nc-minw-210 {
  min-width: 210px;
}

.nc-minw-220 {
  min-width: 220px;
}

.modal-backdrop {
  --bs-backdrop-zindex: 1290;
  z-index: 1290;
}

.modal {
  --bs-modal-zindex: 1300;
  z-index: 1300;
}

/* Restored from app-theme.css.bak-2026-04-01 for live ASPX class usage on 2026-04-01 */

.card-header,
.box-header.with-border {
  background-color: transparent;
  border-bottom: 1px solid var(--app-border);
  padding: 0.75rem 0.875rem;
  font-weight: 600;
}

.box-title {
  color: var(--app-text);
  font-size: 1rem;
  font-weight: 600;
}

.footer-logo {
  height: 35px;
  margin-right: 10px;
}

.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;
}

.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);
}

.dropdown-item {
  border-radius: 0.5rem;
}

.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-calculation-menu {
  position: relative;
}

.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-calculation-menu__menu {
  top: calc(100% + 0.375rem);
  right: 0;
  left: auto;
  min-width: 14rem;
  margin: 0;
  background: var(--app-surface);
  color: var(--app-text);
  z-index: 1200;
}

.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-calculation-menu__menu .dropdown-item {
  color: var(--app-text);
}

.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-calculation-menu__menu .dropdown-item:hover,
.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-calculation-menu__menu .dropdown-item:focus {
  background: var(--app-surface-subtle);
  color: var(--app-primary);
}

.top-global-search.is-open {
  display: flex;
  flex-direction: column;
}

.global-search-results.is-open {
  display: block;
}

.nc-effective-rights-search {
  min-width: 240px;
}

.nc-row-menu .dropdown-item {
  border-radius: 0.375rem;
}

.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 .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;
}

.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;
}

.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 {
      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;
    }

.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-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 .klanten-overview .nc-row-actions.is-open {
            z-index: 12;
        }

.inline-style-scope--zorg-klanten .klanten-overview .table-hover > tbody > tr:hover > * {
            --bs-table-color-state: var(--app-text);
            --bs-table-bg-state: var(--app-row-hover);
            color: var(--app-text) !important;
            background-color: var(--app-row-hover) !important;
        }

.inline-style-scope--zorg-klanten .klanten-overview .nc-row-menu {
            background: var(--app-surface);
            border-color: var(--app-border);
        }

.inline-style-scope--zorg-klanten .klanten-overview .nc-row-menu.is-floating {
            position: fixed;
            z-index: 1060;
        }

.inline-style-scope--zorg-klanten .klanten-overview .nc-row-menu .dropdown-item {
            color: var(--app-text);
        }

.inline-style-scope--zorg-klanten .klanten-overview .nc-row-menu .dropdown-item:hover,
.inline-style-scope--zorg-klanten .klanten-overview .nc-row-menu .dropdown-item:focus {
            color: var(--app-text);
            background-color: var(--app-row-hover);
        }

.inline-style-scope--zorg-klanten .klanten-overview .nc-row-menu .dropdown-item.text-danger {
            color: var(--app-danger-text) !important;
        }

.inline-style-scope--zorg-klanten .klanten-overview .nc-row-menu .dropdown-item.text-danger:hover,
.inline-style-scope--zorg-klanten .klanten-overview .nc-row-menu .dropdown-item.text-danger:focus {
            color: var(--app-danger-text) !important;
            background-color: var(--app-danger-soft);
        }

.inline-style-scope--zorg-klanten .customer-detail-workspace {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

.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-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-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;
        }

.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__text {
      margin-top: 8px;
      font-size: 0.875rem;
      color: #64748b;
    }

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;
        }

.inline-style-scope--organisatie-dienstentellers [x-cloak] { display: none !important; }





.inline-style-scope--organisatie-dienstentellers .teller-item:hover { background: #f1f5f9; }

.inline-style-scope--organisatie-dienstentellers .teller-item.active { background: #e0e7ff; }

.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;
        }

.inline-style-scope--zorg-klant_onderhoud .customer-identity-strip {
            padding: 1rem 1.15rem 0.8rem;
            border-bottom: 1px solid #e5e7eb;
            background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
        }

.inline-style-scope--zorg-klant_onderhoud .customer-identity-strip__label {
            display: inline-flex;
            align-items: center;
            margin-bottom: 0.35rem;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #64748b;
        }

.inline-style-scope--zorg-klant_onderhoud .customer-identity-strip__name {
            font-size: 1.35rem;
            font-weight: 700;
            line-height: 1.2;
            color: #0f172a;
        }

.inline-style-scope--zorg-klant_onderhoud .customer-identity-strip__meta {
            margin-top: 0.3rem;
            font-size: 0.9rem;
            color: #475569;
        }

.inline-style-scope--zorg-klant_onderhoud .customer-identity-strip__meta strong {
            color: #0f172a;
        }

.inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom {
            background-color: transparent;
            border: none;
            border-top: 1px solid #e5e7eb;
            border-bottom: 1px solid #e5e7eb;
            border-radius: 0;
            padding: 0 18px;
            margin-bottom: 0;
            box-shadow: none;
            gap: 0;
        }

.inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom .nav-link {
                border: none;
                padding: 14px 16px;
                color: #64748b;
                font-weight: 600;
                background: transparent;
                border-radius: 0;
                transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
                position: relative;
                display: inline-flex;
                align-items: center;
                gap: 8px;
            }

.inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom .nav-item + .nav-item .nav-link {
                border-left: 1px solid #eef2f7;
            }

.inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom .nav-link:hover {
                    background-color: #f8fafc;
                    color: #334155;
                }

.inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom .nav-link.active {
                    background-color: #fff;
                    color: #1e3a8a;
                    box-shadow: inset 0 -2px 0 #2563eb;
                    z-index: 1;
                }

.inline-style-scope--zorg-klant_onderhoud .nav-tabs-custom .nav-link i {
                    margin-right: 0;
                }

.inline-style-scope--zorg-klant_onderhoud .tab-content-custom {
            background-color: transparent;
            border-radius: 0;
            border: none;
            padding: 20px 20px 24px;
            box-shadow: none;
        }

.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 .profile-form-stack {
            display: grid;
            gap: 16px;
        }

.inline-style-scope--zorg-klant_onderhoud .profile-section {
            margin-bottom: 0;
            padding: 0;
            overflow: hidden;
        }

.inline-style-scope--zorg-klant_onderhoud .form-section-toggle {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 16px 18px;
            border: none;
            border-bottom: 1px solid #e5e7eb;
            background: #fff;
            color: #0f172a;
            text-align: left;
        }

.inline-style-scope--zorg-klant_onderhoud .form-section-toggle:hover {
            background: #f8fafc;
        }

.inline-style-scope--zorg-klant_onderhoud .form-section-toggle:focus-visible {
            outline: none;
            box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.16);
        }

.inline-style-scope--zorg-klant_onderhoud .profile-section.is-collapsed .form-section-toggle {
            border-bottom-color: transparent;
        }

.inline-style-scope--zorg-klant_onderhoud .form-section-heading {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
            font-weight: 700;
            color: #0f172a;
        }

.inline-style-scope--zorg-klant_onderhoud .form-section-heading i {
            color: #334155;
        }

.inline-style-scope--zorg-klant_onderhoud .form-section-toggle__icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #475569;
        }

.inline-style-scope--zorg-klant_onderhoud .form-section-toggle__icon svg {
            transition: transform 0.2s ease;
        }

.inline-style-scope--zorg-klant_onderhoud .profile-section.is-collapsed .form-section-toggle__icon svg {
            transform: rotate(180deg);
        }

.inline-style-scope--zorg-klant_onderhoud .form-section-body {
            padding: 18px 16px 10px;
        }

.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;
            }

.inline-style-scope--zorg-klant_onderhoud .form-label.required::after {
                content: " *";
                color: #dc3545;
                font-weight: bold;
            }

.inline-style-scope--zorg-klant_onderhoud .photo-upload-container {
            display: flex;
            gap: 15px;
            align-items: flex-start;
        }

.inline-style-scope--zorg-klant_onderhoud .profile-photo-upload {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            flex-wrap: wrap;
        }

.inline-style-scope--zorg-klant_onderhoud .profile-photo-upload__controls {
            display: grid;
            gap: 10px;
            align-content: start;
            min-width: min(100%, 280px);
        }

.inline-style-scope--zorg-klant_onderhoud .profile-photo-upload__input {
            min-width: min(100%, 260px);
        }

.inline-style-scope--zorg-klant_onderhoud .profile-photo-upload__hint {
            color: #64748b;
            font-size: 12px;
        }

.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 .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--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-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;
        }

.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 .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: 16px;
            padding: 16px 24px 24px;
            border-top: 1px solid #e5e7eb;
            background: #fff;
        }

.inline-style-scope--zorg-klant_onderhoud .save-feedback__main {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
        }

.inline-style-scope--zorg-klant_onderhoud .save-feedback .action-buttons {
            margin-top: 0;
        }

.inline-style-scope--zorg-klant_onderhoud .customer-audit-meta {
            display: grid;
            grid-template-columns: repeat(2, minmax(180px, 1fr));
            gap: 16px;
            margin-left: auto;
        }

.inline-style-scope--zorg-klant_onderhoud .customer-audit-meta__item {
            display: grid;
            gap: 2px;
            padding-left: 18px;
            border-left: 1px solid #e5e7eb;
        }

.inline-style-scope--zorg-klant_onderhoud .customer-audit-meta__label {
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: #64748b;
        }

.inline-style-scope--zorg-klant_onderhoud .customer-audit-meta__value {
            color: #0f172a;
            font-size: 15px;
            font-weight: 700;
        }

.inline-style-scope--zorg-klant_onderhoud .customer-audit-meta__sub {
            color: #475569;
            font-size: 13px;
        }

.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 li + li {
            margin-top: 4px;
        }

.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;
        }

.inline-style-scope--zorg-klant_onderhoud .address-container {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

.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;
        }

.inline-style-scope--zorg-klant_onderhoud .contactperson-toolbar {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 16px;
        }

.inline-style-scope--zorg-klant_onderhoud .contactperson-drawer-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.5);
            opacity: 0;
            transition: opacity 0.18s ease;
            z-index: 1305;
        }

.inline-style-scope--zorg-klant_onderhoud .contactperson-drawer-backdrop.is-open {
            opacity: 1;
        }

.inline-style-scope--zorg-klant_onderhoud .contactperson-drawer-shell {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: stretch;
            justify-content: flex-end;
            pointer-events: none;
            z-index: 1310;
        }

.inline-style-scope--zorg-klant_onderhoud .contactperson-drawer {
            width: min(720px, 100vw);
            height: 100vh;
            margin-left: auto;
            display: flex;
            flex-direction: column;
            background: var(--app-surface);
            border-left: 1px solid var(--app-border);
            box-shadow: -24px 0 56px rgba(15, 23, 42, 0.22);
            pointer-events: auto;
            transform: translateX(100%);
            transition: transform 0.22s ease;
        }

.inline-style-scope--zorg-klant_onderhoud .contactperson-drawer-shell.is-open .contactperson-drawer {
            transform: translateX(0);
        }

.inline-style-scope--zorg-klant_onderhoud .contactperson-drawer__header,
.inline-style-scope--zorg-klant_onderhoud .contactperson-drawer__footer {
            flex: 0 0 auto;
            padding: 16px 18px;
            border-bottom: 1px solid var(--app-border);
        }

.inline-style-scope--zorg-klant_onderhoud .contactperson-drawer__header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

.inline-style-scope--zorg-klant_onderhoud .contactperson-drawer__footer {
            border-top: 1px solid var(--app-border);
            border-bottom: 0;
            background: #f8fafc;
        }

.inline-style-scope--zorg-klant_onderhoud .contactperson-drawer__body {
            flex: 1 1 auto;
            overflow: auto;
            padding: 18px;
        }

.inline-style-scope--zorg-klant_onderhoud .contactperson-drawer__form {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

.inline-style-scope--zorg-klant_onderhoud .contactperson-drawer__errors {
            margin: 0;
        }

body.contactperson-drawer-open {
            overflow: hidden;
        }

.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;
        }

.inline-style-scope--zorg-klant_onderhoud .memo-textarea {
            min-height: 550px;
            resize: vertical;
            font-family: inherit;
            line-height: 1.6;
        }

.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-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;
        }

.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;
        }



.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;
        }

.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;
        }

.inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-shift--morning:not(.table-primary) {
      --bs-table-bg: var(--rooster-morning-bg, #d1e7dd);
      --bs-table-color: var(--rooster-morning-text, #0f5132);
      border-color: var(--rooster-morning-border, #badbcc);
    }

.inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-shift--afternoon:not(.table-primary) {
      --bs-table-bg: var(--rooster-afternoon-bg, #fff3cd);
      --bs-table-color: var(--rooster-afternoon-text, #000000);
      border-color: var(--rooster-afternoon-border, #ffc107);
    }

.inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-shift--night:not(.table-primary) {
      --bs-table-bg: var(--rooster-night-bg, #e7f3ff);
      --bs-table-color: var(--rooster-night-text, #004085);
      border-color: var(--rooster-night-border, #b3d9ff);
    }

.inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-special--vacation:not(.table-primary) {
      --bs-table-bg: var(--rooster-vacation-bg, rgba(102, 126, 234, 0.14));
      --bs-table-color: var(--rooster-vacation-text, #667eea);
      border-color: var(--rooster-vacation-border, rgba(102, 126, 234, 0.35));
    }

.inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-special--sick:not(.table-primary) {
      --bs-table-bg: var(--rooster-sick-bg, #f8d7da);
      --bs-table-color: var(--rooster-sick-text, #842029);
      border-color: var(--rooster-sick-border, #dc3545);
    }

.inline-style-scope--organisatie-dienstrooster .rooster table td.rooster-special--course:not(.table-primary) {
      --bs-table-bg: var(--rooster-course-bg, rgba(13, 110, 253, 0.10));
      --bs-table-color: var(--rooster-course-text, #0d6efd);
      border-color: var(--rooster-course-border, 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: var(--rooster-manual-bg, rgba(245, 158, 11, 0.18));
      --bs-table-color: var(--rooster-manual-text, #8a4b00);
      border-color: var(--rooster-manual-border, 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,
.inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-shift--morning {
      background: var(--rooster-morning-bg, #d1e7dd);
        color: var(--rooster-morning-text, #0f5132);
        border-color: var(--rooster-morning-border, #badbcc);
      }

.inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-shift--afternoon,
.inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-shift--afternoon {
        background: var(--rooster-afternoon-bg, #fff3cd);
        color: var(--rooster-afternoon-text, #000000);
        border-color: var(--rooster-afternoon-border, #ffc107);
      }

.inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-shift--night,
.inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-shift--night {
        background: var(--rooster-night-bg, #e7f3ff);
        color: var(--rooster-night-text, #004085);
        border-color: var(--rooster-night-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,
.inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-special--vacation {
        background: var(--rooster-vacation-bg, rgba(102, 126, 234, 0.14));
        color: var(--rooster-vacation-text, #667eea);
        border-color: var(--rooster-vacation-border, rgba(102, 126, 234, 0.35));
      }

.inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--sick,
.inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-special--sick {
        background: var(--rooster-sick-bg, #f8d7da);
        color: var(--rooster-sick-text, #842029);
        border-color: var(--rooster-sick-border, #dc3545);
      }

.inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--course,
.inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-special--course {
        background: var(--rooster-course-bg, rgba(13, 110, 253, 0.10));
        color: var(--rooster-course-text, #0d6efd);
        border-color: var(--rooster-course-border, rgba(13, 110, 253, 0.35));
      }

.inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--manual,
.inline-style-scope--organisatie-dienstrooster .rooster .rooster-entry-pill.rooster-special--manual {
        background: var(--rooster-manual-bg, rgba(245, 158, 11, 0.18));
        color: var(--rooster-manual-text, #8a4b00);
        border-color: var(--rooster-manual-border, rgba(245, 158, 11, 0.42));
      }

.inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-shift--morning::before {
        background: var(--rooster-morning-accent, #198754);
        border-color: var(--rooster-morning-accent, #198754);
      }

.inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-shift--afternoon::before {
        background: var(--rooster-afternoon-accent, #ffc107);
        border-color: var(--rooster-afternoon-accent, #ffc107);
      }

.inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-shift--night::before {
        background: var(--rooster-night-accent, #0dcaf0);
        border-color: var(--rooster-night-accent, #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(--rooster-vacation-accent, #667eea);
        border-color: var(--rooster-vacation-accent, #667eea);
      }

.inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--sick::before {
        background: var(--rooster-sick-accent, #dc3545);
        border-color: var(--rooster-sick-accent, #dc3545);
      }

.inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--course::before {
        background: var(--rooster-course-accent, #0d6efd);
        border-color: var(--rooster-course-accent, #0d6efd);
      }

.inline-style-scope--organisatie-dienstrooster .rooster .rooster-legend-item.rooster-special--manual::before {
        background: var(--rooster-manual-accent, #f59e0b);
        border-color: var(--rooster-manual-accent, #f59e0b);
      }

.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-scope-readonly {
      min-height: 46px;
      border: 1px solid #ced4da;
      border-radius: 0.9rem;
      background: #fff;
      padding: 0.375rem 0.95rem;
      display: flex;
      align-items: center;
      color: #212529;
      font-weight: 600;
    }

.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-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;
    }

.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-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-stamp-active .rooster-cell {
      cursor: crosshair !important;
    }

.inline-style-scope--organisatie-dienstrooster .rooster.rooster-is-busy,
.inline-style-scope--organisatie-dienstrooster .rooster.rooster-is-busy * {
      cursor: wait !important;
    }

.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-modal-dialog {
      margin-top: calc(var(--app-header-height) + 1rem);
      margin-bottom: 1rem;
    }

.rooster-export-modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 1290;
      background: rgba(15, 23, 42, 0.56);
    }

.rooster-export-modal-shell {
      position: fixed;
      inset: 0;
      z-index: 1300;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: calc(var(--app-header-height) + 1rem) 1rem 1rem;
      overflow-y: auto;
    }

.rooster-export-modal {
      width: min(560px, 100%);
      background: #ffffff;
      border: 1px solid #dbe7f3;
      border-radius: 20px;
      box-shadow: 0 22px 46px rgba(15, 23, 42, 0.24);
    }

.rooster-export-modal__header,
.rooster-export-modal__body,
.rooster-export-modal__footer {
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }

.rooster-export-modal__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding-top: 1.1rem;
      padding-bottom: 0.9rem;
      border-bottom: 1px solid #e5e7eb;
    }

.rooster-export-modal__body {
      padding-top: 1rem;
      padding-bottom: 1rem;
    }

.rooster-export-modal__footer {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 0.75rem;
      padding-top: 0.95rem;
      padding-bottom: 1.1rem;
      border-top: 1px solid #e5e7eb;
    }

.rooster-teleport-root .modal.show {
      display: block;
    }

.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-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;
    }

.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-intro-copy {
      max-width: 880px;
      color: #475569;
      font-size: 14px;
    }

.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--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__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__intro {
      font-size: 13px;
      color: #475569;
      max-width: 840px;
    }

.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-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-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__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;
    }

.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-text {
        font-size: 0.85rem;
      }

.inline-style-scope--organisatie-medewerkers_hierarchie .hierarchy-canvas.ochart-canvas.panning {
      cursor: grabbing;
    }

.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-row {
      display: flex;
      align-items: center;
      gap: 6px;
      min-height: 32px;
      border-bottom: 1px solid #f1f5f9;
      padding-left: var(--nc-hierarchy-indent, 0px);
      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-ochart .ochart-search-result {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
      width: 100%;
      padding: 10px 12px;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      background: #f8fafc;
      color: #0f172a;
      text-align: left;
      transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
    }

.inline-style-scope--organisatie-ochart .ochart-search-result:hover,
    .inline-style-scope--organisatie-ochart .ochart-search-result:focus {
      border-color: #2f71ff;
      background: #eff6ff;
      box-shadow: 0 0 0 2px rgba(47, 113, 255, 0.12);
      outline: none;
    }

.inline-style-scope--organisatie-ochart .ochart-search-result-type {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #2f71ff;
    }

.inline-style-scope--organisatie-ochart .ochart-business-info.dimmed {
      opacity: 0.35;
    }

.inline-style-scope--organisatie-ochart .ochart-business-info.search-highlight {
      border-color: #2f71ff;
      box-shadow: 0 0 0 2px rgba(47, 113, 255, 0.16);
    }

.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-actions {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }

.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.search-highlight {
      border-color: #0ea5e9;
      box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
    }

.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-node-drag-handle,
.inline-style-scope--organisatie-ochart .ochart-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 .ochart-node-drag-handle.tooltip-btn {
      position: absolute !important;
      top: -8px !important;
      left: -8px !important;
      right: auto !important;
    }

.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.panning {
      cursor: grabbing;
    }

.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-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-body {
      padding: 12px 14px;
      overflow: auto;
      min-height: 0;
    }

.inline-style-scope--organisatie-ochart .ochart-column-card-customer-line,
.inline-style-scope--organisatie-ochart .ochart-node-customer-line {
      color: #0f766e;
      font-weight: 600;
    }

.inline-style-scope--organisatie-ochart .ochart-employee-line {
      color: #0369a1;
      font-weight: 600;
    }

.inline-style-scope--organisatie-ochart .ochart-column-card-inline-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      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-row-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
    }

.inline-style-scope--organisatie-ochart .ochart-employee-row--leader {
      border-color: #cbd5e1;
      background: linear-gradient(90deg, #f8fbff 0%, #ffffff 28%);
      box-shadow: inset 3px 0 0 #cbd5e1;
    }

.inline-style-scope--organisatie-ochart .ochart-employee-row--primary-leader {
      border-color: #93c5fd;
      box-shadow: inset 3px 0 0 #60a5fa;
    }

.inline-style-scope--organisatie-ochart .ochart-employee-flag {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 2px 8px;
      border-radius: 999px;
      border: 1px solid #dbeafe;
      background: #eff6ff;
      color: #1d4ed8;
      font-size: 11px;
      font-weight: 600;
      white-space: nowrap;
    }

.inline-style-scope--organisatie-ochart .ochart-panel-title {
      font-weight: 600;
      color: #0f172a;
    }

.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.search-highlight {
      border-color: #0ea5e9;
      box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2), 0 16px 28px rgba(14, 165, 233, 0.12);
    }

.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-employee-stack {
      position: absolute;
      left: var(--nc-ochart-stack-left, 0px);
      top: var(--nc-ochart-stack-top, 0px);
      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-count {
      font-size: 12px;
      font-weight: 600;
      color: #6d28d9;
    }

.inline-style-scope--organisatie-ochart .ochart-employee-stack-close {
      position: absolute;
      left: var(--nc-ochart-stack-close-left, 0px);
      top: var(--nc-ochart-stack-close-top, 0px);
      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 .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 .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 .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-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;
    }

.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 var(--app-primary-soft);
      border-radius: 999px;
      background: var(--app-primary-surface);
      color: var(--app-primary-text);
      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: var(--app-border);
      background: var(--app-surface-subtle);
      color: var(--app-text-secondary);
    }

.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-plan.bg-success {
      background: #0f7a3b !important;
      color: #ffffff !important;
    }

.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-status-plan.bg-warning,
.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-status-plan.bg-warning.text-dark {
      background: #b45309 !important;
      color: #ffffff !important;
    }

.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-department {
      border: 1px solid var(--app-border);
      border-radius: 10px;
      background: var(--app-row-alt);
    }

.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__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: var(--app-text);
    }

.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-department__meta {
      font-size: 0.8rem;
      color: var(--app-text-secondary);
    }



.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: var(--app-surface);
      border: 1px solid var(--app-border-soft);
}

.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-subdepartment--selected {
      border-color: var(--app-primary-border-soft);
      box-shadow: inset 0 0 0 1px var(--app-primary-soft);
      background: var(--app-primary-surface);
    }

.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-subdepartment__stats .nc-payroll-count-chip {
      color: #1f2937;
      border-color: #c3ccd8;
      font-weight: 600;
    }

.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 var(--app-border);
      border-radius: 10px;
      background: var(--app-surface);
}

.inline-style-scope--organisatie-payroll_calculation_review .nc-payroll-run-summary__label {
      font-size: 0.75rem;
      color: var(--app-neutral-state);
    }

.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;
    }

.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 li {
      margin-bottom: 6px;
      font-size: 14px;
    }

.inline-style-scope--main-noaccess .noaccess-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 8px;
    }

.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 code {
      font-size: 0.9rem;
      color: #0f3d75;
    }

.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 .time-input { min-width: 110px; }

.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--organisatie-verloningscomponenten .nc-status-badge.status-count {
      background: #e6eefc;
      color: #1d4ed8;
    }

.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-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;
    }

.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 .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 .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;
    }

.nc-issue-report-modal .modal-content {
  width: 100%;
  max-height: calc(100vh - 2rem);
  border: 1px solid var(--app-border);
  border-radius: 1rem;
  background: var(--app-surface);
  color: var(--app-text);
  box-shadow: var(--app-elevated-shadow);
  overflow: hidden;
}

.nc-issue-report-modal .modal-header {
  padding: 1rem 1.25rem 0.9rem;
  background: var(--app-surface);
  border-bottom: 1px solid var(--app-border);
}

.nc-issue-report-modal .modal-body {
  overflow: auto;
  padding: 1rem 1.25rem 1.1rem;
  background: var(--app-surface);
}

.nc-issue-report-modal .modal-footer {
  padding: 0.9rem 1.25rem 1.1rem;
  background: var(--app-surface);
  border-top: 1px solid var(--app-border);
}

.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;
}

/* NexusCareAdmin UI consistency wave: late shared overrides for older page-local variants. */
.content-wrapper .content {
  padding: 0.75rem 1rem;
}

.content-header h1,
.content-header .page-title,
.content-header .content-title {
  color: var(--app-text);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.content-header .breadcrumb,
.content-header .breadcrumb a,
.content-header .breadcrumb-item {
  color: var(--app-text-muted);
  font-size: 0.8125rem;
}

.modal-content {
  border: 1px solid var(--app-border);
  border-radius: 0.75rem;
  box-shadow: var(--app-elevated-shadow);
}

.modal-header,
.modal-footer {
  border-color: var(--app-border-soft);
}

.modal-footer,
.nc-action-footer,
.base-table-editor__footer,
.product-editor__actions,
.medicine-editor__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-tabs:not(.control-sidebar-tabs),
.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tabs,
.nc-work-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-bottom: 1px solid var(--app-divider);
  padding-top: 0.25rem;
}

.nav-tabs:not(.control-sidebar-tabs) .nav-link,
.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab,
.nc-work-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--app-text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
}

.nav-tabs:not(.control-sidebar-tabs) .nav-link:hover,
.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab:hover,
.nc-work-tab:hover {
  background: transparent;
  color: var(--app-text);
  border-bottom-color: var(--app-border);
}

.nav-tabs:not(.control-sidebar-tabs) .nav-link.active,
.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab.is-active,
.nc-work-tab.is-active {
  background: transparent;
  color: var(--app-primary);
  border-bottom-color: var(--app-primary);
  box-shadow: none;
}

.nav-tabs:not(.control-sidebar-tabs) .nav-link svg,
.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab svg,
.nc-work-tab svg {
  width: 1rem;
  height: 1rem;
}

.table-responsive,
.table-wrapper,
.dataTables_wrapper {
  border-color: var(--app-border);
  border-radius: 0.5rem;
}

.alert-info,
.callout-info {
  color: var(--app-primary-text);
  border-color: var(--app-primary-border-soft);
  background-color: var(--app-info-soft);
}

.alert-warning,
.callout-warning {
  color: var(--app-warning-text);
  border-color: var(--app-warning);
  background-color: var(--app-warning-soft);
}

.alert-danger,
.callout-danger {
  color: var(--app-danger-text);
  border-color: var(--app-danger);
  background-color: var(--app-danger-soft);
}

/* Compact base-table maintenance pages: align basis_*.aspx with product/medicine record management. */
.inline-style-scope--systeem-base-table-refresh .base-table-page {
  gap: 0.75rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__hero {
  display: none;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  width: auto;
  margin: 0;
  padding: 0.15rem 0 0;
  border-bottom: 1px solid var(--app-divider);
  background: transparent;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0.48rem 0.72rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--app-text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
  transform: none;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab:hover {
  border-bottom-color: var(--app-border);
  background: transparent;
  color: var(--app-text);
  transform: none;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab.is-active {
  border-color: transparent;
  border-bottom-color: var(--app-primary);
  background: transparent;
  color: var(--app-primary);
  box-shadow: none;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab i,
.inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab svg {
  width: 1rem;
  height: 1rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-page__workspace {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
  min-height: min(680px, calc(100vh - 210px));
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar,
.inline-style-scope--systeem-base-table-refresh .base-table-editor {
  min-height: 0;
  max-height: calc(100vh - 210px);
  padding: 1rem;
  border: 1px solid var(--app-border);
  border-radius: 0.75rem;
  background: var(--app-surface);
  box-shadow: var(--app-soft-shadow);
  overflow: visible;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar {
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__header,
.inline-style-scope--systeem-base-table-refresh .base-table-editor__header {
  gap: 0.75rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__meta {
  gap: 0.4rem;
  margin-top: 0.25rem;
  color: var(--app-text-secondary);
  font-size: 0.8125rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__meta i,
.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__meta svg {
  width: 0.875rem;
  height: 0.875rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__tools {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  min-width: 2.25rem;
  height: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  border-radius: 0.5rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__create {
  min-height: 2.25rem;
  padding: 0;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.18);
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__description,
.inline-style-scope--systeem-base-table-refresh .base-table-editor__description {
  color: var(--app-text-secondary);
  font-size: 0.875rem;
  line-height: 1.4;
}

.inline-style-scope--systeem-base-table-refresh .base-table-search {
  position: relative;
  display: block;
}

.inline-style-scope--systeem-base-table-refresh .base-table-search i,
.inline-style-scope--systeem-base-table-refresh .base-table-search svg {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  width: 0.95rem;
  height: 0.95rem;
  color: var(--app-text-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.inline-style-scope--systeem-base-table-refresh .base-table-search .form-control {
  min-height: 2.35rem;
  padding-left: 2.35rem;
  border-radius: 0.5rem;
  border-color: var(--app-border);
  font-size: 0.9rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__list {
  display: grid;
  align-content: start;
  gap: 0.625rem;
  max-height: none;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: auto;
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item {
  padding: 0.72rem 0.82rem;
  border: 1px solid var(--app-border);
  border-radius: 0.625rem;
  background: var(--app-surface);
  box-shadow: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item::before,
.inline-style-scope--systeem-base-table-refresh .base-table-list-item::after {
  display: none;
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item:hover {
  border-color: rgba(var(--bs-primary-rgb), 0.28);
  background: var(--app-primary-surface);
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item.active {
  padding-left: 0.82rem;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.45);
  background: var(--app-primary-surface);
  box-shadow: 0 0 0 1px rgba(var(--bs-primary-rgb), 0.1);
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item__title {
  color: var(--app-text);
  font-size: 0.95rem;
  font-weight: 700;
}

.inline-style-scope--systeem-base-table-refresh .base-table-list-item__summary {
  display: -webkit-box;
  margin-top: 0.3rem;
  overflow: hidden;
  color: var(--app-text-secondary);
  font-size: 0.8125rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__footnote,
.inline-style-scope--systeem-base-table-refresh .base-table-editor__note {
  gap: 0.55rem;
  border-radius: 0.625rem;
  color: var(--app-primary-text);
  background: var(--app-info-soft);
}

.inline-style-scope--systeem-base-table-refresh .base-table-sidebar__footnote {
  padding: 0.65rem 0.75rem;
  font-size: 0.8125rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor {
  display: grid;
  grid-template-rows: auto auto minmax(0, auto) auto;
  gap: 0.875rem;
  max-height: none;
  overflow: visible;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor > .row {
  padding-bottom: 0;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__eyebrow {
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__title {
  color: var(--app-text);
  font-size: 1.25rem;
  font-weight: 700;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__divider {
  background: var(--app-divider);
}

.inline-style-scope--systeem-base-table-refresh .base-table-field {
  gap: 0.42rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-field .form-label {
  color: var(--app-text);
  font-size: 0.875rem;
  font-weight: 600;
}

.inline-style-scope--systeem-base-table-refresh .base-table-field .form-control {
  min-height: 2.35rem;
  border-radius: 0.5rem;
  border-color: var(--app-border);
  font-size: 0.9rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-field textarea.form-control {
  min-height: 6.75rem;
  padding-top: 0.65rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-checkbox-row {
  min-height: 2.35rem;
  padding: 0.55rem 0.65rem;
  border-color: var(--app-border);
  border-radius: 0.5rem;
}

.inline-style-scope--systeem-base-table-refresh .base-table-checkbox-row__label {
  color: var(--app-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__actions {
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin: auto -1rem -1rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--app-divider);
  background: var(--app-surface);
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.inline-style-scope--systeem-base-table-refresh .base-table-editor__delete {
  min-height: 2.35rem;
  padding-inline: 0.85rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.inline-style-scope--systeem-base-table-report-html .base-table-html-field {
  gap: 0.65rem;
}

.inline-style-scope--systeem-base-table-report-html .base-table-html-field__split {
  gap: 0.75rem;
}

.inline-style-scope--systeem-base-table-report-html .base-table-html-field__editor,
.inline-style-scope--systeem-base-table-report-html .base-table-html-field__viewer {
  min-height: 11.5rem;
  border-radius: 0.5rem;
}

@media (max-width: 1199.98px) {
  .inline-style-scope--systeem-base-table-refresh .base-table-sidebar,
  .inline-style-scope--systeem-base-table-refresh .base-table-editor {
    max-height: none;
  }
}

@media (max-width: 767.98px) {
  .inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tabs {
    display: flex;
    width: 100%;
    overflow-x: auto;
  }

  .inline-style-scope--systeem-base-table-refresh .base-table-page__catalog-tab {
    width: auto;
    flex: 0 0 auto;
  }

  .inline-style-scope--systeem-base-table-refresh .base-table-sidebar__header,
  .inline-style-scope--systeem-base-table-refresh .base-table-editor__header,
  .inline-style-scope--systeem-base-table-refresh .base-table-editor__actions {
    flex-direction: row;
    align-items: center;
  }

  .inline-style-scope--systeem-base-table-refresh .base-table-editor__actions {
    justify-content: flex-start;
  }
}

/* NexusCareAdmin/organisatie/payroll_calculation_settings.aspx */
.inline-style-scope--organisatie-payroll_calculation_settings {
  --nc-payroll-surface-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  --nc-payroll-soft-border: rgba(148, 163, 184, 0.24);
  --nc-payroll-soft-bg: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  --nc-payroll-chip-bg: #eff4ff;
  --nc-payroll-chip-border: #cddcff;
  --nc-payroll-chip-text: #1d4ed8;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-hero,
.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-kpi-card,
.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-surface {
  border: 1px solid var(--nc-payroll-soft-border);
  border-radius: 18px;
  background: var(--nc-payroll-soft-bg);
  box-shadow: var(--nc-payroll-surface-shadow);
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-hero,
.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-surface {
  padding: 1.35rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-kpi-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-kpi-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-kpi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: #eef4ff;
  color: var(--app-primary);
  flex: 0 0 auto;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-kpi-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-kpi-copy {
  display: grid;
  gap: 0.1rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-settings-tabs {
  width: fit-content;
  max-width: 100%;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-panel-header--compact {
  margin-bottom: 0.85rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-selection-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-selection-pill,
.inline-style-scope--organisatie-payroll_calculation_settings .nc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.28rem 0.75rem;
  border: 1px solid var(--nc-payroll-chip-border);
  border-radius: 999px;
  background: var(--nc-payroll-chip-bg);
  color: var(--nc-payroll-chip-text);
  font-size: 0.78rem;
  font-weight: 700;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-status-badge--mapping {
  background: #f8fafc;
  border-color: #d9e2ec;
  color: #334155;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-form-footer,
.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-mini-stack,
.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-checklist {
  display: grid;
  gap: 0.8rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-checklist {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--app-text-secondary);
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-mini-row {
  display: grid;
  gap: 0.35rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-switch-row--card,
.inline-style-scope--organisatie-payroll_calculation_settings .nc-switch-row--table {
  min-height: 2.35rem;
  margin: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--app-border-soft);
  border-radius: 12px;
  background: #ffffff;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-switch-row--table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem 0.6rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-switch-row--table .form-check-label {
  min-width: 3.6rem;
  color: var(--app-text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-inline-summary {
  border: 1px solid #bfd2ff;
  border-radius: 14px;
  background: #f5f8ff;
  padding: 0.95rem 1rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-inline-summary__title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 700;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-inline-summary__title svg {
  width: 1rem;
  height: 1rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-inline-summary__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-inline-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d6e2ff;
  color: #28415e;
  font-size: 0.8rem;
  font-weight: 600;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-toolbar__search {
  position: relative;
  min-width: min(100%, 360px);
  flex: 1 1 320px;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-toolbar__search svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  width: 0.95rem;
  height: 0.95rem;
  color: var(--app-text-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-toolbar__search .form-control {
  min-height: 2.45rem;
  padding-left: 2.4rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-toolbar__filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-toolbar .btn.active,
.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-pagination .btn.active {
  border-color: var(--app-primary);
  background: #edf4ff;
  color: var(--app-primary);
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-table-wrap {
  border: 1px solid var(--app-border-soft);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-exception-table thead th {
  padding: 0.9rem 0.9rem;
  border-bottom-color: var(--app-border-soft);
  background: #f8fbff;
  color: var(--app-text-secondary);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-exception-table tbody td {
  padding: 0.9rem;
  vertical-align: top;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-exception-table .nc-grid-action {
  min-width: 2.1rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-exception-cell--code {
  min-width: 19rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-exception-table .form-select-sm {
  min-height: 2.15rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-table-footer__controls,
.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-system-card {
  display: grid;
  gap: 0.85rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-trace-card {
  border: 1px solid #cfe0ff;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  overflow: hidden;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-trace-card__head {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #d8e6ff;
  color: #1e3a8a;
  font-size: 0.9rem;
  font-weight: 700;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-trace-meta {
  margin: 0;
  padding: 0.9rem 1.15rem 0.2rem 1.95rem;
  color: var(--app-text-secondary);
  font-size: 0.84rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-trace-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-top: 1px dashed #dce7ff;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-trace-line span {
  color: var(--app-text-secondary);
  font-size: 0.84rem;
}

.inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-trace-line strong {
  color: var(--app-primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: right;
}

@media (max-width: 1199.98px) {
  .inline-style-scope--organisatie-payroll_calculation_settings .nc-panel-header,
  .inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-toolbar,
  .inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-form-footer,
  .inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-table-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-toolbar__search {
    min-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .inline-style-scope--organisatie-payroll_calculation_settings .nc-hero,
  .inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-surface {
    padding: 1rem;
  }

  .inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-kpi-grid {
    grid-template-columns: 1fr;
  }

  .inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-exception-cell--code {
    min-width: 14rem;
  }

  .inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-trace-line {
    flex-direction: column;
  }

  .inline-style-scope--organisatie-payroll_calculation_settings .nc-payroll-trace-line strong {
    text-align: left;
  }
}

/* NexusCareAdmin/zorg/klanten.aspx - compact filter toolbar (Option A) */
.inline-style-scope--zorg-klanten .klanten-filter-toolbar-section {
  padding: 0;
  margin-bottom: 1rem;
}

.inline-style-scope--zorg-klanten .klanten-filter-toolbar-section > .section-header {
  min-height: 48px;
  margin-bottom: 0;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--app-border);
  background: linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-subtle) 100%);
}

.inline-style-scope--zorg-klanten .klanten-filter-toolbar {
  margin-bottom: 0;
  padding: 0.75rem 1rem 0.9rem;
  border-radius: 0;
  background: var(--app-surface);
}

.inline-style-scope--zorg-klanten .compact-filter-grid {
  display: grid;
  grid-template-columns: minmax(7rem, 0.8fr) minmax(9.5rem, 1.35fr) minmax(7rem, 0.8fr) minmax(7.5rem, 0.9fr) minmax(8.5rem, 1fr) minmax(9rem, 1.1fr) auto;
  gap: 0.6rem 0.65rem;
  align-items: flex-end;
}

.inline-style-scope--zorg-klanten .compact-filter-field {
  min-width: 0;
}

.inline-style-scope--zorg-klanten .compact-filter-field .form-label {
  display: block;
  overflow: hidden;
  margin: 0 0 0.3rem;
  color: var(--app-text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-style-scope--zorg-klanten .compact-filter-field .optional-hint {
  color: var(--app-text-muted);
  font-size: 0.68rem;
  font-weight: 500;
}

.inline-style-scope--zorg-klanten .compact-filter-field .form-control,
.inline-style-scope--zorg-klanten .compact-filter-field .form-select {
  width: 100%;
  height: 38px;
  min-height: 38px;
  padding: 0.45rem 0.65rem;
  border-color: var(--app-border);
  border-radius: 0.5rem;
  font-size: 0.82rem;
}

.inline-style-scope--zorg-klanten .compact-filter-field .form-control::placeholder {
  color: var(--app-text-muted);
}

.inline-style-scope--zorg-klanten .compact-filter-field .select2-container {
  width: 100% !important;
}

.inline-style-scope--zorg-klanten .compact-filter-field .select2-container--bootstrap-5 .select2-selection--single {
  height: 38px;
  min-height: 38px;
  border-color: var(--app-border);
  border-radius: 0.5rem;
}

.inline-style-scope--zorg-klanten .compact-filter-field .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
  padding-left: 0.65rem;
  color: var(--app-text);
  font-size: 0.82rem;
  line-height: 36px;
}

.inline-style-scope--zorg-klanten .compact-filter-field .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
  height: 36px;
}

.inline-style-scope--zorg-klanten .compact-filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  padding-bottom: 0;
}

.inline-style-scope--zorg-klanten .compact-filter-actions .btn {
  height: 38px;
  min-height: 38px;
  padding: 0 0.8rem;
  white-space: nowrap;
}

.inline-style-scope--zorg-klanten .compact-filter-actions .icon-only-btn {
  width: 38px;
  min-width: 38px;
  padding: 0;
  gap: 0;
}

.inline-style-scope--zorg-klanten .compact-filter-actions .icon-only-btn svg,
.inline-style-scope--zorg-klanten .klanten-filter-toolbar-section > .section-header .app-create-action svg {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.inline-style-scope--zorg-klanten .klanten-filter-toolbar-section > .section-header .app-create-action {
  width: 2.25rem;
  min-width: 2.25rem;
  height: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  gap: 0;
}

.inline-style-scope--zorg-klanten .compact-filter-actions .btn-outline-secondary {
  border-color: var(--app-border);
  color: var(--app-text-secondary);
  background: var(--app-surface);
}

.inline-style-scope--zorg-klanten .compact-filter-actions .btn-outline-secondary:hover,
.inline-style-scope--zorg-klanten .compact-filter-actions .btn-outline-secondary:focus {
  border-color: var(--app-primary-border-soft);
  color: var(--app-text);
  background: var(--app-surface-subtle);
}

@media (max-width: 1199.98px) {
  .inline-style-scope--zorg-klanten .compact-filter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .inline-style-scope--zorg-klanten .compact-filter-field--name,
  .inline-style-scope--zorg-klanten .compact-filter-field--subdepartment,
  .inline-style-scope--zorg-klanten .compact-filter-actions {
    grid-column: span 2;
  }
}

@media (max-width: 767.98px) {
  .inline-style-scope--zorg-klanten .compact-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inline-style-scope--zorg-klanten .compact-filter-field--name,
  .inline-style-scope--zorg-klanten .compact-filter-field--subdepartment,
  .inline-style-scope--zorg-klanten .compact-filter-actions {
    grid-column: span 2;
  }

  .inline-style-scope--zorg-klanten .compact-filter-actions .btn {
    flex: 1 1 0;
  }
}

@media (max-width: 575.98px) {
  .inline-style-scope--zorg-klanten .klanten-filter-toolbar-section > .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .inline-style-scope--zorg-klanten .klanten-filter-toolbar-section > .section-header .btn {
    width: 100%;
  }

  .inline-style-scope--zorg-klanten .compact-filter-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .inline-style-scope--zorg-klanten .compact-filter-field--name,
  .inline-style-scope--zorg-klanten .compact-filter-field--subdepartment,
  .inline-style-scope--zorg-klanten .compact-filter-actions {
    grid-column: auto;
  }
}

/* NexusCareAdmin/zorg/klanten.aspx - server-rendered sortable customer list */
.inline-style-scope--zorg-klanten .klanten-overview {
  gap: 0.5rem;
}

.inline-style-scope--zorg-klanten .klanten-overview > .section {
  padding: 0;
}

.inline-style-scope--zorg-klanten .klanten-filter-toolbar-section {
  margin-bottom: 0;
}

.inline-style-scope--zorg-klanten .klanten-filter-toolbar-section > .section-header,
.inline-style-scope--zorg-klanten .customer-list-section-header {
  min-height: 48px;
  box-sizing: border-box;
  align-items: center;
  gap: 1rem;
}

.inline-style-scope--zorg-klanten .customer-list-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  min-width: 0;
  margin-left: auto;
}

.inline-style-scope--zorg-klanten .customer-list-header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.inline-style-scope--zorg-klanten .customer-list-filter-context {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.inline-style-scope--zorg-klanten .customer-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--app-primary-border-soft);
  border-radius: 999px;
  color: var(--app-text-secondary);
  background: var(--app-primary-surface);
  font-size: 0.7rem;
  line-height: 1.2;
  white-space: nowrap;
}

.inline-style-scope--zorg-klanten .customer-filter-chip__label {
  color: var(--app-primary);
  font-weight: 700;
}

.inline-style-scope--zorg-klanten .customer-list-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.2rem;
  margin-bottom: 0;
  padding: 0.65rem 1.125rem 0.45rem;
}

.inline-style-scope--zorg-klanten .customer-list-page-size {
  width: 8rem;
}

.inline-style-scope--zorg-klanten .customer-list-page-size .form-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--app-text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
}

.inline-style-scope--zorg-klanten .customer-list-page-size .form-select {
  min-height: 38px;
  border-color: var(--app-border);
  border-radius: 0.5rem;
}

.inline-style-scope--zorg-klanten .customer-list-summary {
  margin-left: auto;
  padding-bottom: 0.4rem;
  text-align: right;
}

.inline-style-scope--zorg-klanten .customer-list-table th {
  padding: 0.6rem 0.75rem;
  white-space: nowrap;
}

.inline-style-scope--zorg-klanten .nc-filter-checklist,
.topbar-page-actions .customer-export-menu .nc-filter-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.inline-style-scope--zorg-klanten .nc-filter-checklist > li,
.topbar-page-actions .customer-export-menu .nc-filter-checklist > li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  min-height: 2rem;
  padding: 0.25rem 0.35rem;
  border-radius: 0.4rem;
}

.inline-style-scope--zorg-klanten .nc-filter-checklist > li:hover,
.topbar-page-actions .customer-export-menu .nc-filter-checklist > li:hover {
  background: var(--app-primary-soft);
}

.inline-style-scope--zorg-klanten .compact-filter-dependent--insurance {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(9.5rem, auto) minmax(0, 1fr);
  gap: 0.6rem 0.85rem;
  align-items: start;
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--app-border-soft);
  border-radius: 0.5rem;
  background: var(--app-surface-subtle);
  text-align: left;
}

.inline-style-scope--zorg-klanten .compact-filter-dependent--insurance > .form-label {
  margin: 0.45rem 0 0;
  color: var(--app-text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.inline-style-scope--zorg-klanten .nc-insurance-choice-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.2rem 0.45rem;
  width: 100%;
}

.inline-style-scope--zorg-klanten .nc-insurance-choice-list > li {
  background: var(--app-surface);
}

.inline-style-scope--zorg-klanten .nc-insurance-choice-list > li:nth-child(-n + 3) {
  border: 1px solid var(--app-border-soft);
}

.inline-style-scope--zorg-klanten .nc-filter-checklist input[type="checkbox"],
.topbar-page-actions .nc-filter-checklist input[type="checkbox"] {
  appearance: none;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  margin: 0;
  border: 1px solid var(--app-border);
  border-radius: 0.25rem;
  background: var(--app-surface);
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.inline-style-scope--zorg-klanten .nc-filter-checklist input[type="checkbox"]:checked,
.topbar-page-actions .nc-filter-checklist input[type="checkbox"]:checked {
  border-color: var(--app-primary);
  background: var(--app-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.75rem 0.75rem;
}

.inline-style-scope--zorg-klanten .nc-filter-checklist input[type="checkbox"]:focus-visible,
.topbar-page-actions .nc-filter-checklist input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--app-focus-ring);
  outline-offset: 2px;
}

.inline-style-scope--zorg-klanten .nc-filter-checklist input[type="checkbox"]:disabled,
.topbar-page-actions .nc-filter-checklist input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.inline-style-scope--zorg-klanten .nc-filter-checklist label,
.topbar-page-actions .nc-filter-checklist label {
  display: block;
  min-width: 0;
  margin: 0;
  color: var(--app-text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
}

.inline-style-scope--zorg-klanten .nc-filter-checklist input[type="checkbox"]:disabled + label,
.topbar-page-actions .nc-filter-checklist input[type="checkbox"]:disabled + label {
  cursor: not-allowed;
  opacity: 0.6;
}

.topbar-page-actions .customer-export-menu {
  position: relative;
  display: inline-block;
}

.topbar-page-actions .customer-export-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  cursor: pointer;
}

.topbar-page-actions .customer-export-menu > summary::-webkit-details-marker {
  display: none;
}

.topbar-page-actions .customer-export-menu > summary svg,
.topbar-page-actions .customer-export-submit svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.topbar-page-actions .customer-export-menu[open] > summary {
  border-color: var(--app-primary);
  color: var(--app-primary);
}

.topbar-page-actions .customer-export-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 1050;
  width: min(38rem, calc(100vw - 2rem));
  padding: 0.85rem;
  border: 1px solid var(--app-border);
  border-radius: 0.65rem;
  background: var(--app-surface);
  box-shadow: 0 0.75rem 2rem rgba(21, 39, 61, 0.16);
}

.topbar-page-actions .customer-export-panel__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.topbar-page-actions .customer-export-panel .form-label {
  margin: 0;
  color: var(--app-text);
  font-size: 0.78rem;
  font-weight: 700;
}

.topbar-page-actions .customer-export-panel__hint {
  color: var(--app-text-muted);
  font-size: 0.68rem;
}

.topbar-page-actions .nc-export-field-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.2rem 0.45rem;
  max-width: 100%;
  margin-bottom: 0.75rem;
}

.topbar-page-actions .customer-export-panel__footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.75rem;
  border-top: 1px solid var(--app-border-soft);
}

.topbar-page-actions .customer-export-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 1100px) {
  .topbar-page-actions .nc-export-field-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .inline-style-scope--zorg-klanten .compact-filter-dependent--insurance {
    grid-template-columns: minmax(0, 1fr);
  }

  .inline-style-scope--zorg-klanten .compact-filter-dependent--insurance > .form-label {
    margin-top: 0;
  }
}

@media (max-width: 575.98px) {
  .inline-style-scope--zorg-klanten .nc-insurance-choice-list,
  .topbar-page-actions .nc-export-field-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .topbar-page-actions .customer-export-panel__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-page-actions .customer-export-submit {
    width: 100%;
    justify-content: center;
  }
}

.inline-style-scope--zorg-klanten .customer-list-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--app-surface-subtle);
}

.inline-style-scope--zorg-klanten .customer-list-table .nc-row-actions {
  z-index: 1;
}

.inline-style-scope--zorg-klanten .customer-list-table .nc-row-actions.is-open {
  z-index: 12;
}

.inline-style-scope--zorg-klanten .nc-customer-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.inline-style-scope--zorg-klanten .nc-customer-sort-button:hover,
.inline-style-scope--zorg-klanten .nc-customer-sort-button:focus-visible {
  color: var(--app-primary);
  text-decoration: none;
}

.inline-style-scope--zorg-klanten .nc-customer-sort-button:focus-visible {
  outline: 2px solid var(--app-primary);
  outline-offset: 3px;
  border-radius: 0.2rem;
}

.inline-style-scope--zorg-klanten .nc-customer-sort-indicator {
  color: var(--app-text-muted);
  opacity: 0.45;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1;
}

.inline-style-scope--zorg-klanten .customer-list-table th[aria-sort="ascending"] .nc-customer-sort-indicator,
.inline-style-scope--zorg-klanten .customer-list-table th[aria-sort="descending"] .nc-customer-sort-indicator {
  color: var(--app-primary);
  opacity: 1;
  font-size: 0.8rem;
  font-weight: 600;
}

.inline-style-scope--zorg-klanten .customer-pagination {
  min-height: 2.25rem;
}

.inline-style-scope--zorg-klanten .customer-pagination__controls {
  display: inline-flex;
  align-items: center;
}

.inline-style-scope--zorg-klanten .customer-pagination__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
}

.inline-style-scope--zorg-klanten .customer-pagination__control svg {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.inline-style-scope--zorg-klanten .customer-pagination__control[aria-disabled="true"],
.inline-style-scope--zorg-klanten .customer-pagination__control[disabled],
.inline-style-scope--zorg-klanten .customer-pagination__control:disabled,
.inline-style-scope--zorg-klanten .customer-pagination__control.disabled {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .inline-style-scope--zorg-klanten .customer-list-section-header,
  .inline-style-scope--zorg-klanten .customer-list-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-style-scope--zorg-klanten .customer-list-header-meta,
  .inline-style-scope--zorg-klanten .customer-list-summary {
    justify-content: flex-start;
    margin-left: 0;
    padding-bottom: 0;
    text-align: left;
  }

  .inline-style-scope--zorg-klanten .customer-list-header-right {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }

  .inline-style-scope--zorg-klanten .customer-list-page-size {
    width: min(100%, 12rem);
  }
}

/* Standalone server error response: no master page or script dependencies. */
.app-error-page {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--app-bg);
  color: var(--app-text);
  font-family: var(--app-font-family);
  line-height: 1.6;
}

.app-error-card {
  box-sizing: border-box;
  width: min(42rem, calc(100% - 2rem));
  margin: 2rem 0;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 1rem;
}

.app-error-brand {
  margin: 0 0 2rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--app-primary);
}

.app-error-card h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.25;
}

.app-error-home {
  display: inline-block;
  margin: 1rem 0;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  color: var(--app-primary-contrast);
  background: var(--app-primary);
  font-weight: 600;
  text-decoration: none;
}

.app-error-home:hover {
  color: var(--app-primary-contrast);
  background: var(--app-primary-hover);
}

.app-error-home:focus-visible {
  outline: 3px solid var(--app-text);
  outline-offset: 3px;
}

.app-error-support {
  margin-top: 1.5rem;
  border-top: 1px solid var(--app-border);
  color: var(--app-text-secondary);
  font-size: 0.875rem;
}

.app-error-reference code {
  overflow-wrap: anywhere;
}

/* Customer birthplace quick add. Native dialog supplies focus trapping and Escape. */
.nc-place-dialog {
    width: min(28rem, calc(100vw - 2rem));
    padding: 1.5rem;
    border: 1px solid var(--bs-border-color, #64748b);
    border-radius: .5rem;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
}
.nc-place-dialog::backdrop { background: rgb(0 0 0 / 45%); }
/* Family account forms and customer links. */
.nc-family-page-heading { margin-bottom: 1.5rem; }
.nc-family-page-heading h2 { margin: 0 0 .25rem; font-size: 1.5rem; font-weight: 700; color: var(--app-text); }
.nc-family-page-heading p, .nc-family-section-heading p { margin: 0; color: var(--app-text-muted); }
.nc-family-list-heading, .nc-family-page-heading--form { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nc-family-form-card { border-radius: .625rem; }
.nc-family-form-card .card-body { padding: 1.5rem; }
.nc-family-section-title { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 700; color: var(--app-text); }
.nc-family-section-heading { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1.25rem; }
.nc-family-section-heading strong { white-space: nowrap; color: var(--app-text-secondary); }
.nc-family-account-identity { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 1.5rem; font-size: 1.125rem; color: var(--app-text); }
.nc-family-account-identity__avatar { display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 50%; background: var(--app-primary-surface); color: var(--app-primary-text); font-weight: 700; }
.nc-family-account-identity__status { font-size: .8125rem; color: var(--app-text-secondary); }
.nc-family-form-actions { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; gap: .5rem; padding: .75rem; margin-bottom: 2rem; border-top: 1px solid var(--app-border); background: var(--app-surface); }
.nc-family-customer-picker__linked { display: grid; gap: .625rem; margin-bottom: 1rem; }
.nc-family-customer-picker__no-links { padding: 1rem; margin-bottom: 1rem; border: 1px dashed var(--app-border); border-radius: .5rem; color: var(--app-text-muted); }
.nc-family-customer-picker__choices { padding: 1rem; margin-top: .75rem; border: 1px solid var(--app-border); border-radius: .5rem; background: var(--app-surface-subtle); }
.nc-family-customer-picker__choices[hidden], .nc-family-customer-picker__row[hidden], .nc-family-customer-picker__no-links[hidden] { display: none !important; }
.nc-family-customer-picker__summary { margin: .625rem 0; color: var(--app-text-muted); font-size: .8125rem; }
.nc-family-customer-picker__results { max-height: 19rem; overflow-y: auto; border: 1px solid var(--app-border); border-radius: .5rem; background: var(--app-surface); }
.nc-family-customer-picker__row { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) minmax(11rem, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: .875rem; row-gap: .25rem; padding: .75rem 1rem; border-bottom: 1px solid var(--app-border-soft); }
.nc-family-customer-picker__row:last-child { border-bottom: 0; }
.nc-family-customer-picker__linked .nc-family-customer-picker__row { border: 1px solid var(--app-border); border-radius: .5rem; background: var(--app-surface); }
.nc-family-customer-picker__row > span { grid-column: 1; grid-row: 1 / 3; display: flex; align-items: center; }
.nc-family-customer-picker__row input[type="checkbox"] { grid-column: 1; grid-row: 1 / 3; width: 1.125rem; height: 1.125rem; margin: 0; accent-color: var(--app-primary); }
.nc-family-customer-picker__label { grid-column: 2; grid-row: 1 / 3; min-width: 0; margin: 0; color: var(--app-text); cursor: pointer; }
.nc-family-customer-picker__identity { display: flex; min-width: 0; flex-direction: column; gap: .125rem; }
.nc-family-customer-picker__name { overflow-wrap: anywhere; font-weight: 600; }
.nc-family-customer-picker__number { color: var(--app-text-muted); font-size: .8125rem; }
.nc-family-customer-picker__existing-links { display: block; margin-top: .25rem; color: var(--app-text-muted); font-size: .75rem; }
.nc-family-customer-picker__row.is-selected .nc-family-customer-picker__existing-links { display: none; }
.nc-family-customer-picker__relation-label { grid-column: 3; grid-row: 1; color: var(--app-text-muted); font-size: .75rem; font-weight: 600; }
.nc-family-customer-picker__relation { grid-column: 3; grid-row: 2; width: 100%; }
.nc-family-customer-picker__unlink { grid-column: 4; grid-row: 1 / 3; border: 0; background: transparent; color: var(--bs-danger); font-size: .8125rem; cursor: pointer; }
.nc-family-customer-picker__unlink:hover { text-decoration: underline; }
.nc-family-customer-picker__unlink:focus-visible, .nc-family-customer-picker__row:focus-within { outline: 2px solid var(--app-primary); outline-offset: 2px; }
.nc-family-customer-picker__row:not(.is-selected) .nc-family-customer-picker__relation-label, .nc-family-customer-picker__row:not(.is-selected) .nc-family-customer-picker__relation, .nc-family-customer-picker__row:not(.is-selected) .nc-family-customer-picker__unlink { display: none; }
.nc-family-customer-picker__row:not(.is-selected):hover { background: var(--app-surface-subtle); }
.nc-family-customer-picker__empty { padding: .75rem; color: var(--app-text-muted); text-align: center; }
@media (max-width: 767.98px) {
  .nc-family-form-card .card-body { padding: 1rem; }
  .nc-family-customer-picker__row { grid-template-columns: 1.25rem minmax(0, 1fr) auto; }
  .nc-family-customer-picker__relation-label { grid-column: 2; grid-row: 3; }
  .nc-family-customer-picker__relation { grid-column: 2 / 4; grid-row: 4; }
  .nc-family-customer-picker__unlink { grid-column: 3; grid-row: 1 / 3; }
  .nc-family-form-actions { flex-wrap: wrap; }
}

/* Readable row actions and transitions.dev motion shared by non-import screens. */
.app-shell .nc-row-menu {
  padding: 0.375rem;
  min-width: 12rem;
}

.app-shell .nc-row-menu .dropdown-item {
  display: block;
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  text-align: start;
}

:root {
  --dropdown-open-dur: 180ms;
  --dropdown-close-dur: 120ms;
  --dropdown-pre-scale: 0.99;
  --dropdown-closing-scale: 0.99;
  --dropdown-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --modal-open-dur: 220ms;
  --modal-close-dur: 140ms;
  --modal-scale: 0.985;
  --modal-scale-close: 0.99;
  --modal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --feedback-open-dur: 160ms;
}

/* Existing component positioning takes priority over the motion snippets. */
@layer nc-motion {
.t-dropdown {
  transform-origin: top left;
  transform: scale(var(--dropdown-pre-scale));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--dropdown-open-dur) var(--dropdown-ease),
    opacity   var(--dropdown-open-dur) var(--dropdown-ease);
}
.t-dropdown[data-origin="top-right"]     { transform-origin: top right; }
.t-dropdown[data-origin="top-center"]    { transform-origin: top center; }
.t-dropdown[data-origin="bottom-left"]   { transform-origin: bottom left; }
.t-dropdown[data-origin="bottom-center"] { transform-origin: bottom center; }
.t-dropdown[data-origin="bottom-right"]  { transform-origin: bottom right; }

.t-dropdown.is-open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.t-dropdown.is-closing {
  transform: scale(var(--dropdown-closing-scale));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--dropdown-close-dur) var(--dropdown-ease),
    opacity   var(--dropdown-close-dur) var(--dropdown-ease);
}

@media (prefers-reduced-motion: reduce) {
  .t-dropdown { transition: none !important; }
}

.t-modal {
  transform-origin: center;
  transform: scale(var(--modal-scale));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--modal-open-dur) var(--modal-ease),
    opacity   var(--modal-open-dur) var(--modal-ease);
}
.t-modal.is-open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.t-modal.is-closing {
  transform: scale(var(--modal-scale-close));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--modal-close-dur) var(--modal-ease),
    opacity   var(--modal-close-dur) var(--modal-ease);
}

@media (prefers-reduced-motion: reduce) {
  .t-modal { transition: none !important; }
}
}

/* A short semantic stroke acknowledges changed feedback without moving the form. */
@keyframes nc-feedback-emphasis {
  from { box-shadow: inset 0 0 0 1px currentColor; }
  to { box-shadow: inset 0 0 0 1px transparent; }
}

.nc-feedback-pulse {
  animation: nc-feedback-emphasis var(--feedback-open-dur) ease-out;
}

@media (prefers-reduced-motion: reduce) {
  :root { --feedback-open-dur: 80ms; }

  .spinner-border,
  .spinner-grow,
  .progress-bar-animated {
    animation: none !important;
  }
}
