:root {
  color-scheme: light;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
}

.bi {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.bi-list {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/menu.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/menu.svg");
}

.bi-chevron-up {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/chevron-up.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/chevron-up.svg");
}

.bi-chevron-down {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/chevron-down.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/chevron-down.svg");
}

.bi-arrow-down-up {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/arrow-up-down.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/arrow-up-down.svg");
}

.bi-arrow-up {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/arrow-up.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/arrow-up.svg");
}

.bi-arrow-down {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/arrow-down.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/arrow-down.svg");
}

.bi-copy {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/copy.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/copy.svg");
}

.bi-pencil {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/pencil.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/pencil.svg");
}

.bi-eye-fill {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/eye.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/eye.svg");
}

.bi-funnel {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/funnel.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/funnel.svg");
}

.bi-trash,
.bi-trash-fill {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/trash-2.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/trash-2.svg");
}

.bi-x {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/x.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/x.svg");
}

.d-none {
  display: none !important;
}

.fw-bold {
  font-weight: 700;
}

.text-darkblue {
  color: #1b3a6b;
}

.page-darkblue {
  background: #1b3a6b;
}

.app-shell {
  background: #f5f7fa;
}

.sidebar-panel {
  background: #1b3a6b;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 1024px) {
  .sidebar-panel {
    position: absolute;
  }
}

.sidebar-link,
.sidebar-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 12px;
  color: #dbeafe;
  padding: 0.6rem 0.75rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.sidebar-link-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.icon-chart-area,
.icon-package,
.icon-puzzle,
.icon-shopping-cart,
.icon-factory,
.icon-store,
.icon-boxes,
.icon-shield,
.icon-check,
.icon-x {
  display: inline-block;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  background-color: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.icon-chart-area {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/chart-area.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/chart-area.svg");
}

.icon-package {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/package.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/package.svg");
}

.icon-puzzle {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/puzzle.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/puzzle.svg");
}

.icon-shopping-cart {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/shopping-cart.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/shopping-cart.svg");
}

.icon-factory {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/factory.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/factory.svg");
}

.icon-store {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/store.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/store.svg");
}

.icon-boxes {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/boxes.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/boxes.svg");
}

.icon-shield {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/shield-check.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/shield-check.svg");
}

.icon-check {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/check.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/check.svg");
}

.icon-x {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/x.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/x.svg");
}

.sidebar-link:hover,
.sidebar-sublink:hover,
.sidebar-group summary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.sidebar-link.active,
.sidebar-sublink.active {
  background: linear-gradient(90deg, #2f6fed 0%, #3f7af0 100%);
  color: #fff;
  font-weight: 600;
}

.sidebar-group summary {
  list-style: none;
  cursor: pointer;
  border-radius: 12px;
  color: #dbeafe;
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sidebar-group summary::-webkit-details-marker {
  display: none;
}

.sidebar-nested-links {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.25rem;
  padding-left: 0.75rem;
}

.sidebar-nested-links .sidebar-sublink {
  padding: 0.5rem 0.65rem;
}

.bi-download {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/download.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/download.svg");
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-brand-logo {
  height: auto;
  max-width: 100%;
}

.badge {
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
}

.badge-danger,
.text-bg-danger {
  background: #ef4444;
  color: #fff;
}

.text-bg-success {
  background: #22c55e;
  color: #fff;
}

.text-bg-primary {
  background: #2f6fed;
  color: #fff;
}

.text-bg-warning {
  background: #f59e0b;
  color: #111827;
}

.text-bg-neutral {
  background: #6b7280;
  color: #fff;
}

.bi-alert-triangle {
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/triangle-alert.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/triangle-alert.svg");
}

.text-warning {
  color: #f59e0b;
}

.text-error {
  color: #ef4444;
}

.text-success {
  color: #22c55e;
}

.supervision-warning-icon {
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.supervision-row-clickable {
  cursor: pointer;
}

.supervision-row-clickable:hover {
  background: #f1f5fb;
  box-shadow: inset 0 0 0 1px #d1d5db, 0 6px 14px rgba(15, 23, 42, 0.08);
}

.supervision-row-clickable:focus-visible {
  outline: 2px solid #2f6fed;
  outline-offset: -2px;
}

.icon-angry {
  width: 1.15rem;
  height: 1.15rem;
  background: #ef4444;
  mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/angry.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/lucide-static@0.542.0/icons/angry.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.supervision-detail-card {
  border: 1px solid #d1d5db;
}

.supervision-detail-list {
  display: grid;
  gap: 0.5rem;
}

.supervision-detail-list li {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
  text-align: left;
}

.supervision-detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.supervision-detail-label {
  font-weight: 700;
  color: #111827;
}

.supervision-col-email {
  width: 24%;
}

.supervision-col-name,
.supervision-col-firstname {
  width: 10%;
}
.category-badge--blue { background: #2f6fed; color: #fff; }
.category-badge--green { background: #22c55e; color: #fff; }
.category-badge--orange { background: #f59e0b; color: #111827; }
.category-badge--red { background: #ef4444; color: #fff; }
.category-badge--purple { background: #7c3aed; color: #fff; }
.category-badge--gray { background: #6b7280; color: #fff; }

.category-filter-pill {
  cursor: pointer;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
}

.category-filter-pill input[type='checkbox'] {
  margin: 0;
}

.category-filter-menu {
  border-top: 1px solid #e5e7eb;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.category-manage-badge {
  gap: 0.25rem;
  padding-right: 0.25rem;
}

.category-manage-delete {
  color: inherit;
  line-height: 1;
  min-height: 1.25rem;
  min-width: 1.25rem;
}

.category-manage-edit {
  color: inherit;
  line-height: 1;
  min-height: 1.25rem;
  min-width: 1.25rem;
}

.category-color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-color-option {
  border: 2px solid transparent;
  border-radius: 9999px;
  cursor: pointer;
  height: 1.5rem;
  padding: 0;
  width: 1.5rem;
}

.category-color-option.is-selected {
  border-color: #111827;
}

.card,
.modal-content,
.offcanvas,
.dropdown-menu {
  background: #eef2f7;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(27, 58, 107, 0.12);
}

.card-header,
.modal-header,
.modal-footer,
.offcanvas-header,
.offcanvas-body,
.card-body,
.modal-body {
  padding: 1rem;
}

.custom-modal .modal-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 0.25rem;
}

.custom-modal .modal-header .btn-close {
  order: 1;
  margin-left: auto;
}

.custom-modal .modal-header .modal-title {
  order: 2;
  width: 100%;
  text-align: center;
  font-weight: 700;
  color: #1b3a6b;
  padding-top: 0.5rem;
}

.custom-modal .modal-body {
  padding-top: 0.75rem;
}

.custom-modal-scroll-body {
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.production-components-modal-dialog {
  max-width: min(1600px, 98vw);
}


#productionLaunchConfirmModal {
  --bs-modal-width: calc(100vw - 8rem);
}

#productionLaunchConfirmModal > .production-launch-modal-dialog {
  width: calc(100vw - 8rem) !important;
  min-width: calc(100vw - 8rem) !important;
  max-width: calc(100vw - 8rem) !important;
  margin: 1rem auto;
}

#productionLaunchConfirmModal .custom-modal-scroll-body {
  overflow-y: scroll;
}

#productionLaunchConfirmModal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: nowrap;
}

#productionLaunchConfirmModal .modal-footer form {
  margin: 0;
}

.production-components-table {
  table-layout: fixed;
}

.production-components-table th,
.production-components-table td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.production-components-table .production-component-name-col {
  min-width: 18rem;
  width: 18rem;
  overflow-wrap: normal;
  word-break: normal;
}

#productionLaunchConfirmModal .production-components-table {
  table-layout: auto;
  width: 100%;
  min-width: 0;
}

#productionLaunchConfirmModal .production-components-table th {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

#productionLaunchConfirmModal .production-components-table td {
  overflow-wrap: normal;
  word-break: normal;
}

.custom-modal .modal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.card-header {
  color: #1b3a6b;
  font-weight: 700;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem;
  text-align: center;
  vertical-align: middle;
}

.table thead th {
  color: #374151;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.table-striped tbody tr:nth-child(odd) {
  background: #f8fafc;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-primary {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #fff;
}

.btn-primary:hover { background: #255bd0; }

.btn-success {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.btn-danger { background: #ef4444; border-color: #ef4444; color: #fff; }

.btn-outline-primary { border-color: #2f6fed; color: #2f6fed; background: #fff; }
.btn-outline-secondary { border-color: #d1d5db; color: #374151; background: #fff; }
.btn-outline-danger { border-color: #ef4444; color: #ef4444; background: #fff; }

.btn-link {
  background: transparent;
  border: 0;
  color: #2f6fed;
  padding: 0;
}

.btn-sm { font-size: 0.75rem; padding: 0.35rem 0.6rem; border-radius: 10px; }

.form-control,
.form-select,
input[type='text'],
input[type='number'],
input[type='email'],
input[type='password'],
textarea,
select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #eef2f7;
  color: #111827;
  font-size: 0.875rem;
  line-height: 1.2;
  padding: 0.6rem 0.75rem;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2f6fed;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.2);
}

.alert {
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.alert-danger { background: #fee2e2; color: #991b1b; }
.alert-warning { background: #fef3c7; color: #92400e; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-info { background: #e0ecff; color: #1e3a8a; }

.dropdown-menu {
  background: #fff;
  display: none;
  margin-top: 0.5rem;
  min-width: 12rem;
  padding: 0.35rem;
  position: absolute;
  z-index: 50;
}

.dropdown-menu.show { display: block; }

.dropdown-item {
  border-radius: 10px;
  color: #111827;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  text-decoration: none;
}

.dropdown-item:hover { background: #f3f4f6; }
.dropdown-divider { border-top: 1px solid #e5e7eb; margin: 0.35rem 0; }

.modal {
  align-items: center;
  background: rgba(17, 24, 39, 0.4);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 60;
}

.modal.show { display: flex; }
.modal-dialog { width: min(100%, 720px); }

.supervision-user-message-modal-dialog {
  width: min(100%, 760px);
}

.supervision-user-message-dropdown {
  position: relative;
}

.supervision-user-message-dropdown-menu {
  max-height: 22rem;
  overflow-y: auto;
  left: 0;
  right: 0;
  width: 100%;
}

.row { display: flex; flex-wrap: wrap; margin: -0.5rem; }
.row > * { padding: 0.5rem; width: 100%; }
@media (min-width: 768px) {
  .col-md-2 { width: 16.6667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.3333%; }
  .col-md-5 { width: 41.6667%; }
  .col-md-6 { width: 50%; }
  .col-md-8 { width: 66.6667%; }
}
@media (min-width: 1024px) {
  .col-lg-4 { width: 33.3333%; }
  .col-lg-5 { width: 41.6667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.3333%; }
}

.h1, .h2, .h3, .h4, .h5, .h6 { font-weight: 600; color: #111827; }
.h3 { font-size: 1.5rem; }
.h4 { font-size: 1.25rem; }
.h6 { font-size: 0.95rem; }
.text-muted { color: #6b7280; }

.btn-close {
  appearance: none;
  background: transparent;
  border: 0;
  color: #6b7280;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.btn-close::before { content: '✕'; }

/* Compat utilitaires Bootstrap les plus utilisés */
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-grid { display: grid; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }
.flex-grow-1 { flex-grow: 1; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.w-100 { width: 100%; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.me-3 { margin-right: 0.75rem; }
.ms-1 { margin-left: 0.25rem; }
.ms-2 { margin-left: 0.5rem; }
.ms-auto { margin-left: auto; }
.p-0 { padding: 0; }
.p-3 { padding: 0.75rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.rounded { border-radius: 12px; }
.rounded-pill { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 8px 24px rgba(17,24,39,0.08); }
.min-vh-100 { min-height: 100vh; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.top-0 { top: 0; }
.end-0 { right: 0; }
.text-center { text-align: center; }
.text-danger { color: #ef4444; }
.text-success { color: #22c55e; }

@media (min-width: 768px) {
  .flex-md-row { flex-direction: row; }
}


.app-shell,
.content-shell {
  background: #f5f7fa;
}

.content-main {
  background: #f5f7fa;
}

.content-header {
  background: #f1f5fb;
}

.dashboard-indicators {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 1024px) {
  .dashboard-indicators {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.indicator-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(27, 58, 107, 0.08);
  padding: 1rem;
}

.indicator-title {
  color: #1b3a6b;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.indicator-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.indicator-columns {
  display: grid;
  gap: 0.75rem 1.5rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .indicator-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.indicator-item {
  align-items: center;
  color: #111827;
  display: flex;
  font-size: 0.9rem;
  justify-content: space-between;
  list-style: none;
}

.indicator-item-column {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.25rem;
}

.indicator-item-stacked {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.2rem;
}

.indicator-item-label {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
}

.indicator-dot {
  border-radius: 9999px;
  display: inline-block;
  height: 0.625rem;
  width: 0.625rem;
}

.indicator-dot-ok {
  background: #22c55e;
}

.indicator-dot-low {
  background: #f59e0b;
}

.indicator-dot-empty {
  background: #ef4444;
}

.component-stock-badge {
  border-radius: 9999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  min-width: 2.25rem;
  justify-content: center;
  padding: 0.35rem 0.6rem;
}

.component-stock-badge-ok {
  background: #dcfce7;
  color: #166534;
}

.component-stock-badge-low {
  background: #fef3c7;
  color: #92400e;
}

.component-stock-badge-empty {
  background: #fee2e2;
  color: #991b1b;
}

.dashboard-light-card {
  background: #fff;
}

.dashboard-table-wrapper {
  padding: 18px 20px;
  overflow-x: hidden;
}

.dashboard-table {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-collapse: separate;
  border-radius: 12px;
  border-spacing: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  table-layout: fixed;
  width: 100%;
}

.dashboard-table thead th {
  background: #f3f6fb;
  border-bottom: 1px solid #e5e7eb;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
  padding: 14px 16px;
  text-align: center;
  word-break: break-word;
}

.dashboard-table tbody td {
  border-bottom: 1px solid #eef2f7;
  color: #22304a;
  font-size: 14px;
  overflow-wrap: anywhere;
  padding: 14px 16px;
  text-align: center;
  word-break: break-word;
}

.dashboard-table tbody tr:last-child td {
  border-bottom: none;
}

.manufacturer-table thead th,
.manufacturer-table tbody td,
.supplier-table thead th,
.supplier-table tbody td {
  text-align: center;
}

.dashboard-production-launch-btn {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #fff;
}

.dashboard-production-launch-btn:hover,
.dashboard-production-launch-btn:focus {
  background: #1b3a6b;
  border-color: #1b3a6b;
  color: #fff;
}

.manufacturer-create-btn {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #fff;
}

.manufacturer-create-btn:hover,
.manufacturer-create-btn:focus {
  background: #1b3a6b;
  border-color: #1b3a6b;
  color: #fff;
}

.dashboard-production-view-btn {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.dashboard-production-view-btn:hover,
.dashboard-production-view-btn:focus {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.dashboard-production-archive-btn {
  background: #374151;
  border-color: #374151;
  color: #fff;
}

.dashboard-production-archive-btn:hover,
.dashboard-production-archive-btn:focus {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
}

.production-status-badge {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 6px 12px;
  border-radius: 9999px;
  white-space: normal;
}

.production-status-default {
  background: #9ca3af;
}

.production-status-waiting-restock {
  background: #f59e0b;
}

.production-status-waiting-confirmation {
  background: #f59e0b;
  color: #111827;
}

.production-status-in-progress {
  background: #111827;
}

.production-status-finished {
  background: #2f6fed;
}

.production-status-delivered {
  background: #22c55e;
}

.production-status-archived {
  background: #374151;
}

.production-status-cancelled {
  background: #ef4444;
}

.profile-dropup {
  position: relative;
}

.profile-dropup > summary {
  list-style: none;
}

.profile-dropup > summary::-webkit-details-marker {
  display: none;
}

.profile-dropup-trigger {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem;
}

.profile-avatar {
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.profile-meta {
  flex: 1;
  min-width: 0;
}

.profile-company {
  color: #bfdbfe;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
}

.profile-dropup-menu {
  background: #17386a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  bottom: calc(100% + 0.5rem);
  left: 0;
  padding: 0.4rem;
  position: absolute;
  right: 0;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.35);
}

.profile-dropup:not([open]) .profile-dropup-menu {
  display: none;
}

.dashboard-row-clickable {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-row-clickable:hover {
  box-shadow: 0 10px 16px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.dashboard-row-clickable:hover td {
  background: #f8fbff;
}

.dashboard-actions-locked a,
.dashboard-actions-locked button,
.dashboard-actions-locked .dashboard-row-clickable {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.inventory-compact-input {
  margin: 0 auto;
  max-width: 88px;
  min-width: 72px;
}
