

.table-card {
  margin-top: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(16, 35, 63, 0.06);
  overflow-x: auto;
}

.page-header-card {
  padding: 0 0 6px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
}

.breadcrumb-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid var(--border-light);
  color: var(--navy);
}

.breadcrumb-back svg {
  width: 14px;
  height: 14px;
}

.breadcrumb-back:hover {
  background: var(--sky-blue-bg);
  border-color: var(--sky-blue);
  color: var(--sky-blue);
}

.breadcrumb-link {
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: var(--sky-blue);
}

.breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  opacity: 0.7;
}

.breadcrumb-sep svg {
  width: 14px;
  height: 14px;
}

.breadcrumb-current {
  color: var(--navy);
  font-weight: 600;
}

.page-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.page-header-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.page-header-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.page-header-icon svg {
  width: 20px;
  height: 20px;
}

.page-header h1 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 3px;
}

.page-header p {
  color: var(--text-muted);
  margin: 0 0 14px;
  font-size: 13px;
}

.page-header-card .page-header p {
  margin: 0;
}

.page-header p.supplier-id-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 23px;
  font-weight: 700;
  color: var(--navy);
}

.supplier-id-divider {
  width: 1px;
  height: 22px;
  background: var(--border-light);
}

.supplier-legal-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-muted);
}

.overall-progress-card {
  min-width: 420px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px 16px;
}

.overall-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.overall-progress-head span:first-child {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.overall-progress-head span:last-child {
  font-size: 12px;
  color: var(--text-muted);
}

.overall-progress-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.overall-progress-track {
  flex: 1;
  height: 9px;
  border-radius: 999px;
  background: var(--border-light);
  overflow: hidden;
}

.overall-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--sky-blue);
}

.overall-progress-percent {
  min-width: 40px;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.table-card-highlight {
  box-shadow: 0 1px 3px rgba(16, 35, 63, 0.06);
}

.table-card-highlight .table-card-head h2 {
  font-size: 16px;
}

.table-card-highlight .table-card-head h2::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--sky-blue);
}

.table-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.table-card-head h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.table-card-head span {
  font-size: 11px;
  color: var(--text-muted);
}

.table-scroll {
  overflow-x: auto;
}

.stepper {
  display: flex;
  align-items: center;
  min-width: 560px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: none;
  padding: 4px;
  border-radius: 8px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.stepper-step:focus-visible {
  outline: 2px solid var(--sky-blue);
  outline-offset: 2px;
}

.stepper-circle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  background: var(--card-bg);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.stepper-circle svg {
  width: 15px;
  height: 15px;
}

.stepper-step.is-active .stepper-circle {
  box-shadow: 0 0 0 3px var(--sky-blue-bg);
}

.stepper-step.state-complete .stepper-circle {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.stepper-step.state-active .stepper-circle {
  background: var(--sky-blue);
  border-color: var(--sky-blue);
  color: #fff;
}

.stepper-step.state-attention .stepper-circle {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

.stepper-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stepper-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
}

.stepper-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.stepper-step.state-complete .stepper-status {
  color: var(--green);
}

.stepper-step.state-active .stepper-status {
  color: var(--sky-blue);
}

.stepper-step.state-attention .stepper-status {
  color: #dc2626;
}

.stepper-connector {
  flex: 1 1 auto;
  min-width: 24px;
  height: 2px;
  margin: 0 12px;
  background: var(--border-light);
}

.stepper-connector.is-complete {
  background: var(--green);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 14px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
}

.detail-row:nth-last-child(-n+2) {
  border-bottom: none;
}

.detail-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sky-blue-bg);
  color: var(--navy);
}

.detail-icon svg {
  width: 17px;
  height: 17px;
}

.detail-card-head {
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 4px;
}

.detail-card-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.detail-card-head .detail-card-icon {
  color: var(--text-muted);
}

.detail-card-icon svg {
  width: 25px;
  height: 25px;
}

.detail-label {
  flex: 0 0 200px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-value {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  word-break: break-word;
}

.detail-value-blue {
  color: var(--sky-blue);
}

.detail-value-logo {
  width: 140px;
  height: 60px;
  max-width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.compliance-summary-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.section-highlight {
  display: inline-block;
  margin: 4px 0 4px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--sky-blue-bg);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.compliance-summary-banner {
  align-self: stretch;
  display: flex;
  align-items: center;
  margin: 4px 0;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--sky-blue-bg);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.table-card-tabs {
  padding-top: 4px;
}

.landing-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 14px 0;
  max-width: 780px;
}

.landing-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(16, 35, 63, 0.04);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.landing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky-blue), #2563eb);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.landing-card:hover,
.landing-card:focus-visible {
  border-color: var(--sky-blue);
  box-shadow: 0 14px 30px rgba(47, 168, 224, 0.18);
  transform: translateY(-3px);
  color: inherit;
  outline: none;
}

.landing-card:hover::before,
.landing-card:focus-visible::before {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .landing-card,
  .landing-card::before,
  .landing-card-icon,
  .landing-card-link svg {
    transition: none;
  }

  .landing-card:hover,
  .landing-card:focus-visible {
    transform: none;
  }
}

.landing-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-card-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky-blue-bg);
  color: var(--sky-blue);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.landing-card:hover .landing-card-icon {
  background: var(--sky-blue);
  color: #fff;
  transform: scale(1.06);
}

.landing-card-icon svg {
  width: 20px;
  height: 20px;
}

.landing-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.landing-card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.landing-card-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--bg-page);
  box-shadow: inset 0 0 0 1px transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.landing-card:hover .landing-card-metric {
  background: var(--card-bg);
  box-shadow: inset 0 0 0 1px var(--border-light);
}

.landing-card-metric-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.landing-card-metric-value {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
}

.landing-card-metric .status-badge {
  padding: 5px 12px;
  font-size: 12px;
}

.landing-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sky-blue);
}

.landing-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.landing-card:hover .landing-card-link svg {
  transform: translateX(3px);
}

.onboarding-panel {
  padding-top: 0;
}

.onboarding-panel.is-hidden {
  display: none;
}

.onboarding-panel-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.product-created-by {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.bulk-upload-steps {
  margin: 0 0 4px;
  padding-left: 20px;
  font-size: 14px;
}

.bulk-upload-steps li {
  margin-bottom: 6px;
}

#bulkUploadForm input[type="file"] {
  margin-top: 12px;
}

.bulk-upload-errors,
.bulk-upload-warnings {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 12px;
}

.bulk-upload-errors {
  color: var(--text-muted);
}

.bulk-upload-warnings {
  color: #92720a;
}

.users-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  table-layout: fixed;
}

.users-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-light);
}

.users-table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--navy);
}

.users-table tbody tr:last-child td {
  border-bottom: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.status-active {
  background: rgba(22, 163, 74, 0.12);
  color: var(--green);
}

.status-inactive {
  background: rgba(107, 118, 132, 0.12);
  color: var(--text-muted);
}

.status-review {
  background: var(--sky-blue-bg);
  color: var(--sky-blue);
}

.status-notstarted {
  background: var(--sky-blue-bg);
  color: var(--sky-blue);
}

.status-attention {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.status-pending {
  background: rgba(234, 179, 8, 0.16);
  color: #a16207;
}

.status-warning {
  background: rgba(234, 88, 12, 0.12);
  color: #c2410c;
}

.status-dark {
  background: rgba(55, 65, 81, 0.16);
  color: #374151;
}

.status-hold {
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
}

.status-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

.status-priority {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border: 1px solid #dc2626;
  border-radius: 999px;
  color: #dc2626;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  vertical-align: middle;
}

.requirement-title {
  font-weight: 700;
  color: var(--navy);
}

.requirement-description {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.doc-view-link {
  color: var(--sky-blue);
  border-color: var(--sky-blue);
}

.doc-view-link:hover {
  background: var(--sky-blue-bg);
  border-color: var(--sky-blue);
}

.review-actions {
  display: inline-flex;
  gap: 6px;
}

.review-approve {
  background: #16a34a;
  color: #fff;
}

.review-approve:hover {
  background: #15803d;
}

.review-reject {
  background: #dc2626;
  color: #fff;
}

.review-reject:hover {
  background: #b91c1c;
}

.review-approve:disabled,
.review-reject:disabled {
  opacity: 0.6;
  cursor: default;
}

.review-comment-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--sky-blue);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.review-comment-link:hover {
  opacity: 0.7;
}

.field-correct-link {
  order: 10;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sky-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.field-correct-link:hover {
  opacity: 0.7;
}

.correct-field-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.correct-field-group {
  display: flex;
  flex-direction: column;
}

.correct-field-group .form-label {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.correct-field-group input[readonly] {
  background: var(--bg-page);
  color: var(--text-muted);
}

.correct-field-error {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #dc2626;
}

.rejections-status {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.rejections-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rejections-item {
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-left: 3px solid #dc2626;
  border-radius: 7px;
}

.rejections-meta {
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.rejections-reason {
  font-size: 13px;
  color: var(--navy);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.review-reason-label {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.review-reason-length {
  display: block;
  margin-top: 4px;
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
}

.review-error {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #dc2626;
}

.table-card-head .bi-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-size: 12px;
}

.detail-list-single {
  grid-template-columns: 1fr;
}

.detail-list-single .detail-row:nth-last-child(2) {
  border-bottom: 1px solid var(--border-light);
}

.detail-value-stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.detail-empty {
  font-weight: 500;
  font-style: italic;
  color: var(--text-muted);
}

.detail-link {
  color: var(--sky-blue);
  text-decoration: underline;
  word-break: break-all;
}

.detail-text-wrap {
  min-width: 0;
  overflow-wrap: anywhere;
}

.detail-badge {
  flex: 0 0 auto;
  white-space: nowrap;
}

.detail-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-weight: 500;
  white-space: pre-line;
}

.detail-clamp.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.detail-show-more {
  padding: 0;
  border: 0;
  background: none;
  color: var(--sky-blue);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.detail-logo-button {
  padding: 0;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--card-bg);
  cursor: zoom-in;
}

.detail-logo-button .detail-value-logo {
  display: block;
  object-fit: contain;
}

.doc-preview-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #f1f5f9;
}

.doc-preview-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.doc-preview-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

.pd-photo-grid[hidden] {
  display: none;
}

.logo-preview-full {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.detail-chips {
  flex-wrap: wrap;
  gap: 6px;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sky-blue-bg);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.empty-row {
  text-align: center;
  color: var(--text-muted);
  padding: 24px 0 !important;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.pager-btn,
.pager-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--border-light);
}

.pager-page.active {
  background: var(--yellow);
  border-color: var(--yellow);
}

.pager-btn.disabled {
  color: var(--text-muted);
  border-color: var(--border-light);
  pointer-events: none;
  opacity: 0.6;
}

.row-action-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--sky-blue);
  text-decoration: none;
  cursor: pointer;
}

.row-action-link:hover {
  text-decoration: underline;
}

.row-action-danger {
  color: #dc2626;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label.required::after {
  content: " *";
  color: #dc2626;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--navy);
}

.form-input:focus {
  outline: none;
  border-color: var(--sky-blue);
}

.password-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input.has-toggle {
  padding-right: 42px;
}

.form-input.has-toggle::-ms-reveal,
.form-input.has-toggle::-ms-clear {
  display: none;
}

.password-toggle {
  position: absolute;
  right: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--text-muted);
}

.password-toggle.has-value {
  display: flex;
}

.password-toggle svg {
  width: 17px;
  height: 17px;
}

.password-toggle .icon-eye-off {
  display: none;
}

.password-toggle.is-visible .icon-eye {
  display: none;
}

.password-toggle.is-visible .icon-eye-off {
  display: block;
}

.form-field-error {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: #dc2626;
  text-transform: lowercase;
}

.form-field-error::first-letter {
  text-transform: uppercase;
}

.form-summary-error {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 400;
  color: #dc2626;
  text-transform: lowercase;
}

.form-summary-error li::first-letter {
  text-transform: uppercase;
}

.form-summary-error ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.form-checkbox label {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.flash-stack {
  position: fixed;
  top: 64px;
  right: 16px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.flash-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  border-left-width: 4px;
  background: var(--card-bg);
  box-shadow: 0 8px 24px rgba(16, 35, 63, 0.14);
  font-size: 13px;
  color: var(--navy);
  pointer-events: auto;
  animation: flash-in 0.25s ease-out;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.flash-message.is-leaving {
  opacity: 0;
  transform: translateX(16px);
}

.flash-success {
  border-left-color: var(--green);
}

.flash-error {
  border-left-color: #dc2626;
}

.flash-text {
  flex: 1;
}

.flash-close {
  flex: 0 0 auto;
  padding: 0;
  border: none;
  background: none;
  font-size: 18px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.flash-close:hover {
  color: var(--navy);
}

@keyframes flash-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flash-message {
    animation: none;
    transition: none;
  }
}

.delete-confirm-close {
  font-size: 12px;
}

.delete-confirm-body {
  font-size: 14px;
}

.product-table .product-col-title {
  width: 36%;
}

.product-table .product-col-id {
  width: 12%;
}

.product-table .product-col-updated {
  width: 14%;
}

.product-table .product-col-actions {
  width: 12%;
}

.product-table .product-cell-actions {
  text-align: center;
}

.product-table .row-menu {
  margin-left: 0;
}

.product-title-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.product-title-cell .row-action-link {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

.product-thumb {
  flex: 0 0 auto;
  width: 48px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--bg-page);
}

.product-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.product-thumb-empty svg {
  width: 16px;
  height: 16px;
}

.pd-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.pd-step-nav {
  position: sticky;
  top: 12px;
  padding: 16px 12px 12px;
  overflow: visible;
}

.pd-step-nav-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0 6px;
}

.pd-step-nav-title {
  font-size: 15px;
  font-weight: 700;
}

.pd-step-nav-count {
  font-size: 12px;
  color: var(--text-muted);
}

.pd-step-nav-progress {
  height: 6px;
  margin: 10px 6px 14px;
  border-radius: 999px;
  background: var(--bg-page);
  overflow: hidden;
}

.pd-step-nav-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--green);
  transition: width 0.3s ease;
}

.pd-step-nav-item {
  position: relative;
}

.pd-step-nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 42px;
  bottom: -6px;
  width: 2px;
  background: var(--border-light);
}

.pd-step-nav-item.is-approved:not(:last-child)::after {
  background: rgba(22, 163, 74, 0.35);
}

.pd-step-nav-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin-bottom: 6px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.pd-step-nav-btn:hover {
  background: var(--bg-page);
}

.pd-step-nav-btn:focus-visible {
  outline: 2px solid var(--sky-blue);
  outline-offset: 2px;
}

.pd-step-nav-btn.is-active {
  background: var(--sky-blue-bg);
  border-color: rgba(47, 168, 224, 0.35);
  box-shadow: 0 2px 8px rgba(47, 168, 224, 0.15);
}

.pd-step-nav-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border-light);
  color: var(--navy-soft);
  font-size: 13px;
  font-weight: 700;
}

.pd-step-nav-num svg {
  width: 15px;
  height: 15px;
}

.is-approved .pd-step-nav-num {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.pd-step-nav-btn.is-active .pd-step-nav-num {
  border-color: var(--sky-blue);
  color: var(--sky-blue);
  box-shadow: 0 0 0 4px rgba(47, 168, 224, 0.18);
}

.is-approved .pd-step-nav-btn.is-active .pd-step-nav-num {
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

.pd-step-nav-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-top: 4px;
}

.pd-step-nav-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.pd-step-nav-btn.is-active .pd-step-nav-label {
  color: var(--sky-blue);
}

.pd-step-nav-status .status-badge {
  white-space: normal;
  text-align: left;
  line-height: 1.35;
}

.pd-step-nav-status .status-priority {
  margin-left: 0;
  margin-top: 4px;
}

.pd-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.pd-review-btn svg {
  width: 14px;
  height: 14px;
}

.pd-review-btn:active {
  transform: translateY(1px);
}

.pd-review-btn:focus-visible {
  outline: 2px solid var(--sky-blue);
  outline-offset: 2px;
}

.pd-review-btn-approve {
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}

.pd-review-btn-approve:hover {
  background: #15803d;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
}

.pd-review-btn-changes {
  background: var(--card-bg);
  border-color: #f59e0b;
  color: #b45309;
}

.pd-review-btn-changes:hover {
  background: #fffbeb;
  border-color: #d97706;
  color: #92400e;
}

.pd-layout .detail-list {
  grid-template-columns: 1fr;
}

.pd-layout .detail-row:nth-last-child(2) {
  border-bottom: 1px solid var(--border-light);
}

.pd-layout .detail-row:last-child {
  border-bottom: none;
}

@media (max-width: 900px) {
  .pd-layout {
    grid-template-columns: 1fr;
  }

  .pd-step-nav {
    position: static;
  }
}

.pd-review-actions {
  margin-left: auto;
}

.pd-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.section-divider {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.stepper .stepper-step {
  padding: 6px 10px 6px 6px;
  transition: background 0.15s ease;
}

.stepper .stepper-step:hover {
  background: var(--bg-page);
}

.stepper .stepper-step.is-active {
  background: var(--sky-blue-bg);
}

.stepper .stepper-step.state-active:not(.is-active) .stepper-circle {
  background: var(--card-bg);
  border-color: var(--border-light);
  color: var(--text-muted);
}

.stepper .stepper-step.state-active:not(.is-active) .stepper-status {
  color: var(--text-muted);
}

.stepper .stepper-step.is-active .stepper-circle {
  background: var(--sky-blue);
  border-color: var(--sky-blue);
  color: #fff;
}

.stepper .stepper-step.is-active .stepper-label,
.stepper .stepper-step.is-active .stepper-status {
  color: var(--sky-blue);
}

.table-card-head h2 .status-badge {
  margin-left: 8px;
  vertical-align: middle;
}

.pd-heading-status {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pd-heading-status .status-priority {
  margin-left: 0;
}

.pd-step-not-provided {
  font-size: 12px;
  font-style: italic;
  color: var(--text-muted);
}

.pd-step-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  vertical-align: middle;
}

.pd-heading-status .pd-step-tag {
  margin-left: 0;
}

.pd-review-history {
  margin: 12px 0 20px;
}

.pd-review-history-title {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.pd-review-history-item {
  border-left-color: var(--border-light);
}

.product-table .product-col-status {
  width: 26%;
}

.product-table .product-cell-status {
  min-width: 240px;
  text-align: center;
}

.product-table .product-cell-status .status-badge {
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
}

.row-menu {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
}

.row-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--border-light);
  border-radius: 7px;
  background: var(--card-bg);
  color: var(--text-muted);
}

.row-menu-btn:hover,
.row-menu-btn[aria-expanded="true"] {
  background: var(--bg-page);
  color: var(--navy);
}

.row-menu-btn svg {
  width: 16px;
  height: 16px;
}

.row-menu .dropdown-item {
  font-size: 13px;
}

.user-list-table {
  min-width: 760px;
}

.user-list-table .user-col-name {
  width: 20%;
}

.user-list-table .user-col-email {
  width: 30%;
}

.user-list-table .user-col-role {
  width: 13%;
}

.user-list-table .user-col-status {
  width: 13%;
}

.user-list-table .user-col-joined {
  width: 14%;
}

.user-list-table .user-col-actions {
  width: 10%;
}

.user-list-table td {
  vertical-align: middle;
}

.user-list-table .user-cell-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-list-table .user-cell-actions {
  text-align: center;
}

.user-list-table .row-menu {
  margin-left: 0;
}

.supplier-list-table .supplier-col-id {
  width: 110px;
}

.supplier-list-table .supplier-col-name {
  width: 30%;
}

.supplier-list-table .supplier-col-type {
  width: 18%;
}

.supplier-list-table .supplier-col-email {
  width: 30%;
}

.supplier-list-table .supplier-col-status {
  width: 150px;
}

.supplier-list-table .supplier-cell-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compliance-table .compliance-col-status {
  width: 130px;
}

.compliance-table .compliance-col-expiry {
  width: 120px;
}

.compliance-table .compliance-col-document {
  width: 110px;
}

.compliance-table .compliance-col-action {
  width: 190px;
}

.inclusion-table .inclusion-col-status {
  width: 160px;
}

.founding-member-list-table {
  min-width: 820px;
}

.founding-member-list-table .fm-col-name {
  width: 22%;
}

.founding-member-list-table .fm-col-contact {
  width: 18%;
}

.founding-member-list-table .fm-col-email {
  width: 26%;
}

.founding-member-list-table .fm-col-phone {
  width: 14%;
}

.founding-member-list-table .fm-col-status {
  width: 10%;
}

.founding-member-list-table .fm-col-actions {
  width: 10%;
}

.founding-member-list-table td {
  vertical-align: middle;
}

.founding-member-list-table .fm-cell-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.founding-member-list-table .fm-cell-actions {
  text-align: center;
}

.founding-member-list-table .row-menu {
  margin-left: 0;
}

.row-menu .dropdown-item.row-action-danger {
  color: #dc2626;
}

.status-action-product {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--navy);
}

.detail-value.pd-multiline {
  white-space: pre-line;
}

.detail-value.pd-location-value {
  flex-direction: column;
  align-items: stretch;
}

.pd-location-map {
  width: 100%;
  max-width: 560px;
  height: 260px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
}

.pd-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.pd-photo {
  position: relative;
  margin: 0;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-bg);
}

.pd-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-page);
}

.pd-photo-main {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pd-photo figcaption {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .table-card-head {
    flex-wrap: wrap;
    gap: 4px;
  }
}
