/* ===== Overlay Shell ===== */


/* Ensure the Avada footer doesn't compete */
#footer,
.fusion-footer {
    z-index: 1 !important;
}

#dc-overlays {
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  pointer-events: none;
}

#dc-overlays .dc-overlay {
  pointer-events: auto;
}

.dc-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999 !important; /* Extremely high to beat Avada layers */
  display: block; /* toggle with JS */
  font-family: "Figtree";
  color: #111;
}

.dc-overlay.hidden {
   display: none; /* toggle with JS */
}

/* ===== Backdrop ===== */
.dc-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(1,1,28,0.05),
      rgba(1,1,28,0.85) 70%
  );
  backdrop-filter: blur(6px);
}

/* ===== Panel ===== */
.dc-overlay-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: min(90vh, 900px);
  max-height: 90vh;
  width: 88%;
  max-width: 1600px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.92),
    rgba(245,245,245,0.85)
  );
  /* border-radius removed to match site theme */
  box-shadow:
    0 40px 120px rgba(1,1,28,0.45),
    inset 0 1px 0 rgba(255,255,255,0.6);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
}

/* Target tablets and mobile (standard 1024px breakpoint and down) */
/*
@media (max-width: 1200px) {
  .dc-overlay-panel {
    transform: translate(0, 0) !important;
  }
} */

/* ===== Close Button ===== */
.dc-overlay-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 42px;
  height: 42px;
  /* Removed border-radius for site consistency */
  border: none;
  background: #fff;
  box-shadow: 0 8px 22px rgba(1, 1, 28, 0.14), 0 0 0 1px rgba(1, 1, 28, 0.06);
  font-size: 26px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  z-index: 10;
}

.dc-overlay-close:hover {
  background: #00a984; /* subtle accent color */
  color: #fff;
  box-shadow: 0 10px 26px rgba(1, 1, 28, 0.18), 0 0 0 1px rgba(0, 169, 132, 0.16);
}

/* ===== Content Layout ===== */
.dc-overlay-content {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

/* ===== Overlay Pane ===== */
.dc-overlay-pane {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: linear-gradient(180deg, #ffffff, #f4f4f4);
  border: none;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ===== Overlay Pane ===== */
.dc-overlay-pane h2,
.dc-overlay-pane h3 {
  color: #01011c;
}

/* ===== Mobile: Fix Scrolling & Layout ===== */
@media (max-width: 768px) {
  /* 1. Make the root overlay allow vertical scrolling */
  .dc-overlay {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* 2. Reset the panel so it can grow naturally */
  .dc-overlay-panel {
    position: relative !important; /* Change from absolute/fixed */
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important; /* Crucial: Let content dictate height */
    max-height: none !important;
    overflow: visible !important;
    padding: 0;
    margin: 0;
    display: block; /* Break the flex column */
    will-change: transform, opacity;
  }

  /* 3. Stack the content and remove fixed heights */
  .dc-overlay-content {
    display: block !important;
    height: auto !important;
  }

  /* 4. Ensure the overlay pane expands fully */
  .dc-overlay-pane {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    padding: 32px 20px !important;
    display: block !important;
  }

  /* 5. Fix the Table "Scroll-in-Scroll" trap */
  .dc-suppliers.real-table tbody {
    max-height: none !important;
    overflow: visible !important;
  }

  /* Horizontal scroll for the table instead of vertical */
  .dc-suppliers {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}




/* ===== Typography ===== */
.dc-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: #00a984;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0;
}



.dc-subhead {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 14px;
  color: #333;
  margin: 0;
  min-width: 0;
  flex: 1;
}

.dc-subhead p {
  margin: 0;
}

.dc-subhead ul,
.dc-subhead ol {
  margin: 0.55em 0 0.55em 1.25em;
  padding: 0;
}

.dc-subhead a {
  color: #00a984;
  font-weight: 700;
}

.dc-overlay-pane .dcm-overlay-disclaimer {
  max-width: min(100%, 980px);
  margin: 0;
  color: #00a984;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.dcm-disclaimer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #008469;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.dcm-disclaimer-toggle span:last-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dcm-disclaimer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
}

.dcm-full-details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #00a984;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.dcm-full-details-toggle::before {
  content: "•";
  margin-right: 2px;
  color: #01011c;
  opacity: 0.5;
}

.dcm-full-details-toggle:hover,
.dcm-full-details-toggle:focus-visible {
  color: #007c61;
  text-decoration: none;
}

.dcm-full-details-popup-icon {
  flex: 0 0 16px;
}

.dcm-overlay-info-popup {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 1, 28, 0.28);
  font-family: "Figtree", sans-serif;
  color: #01011c;
}

.dcm-overlay-info-popup__panel {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 600px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px;
  border: 1px solid rgba(0, 132, 105, 0.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(1, 1, 28, 0.3);
}

.dcm-overlay-info-popup__panel h2 {
  margin: 0 36px 18px 0;
  color: #008469;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.dcm-overlay-info-popup__content {
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.dcm-overlay-info-popup__content p {
  margin: 0 0 12px;
}

.dcm-overlay-info-popup__content a {
  color: #008469;
  text-decoration: underline;
}

.dcm-overlay-info-popup__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.dcm-overlay-info-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf6f3;
  color: #008469;
  font-size: 26px;
  cursor: pointer;
}

.dcm-overlay-info-popup__close:focus-visible,
.dcm-disclaimer-toggle:focus-visible,
.dcm-full-details-toggle:focus-visible {
  outline: 2px solid #008469;
  outline-offset: 4px;
}


.dc-overlay-pane .top-content,
.dc-overlay-pane .bottom-content {
  padding:
    clamp(20px, 2vw, 34px)
    clamp(28px, 2.5vw, 46px)
    clamp(20px, 2vw, 34px);
}

@media (min-width: 1640px) {
  .dc-overlay-pane .top-content,
  .dc-overlay-pane .bottom-content  {
    padding: 40px 54px;
  }
}

.dc-overlay-pane .top-content {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  flex: 0 0 auto;
  padding-bottom: 0;
}

.dc-overlay-pane .top-content > * {
  position: relative;
  z-index: 1;
}

.table-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: text-bottom;
}
.dc-overlay-pane .title-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0;
  padding: 0;
  margin-bottom: 0;
}

.dc-overlay-pane .title-wrapper > h2 {
  flex-shrink: 0;
}

.title-wrapper .dcm-title-heading-pills {
  gap: 6px;
}

.title-wrapper .dcm-table-heading-main,
.title-wrapper .dcm-heading-partner-count,
.title-wrapper .dcm-full-details-toggle {
  font-size: 12px;
}

.dc-overlay-pane h2 {
  font-size: clamp(34px, 3vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.title-wrapper h2,
.title-wrapper h3 {
  margin: 0;
}
.dc-overlay-pane h3 {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 0;
}
.dc-overlay-pane .dc-cost {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #939292;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

.dc-overlay-pane .dc-cost:before {
     background-size: contain;
    background-position: center -3px;
    background-repeat: no-repeat;
    flex: 1 0 32px;
    height: 80px;
  content: '';
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../svg/icons/cost-per-mw.svg');
}



.dc-overlay-pane p {
  font-size: 1rem;
  line-height: 22px;
  color: #333;
  margin-bottom: 16px;
}

.dc-overlay-pane em {
  color: #666;
  font-style: italic;
}

.dc-overlay-pane strong {
  color: #000;
}

/* ===== Supplier Table ===== */

  .dc-overlay-pane {
    width: 100%;
    border: none;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .dc-overlay-pane .top-content {
    border-bottom: 1px solid rgba(0,0,0,0.1);

  }

  .dc-overlay-pane .hdr-proud-partners {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .dc-overlay-pane .bottom-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding-top: 0;
    overflow: hidden;
  }
  .dc-suppliers table {
    width: 100%;
   /* position: fixed;*/
  }


.table-wrapper {
  position: relative;
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 12px;
  padding-right: 1px;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.dcm-table-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
}

.dcm-table-preloader {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #09213c;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(244, 244, 244, 0.86));
  pointer-events: none;
}

.dcm-table-preloader-inner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid rgba(1, 1, 28, 0.1);
  box-shadow: 0 18px 60px rgba(1, 1, 28, 0.12);
}

.dcm-table-loader-mark {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 169, 132, 0.18);
  border-top-color: #00a984;
  border-radius: 50%;
  animation: dcm-loader-spin 0.8s linear infinite;
}

.dcm-table-loader-text {
  color: #09213c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dcm-table-scroll {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  overflow-y: auto;
  padding-bottom: 14px;
}

.dcm-table-tools {
  --dcm-table-control-height: 42px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 1rem 0;
  max-width: 100%;
}

.dcm-table-controls-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.dcm-title-heading-pills {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 0;
}

.dcm-table-heading-main,
.dcm-heading-partner-count {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #01011c;             /* Kept your sharp, high-contrast dark slate */
  font-size: 13px;            /* Brought the size back up so it isn't tiny */
  font-weight: 700;           /* Clean, readable weight */
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0;
  border: none;
  border-radius: 0;
  gap: 5px;
}

/* Adds a clean visual separator between the two elements if they sit side-by-side */
.dcm-heading-partner-count::before {
  content: "•";               /* A clean bullet dot to create instant separation */
  margin-right: 8px;
  margin-left: 4px;
  color: #01011c;
  opacity: 0.5;               /* Softens just the dot so it doesn't crowd the words */
}

.dcm-heading-partner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.dcm-heading-partner-icon img,
.dcm-heading-partner-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.dcm-table-search-wrap {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--dcm-table-control-height);
}

.dcm-table-sort-wrap {
  flex: 0 1 220px;
  min-width: 180px;
  height: var(--dcm-table-control-height);
}

.dcm-table-search {
  width: min(100%, 460px);
  height: var(--dcm-table-control-height);
  min-height: var(--dcm-table-control-height);
  padding: 0 16px 0 40px;
  border: 1px solid rgba(1, 1, 28, 0.18);
  border-radius: 1px;
  box-sizing: border-box;
  background: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2300a984' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 16px 16px;
  color: #09213c;
  font-size: 15px;
  box-shadow: 0 10px 28px rgba(1, 1, 28, 0.018);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dcm-table-sort {
  border-radius: 1px;
  width: 100%;
  height: var(--dcm-table-control-height);
  min-height: var(--dcm-table-control-height);
  padding: 0 42px 0 14px;
  border: 1px solid rgba(1, 1, 28, 0.18);
  box-sizing: border-box;
  cursor: pointer;
  color: #09213c;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(1, 1, 28, 0.02);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('../svg/icons/down-arrow.svg');
  background-repeat: no-repeat;  
  background-position: right 12px center;
  background-size: 12px 12px;
}



.dcm-table-search:focus,
.dcm-table-sort:focus {
  border-color: #00a984;
  box-shadow: 0 0 0 3px rgba(0, 169, 132, 0.16);
}

.dcm-table-clear-filters {
  flex: 0 0 auto;
  min-height: var(--dcm-table-control-height);
  padding: 0 12px;
  border: 1px solid rgba(1, 1, 28, 0.12);
  border-radius: 1px;
  box-sizing: border-box;
  background: rgba(248, 250, 252, 0.86);
  color: #64748b;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.dcm-table-clear-filters:hover,
.dcm-table-clear-filters:focus-visible {
  border-color: rgba(0, 169, 132, 0.42);
  background: rgba(0, 169, 132, 0.08);
  color: #00a984;
}

.dcm-table-clear-filters:focus-visible {
  outline: 2px solid rgba(0, 169, 132, 0.3);
  outline-offset: 4px;
}

@media (max-width: 1280px) {
  .dcm-table-controls-row {
    justify-content: flex-end;
  }
}

.dcm-table-empty {
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(1, 1, 28, 0.1);
  color: #444;
}

.dcm-table-filter-empty {
  margin-top: 12px;
  text-align: center;
}

.dcm-member-legend {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  min-inline-size: 0;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dcm-member-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.dcm-member-legend-swatch {
  width: 12px;
  height: 12px;
  display: inline-block;
  border: 1px solid rgba(1, 1, 28, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.dcm-member-legend-swatch.legend-founding {
  background: #fff7d6;
}

.dcm-member-legend-swatch.legend-core {
  background: #edf4fb;
}

.dcm-member-filters {
  gap: 10px;
  height: var(--dcm-table-control-height);
}

.dcm-member-filter-label,
.company-name-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dcm-member-filter-label {
  min-height: var(--dcm-table-control-height);
  height: var(--dcm-table-control-height);
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(1, 1, 28, 0.12);
  box-sizing: border-box;
  color: #213044;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.dcm-member-filter-label:hover {
  border-color: rgba(0, 169, 132, 0.4);
  background: #ffffff;
}

.dcm-member-filter-label.disabled-pill {
  opacity: 0.42;
  pointer-events: none;
}

.dcm-member-filter-label input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #00a984;
}

.row-status-icon,
.filter-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.row-status-icon svg,
.filter-status-icon svg,
.row-status-icon img,
.filter-status-icon img {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

.row-status-icon img,
.filter-status-icon img {
  display: block;
  object-fit: contain;
}

.founding-member-icon {
  color: #c99311;
}

.core-member-icon {
  color: #2563a8;
}

.company-name-container {
  max-width: 100%;
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.company-name-container a.internal-link,
.company-name-container a.external-link,
.company-name-container .no-link {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 28px);
  line-height: 1.3;
  text-align: left;
  font-weight: 600;
}

.company-name-container a.internal-link,
.company-name-container a.external-link {
  position: static;
}

.dc-suppliers.dcm-members-table td:first-child {
  position: relative;
}

.dc-suppliers.dcm-members-table td:first-child .company-name-container a.internal-link::before,
.dc-suppliers.dcm-members-table td:first-child .company-name-container a.external-link::before {
  content: '';
  position: absolute;
  inset: 0;
}

.company-name-container a span,
.company-name-container .no-link span {
  display: inline;
}

.company-name-container .row-status-icon {
  order: -1;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: -3px;
}

.industry-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;              /* Spacing between the text and the NAICS link */
  justify-content: center; /* Centers items vertically in the cell */
  align-items: flex-start; /* Aligns both items to the left edge */
}

.naics-wrap {
  font-size: .8rem;
  width: 100%;
}

.naics-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 0 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1769aa;
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  cursor: pointer;
  text-decoration: none;
}

.naics-trigger-btn:hover {
  color: #0b4f82;
  text-decoration: underline;
}

.naics-trigger-btn:focus-visible {
  outline: 2px solid #00a984;
  outline-offset: 3px;
}

.naics-info-icon {
  color: #2b7bbb;
  font-size: 0.86em;
  line-height: 1;
}

.naics-tooltip {
  position: absolute;
  z-index: 1000000;
  width: min(360px, calc(100vw - 32px));
  padding: 16px 18px 17px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  color: #0f172a;
  font-family: Figtree, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1),
    0 24px 64px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transform: translate3d(0, 4px, 0);
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
  pointer-events: auto;
  will-change: opacity, transform;
}

.naics-tooltip::before {
  content: "";
  position: absolute;
  top: -8px;
  left: var(--naics-tooltip-arrow-x, 28px);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.08));
}

.naics-tooltip.is-above {
  transform: translate3d(0, -4px, 0);
}

.naics-tooltip.is-above::before {
  top: auto;
  bottom: -8px;
  border-bottom: 0;
  border-top: 8px solid rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.08));
}

.naics-tooltip.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.naics-tooltip-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.naics-tooltip-close:hover {
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  transform: scale(1.04);
}

.naics-tooltip-close:focus-visible {
  outline: 2px solid #0f67b1;
  outline-offset: 2px;
}

.naics-tooltip-title {
  padding-right: 26px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 5px;
}

.naics-tooltip-code {
  color: #0f67b1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.naics-tooltip p {
  margin: 0 0 12px;
  color: #334155;
  font-size: 13px;
  line-height: 1.48;
}

.naics-tooltip a {
  color: #0f67b1;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 103, 177, 0.28);
}

.naics-tooltip a:hover,
.naics-tooltip a:focus-visible {
  color: #073f73;
  border-bottom-color: currentColor;
  text-decoration: none;
}

@media (max-width: 799px) {
  .dcm-table-controls-row {
    justify-content: flex-start;
  }

  .dcm-table-search-wrap,
  .dcm-member-legend {
    flex: 1 1 100%;
  }

  .dcm-table-search-wrap {
    margin-left: 0;
  }

  .dcm-table-sort-wrap {
    flex: 1 1 180px;
  }

  .dcm-table-search {
    width: 100%;
  }

  .dcm-member-legend {
    justify-content: flex-start;
  }
}

/* sexy scrollbar */
/* Firefox */
.dcm-table-scroll,
.dc-suppliers.real-table tbody {
  scrollbar-width: auto;
  scrollbar-color: #00a984 transparent;
}

/* WebKit browsers (Chrome, Edge, Safari) */
.dcm-table-scroll::-webkit-scrollbar,
.dc-suppliers.real-table tbody::-webkit-scrollbar {
  width: 12px;
  height: 8px;
}

.dcm-table-scroll::-webkit-scrollbar:horizontal {
  height: 8px;
}

.dcm-table-scroll::-webkit-scrollbar-track,
.dc-suppliers.real-table tbody::-webkit-scrollbar-track {
  background: transparent;
}

.dcm-table-scroll::-webkit-scrollbar-thumb,
.dc-suppliers.real-table tbody::-webkit-scrollbar-thumb {
  background-color: #00a984;
  border-radius: 999px;
  border: 2px solid transparent; /* creates breathing room */
  background-clip: content-box;
  min-height: 72px;
}

.dcm-table-scroll::-webkit-scrollbar-thumb:hover,
.dc-suppliers.real-table tbody::-webkit-scrollbar-thumb:hover {
  background-color: color-mix(in srgb, #00a984 85%, white);
}

/* Base styling for all table headers */
th[class^="th-"] {
  position: relative;
  text-align: center;
  vertical-align: middle;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
  text-transform: uppercase;
  padding-top: 2.3rem;
  padding-bottom: 7px;
}

/* Common pseudo-element setup */
th[class^="th-"]::before {
  content: "";
  position: absolute;
  left: 50%;
  top: .65rem;
  transform: translateX(-50%) scale(.9);
  transform-origin: center!important;
  transition: all 0.3s ease;
  width: 1.75rem;
  height: 1.75rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Specific Icon Assignments */
.dc-suppliers .th-name::before {
  background-image: url('../svg/icons/company-name.svg');
}

.dc-suppliers .th-location::before {
  background-image: url('../svg/icons/location.svg');
}

.dc-suppliers .th-industry::before {
  background-image: url('../svg/icons/industry.svg');
  width: 2.25rem;
  height: 2.25rem;
  margin-top: -.44rem;
}

.dc-suppliers .th-employees::before {
  background-image: url('../svg/icons/employees.svg');
}

.dc-suppliers .th-revenue::before {
  background-image: url('../svg/icons/rev.svg');
  width: 2.6rem;
  height: 2.6rem;
  margin-top: -.5rem;
}

.dc-suppliers {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  /* Removed border-radius for site consistency */
  overflow: hidden;
  box-shadow:
    0 12px 30px rgba(0,0,0,0.08);
    table-layout: fixed;
}
/*
.dc-suppliers thead > tr {
 height: 5rem;
 background-color: rgba(0,169,132,0.05);
}*/
/* Base Link Styles */
.dc-suppliers a {
  color: #00a984;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: left;
  display: inline;
  position: relative;
}
.dc-suppliers a:hover {
  color: #00a984;
}

.dc-suppliers .company-name-container a.internal-link:hover,
.dc-suppliers .company-name-container a.external-link:hover {
  color: #007a62;
}

.dc-suppliers a.external-link::after {
  content: '';
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-left: 0.4rem;
  vertical-align: middle;

  background-image: url('../svg/icons/website-external.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  transition: filter 0.3s ease, transform 0.3s ease;
  transform-origin: left center;
  transform: translateX(0) scale(1);
}

.dc-suppliers a.external-link:hover::after {
  filter: brightness(0.72) saturate(1.2);
  transform: translateX(1px) scale(1.1);
}
.dc-suppliers td {
  padding: .75rem .75rem;
  border-bottom: 1px solid rgba(1,1,28,0.15);
  font-size: 14px;
  line-height: 20px;
  text-wrap: balance;
}


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

/* Make tbody scrollable independently */
.dc-suppliers.real-table tbody {
  display: block;
  overflow-y: auto;
  max-height: 300px; /* adjust as needed */
  width: 100%;
}

/* Make rows flex containers */
.dc-suppliers tr {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
}

/* 5 equal columns */
.dc-suppliers th,
.dc-suppliers td {
  flex: 0 0 20%;   /* exact 5-column widths */
  text-align: center;   /* horizontal center */
  align-items: center;  /* vertical center for flex items */
  display: flex;        /* needed to use align-items */
  justify-content: center; /* center content */
  overflow: hidden;
  text-overflow: ellipsis;
}

.dc-suppliers.dcm-members-table th,
.dc-suppliers.dcm-members-table td {
  flex-basis: 20%;
}

.dc-suppliers.dcm-members-table th[data-sort-column] {
  cursor: pointer;
  position: relative;
  user-select: none;
}

.dc-suppliers.dcm-members-table th[data-sort-column]:focus-visible {
  outline: 2px solid #00a984;
  outline-offset: -4px;
}

.dc-suppliers.dcm-members-table th[data-sort-column] span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dc-suppliers.dcm-members-table th[data-sort-column] span::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(0, 169, 132, 0.35);
  transform: translateY(1px);
}

.dc-suppliers.dcm-members-table th[data-sort-direction="asc"] span::after {
  border-top: 0;
  border-bottom: 5px solid #00a984;
}

.dc-suppliers.dcm-members-table th[data-sort-direction="desc"] span::after {
  border-top-color: #00a984;
}

.dc-suppliers.dcm-members-table tbody {
  max-height: none;
  overflow: visible;
}

.dc-suppliers.dcm-members-table tbody tr {
  background: #ffffff;
}

.dc-suppliers.dcm-members-table tbody tr:nth-child(even) {
  background: rgba(0, 169, 132, 0.035);
}

.dc-suppliers.dcm-members-table tbody tr.row-founding-member {
  background: linear-gradient(90deg, rgba(0, 169, 132, 0.14), rgba(0, 169, 132, 0.055));
  box-shadow: inset 4px 0 0 #00a984;
}

.dc-suppliers.dcm-members-table tbody tr.row-founding-member:hover {
  background: linear-gradient(90deg, rgba(0, 169, 132, 0.19), rgba(0, 169, 132, 0.08));
}

.dc-suppliers.dcm-members-table tbody tr.row-founding-member .company-name-container a {
  color: #007c61;
  font-weight: 900;
}

.dc-suppliers.dcm-members-table tbody tr.row-founding-member .company-name-container a:hover {
  color: #005f4c;
}

.dc-suppliers.dcm-members-table tbody tr.row-core-member {
  background: linear-gradient(90deg, rgba(188, 123, 22, 0.14), rgba(188, 123, 22, 0.055));
  box-shadow: inset 4px 0 0 #bc7b16;
}

.dc-suppliers.dcm-members-table tbody tr.row-core-member:hover {
  background: linear-gradient(90deg, rgba(188, 123, 22, 0.19), rgba(188, 123, 22, 0.08));
}

.dc-suppliers.dcm-members-table tbody tr.row-core-member .company-name-container a {
  color: #875711;
  font-weight: 900;
}

.dc-suppliers.dcm-members-table tbody tr.row-core-member .company-name-container a:hover {
  color: #64400c;
}

.dc-suppliers.dcm-members-table .row-status-icon .dcm-wi-map__tooltip-badge {
  width: 20px;
  height: 25px;
}

.dc-overlay-pane .dcm-supplier-list-eyebrow {
  margin: 20px 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d4e1dc;
  color: #527369;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dc-overlay-pane .top-content.dcm-overlay-map-header {
  padding-top: 18px;
}

.dcm-overlay-map-header > .dcm-overlay-map {
  margin-top: 0;
}

.dcm-wi-map__legend--overlay .title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 0;
}

.dcm-wi-map__legend--overlay .title-wrapper h2 {
  font-size: 23px;
  line-height: 1.1;
}

.dcm-wi-map__legend--overlay .dc-eyebrow {
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.dcm-wi-map__legend--overlay .dc-subhead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: none;
  margin: 0;
}

.dcm-wi-map__legend--overlay .dcm-title-heading-pills {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.dcm-wi-map__legend--overlay .dcm-heading-partner-count::before,
.dcm-wi-map__legend--overlay .dcm-full-details-toggle::before {
  content: none;
}

.dcm-wi-map__legend--overlay .dcm-disclaimer-toggle {
  font-size: 11px;
  line-height: 1.35;
}

.dcm-wi-map__legend-footer {
  margin-top: 16px;
  padding: 12px 2px 2px;
  border-top: 1px solid rgba(104,145,132,.2);
}

.dc-suppliers.dcm-members-table tbody tr.row-founding-member .row-status-icon,
.dc-suppliers.dcm-members-table tbody tr.row-core-member .row-status-icon {
  transform: scale(1.18);
}

.dc-suppliers.dcm-members-table tbody tr:hover {
  background: rgba(0, 169, 132, 0.075);
}

.dc-suppliers.dcm-members-table tbody td {
  background: transparent;
}

.dc-suppliers.dcm-members-table thead.dcm-desktop-header-pinned {
  z-index: 24 !important;
  background: #f0fbf7 !important;
  box-shadow: 0 8px 18px rgba(1, 1, 28, 0.12) !important;
  will-change: transform;
}

.dc-suppliers.dcm-members-table thead.dcm-desktop-header-pinned > tr {
  background: #f0fbf7 !important;
}

.dc-suppliers th span {
  font-size: 12px;
}

/* Optional: style sticky header */
.dc-suppliers thead {
  background-color: rgba(0, 169, 132, 0.08);
  color: #00a984;
  font-weight: bold;
  display: flex; /* needed for flex row */
}

.dc-suppliers td:first-child {
  padding-left: 1.25rem;
  justify-content: flex-start;
  padding-right: 0;
}

.dc-suppliers tr:last-child td {
  border-bottom: none;
}

.dc-suppliers tbody tr:hover {
  background: linear-gradient(90deg, #f8f8f8, #ffffff);
}







/* ===== Scrollbar ===== */
.dc-overlay-pane::-webkit-scrollbar {
  width: 10px;
}

.dc-overlay-pane::-webkit-scrollbar-track {
  background: transparent;
}

.dc-overlay-pane::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 10px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.dcm-overlay-back-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483647;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(0, 169, 132, 0.82);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(1, 1, 28, 0.16);
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: background-color 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.dcm-overlay-back-top.is-visible {
  opacity: 0.86;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dcm-overlay-back-top:hover,
.dcm-overlay-back-top:focus-visible {
  background: #008469;
  color: #ffffff;
  outline: none;
  opacity: 1;
  box-shadow: 0 12px 28px rgba(1, 1, 28, 0.22);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  @media (orientation: portrait) {
    .dcm-table-tools {
      --dcm-table-control-height: 33px;
    }
  }

  .dc-overlay {
    overflow: hidden !important;
  }

  .dc-overlay-panel {
    position: absolute !important;
    inset: 0 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    transform: none !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .dc-overlay-close {
    top: 6px !important;
    right: 6px !important;
    z-index: 2147483647 !important;
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    font-size: 22px !important;
    line-height: 1 !important;
    pointer-events: auto !important;
  }

  .dc-overlay-content {
    display: flex !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .dc-overlay-pane {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    display: flex !important;
    flex-direction: column !important;
  }

  .dc-overlay-pane .top-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
    align-items: center !important;
    column-gap: 12px !important;
    row-gap: 0 !important;
    padding: 14px 10px 0 !important;
    border-bottom: 0 !important;
    position: relative !important;
    z-index: 60 !important;
    overflow: visible !important;
  }

  .dc-overlay-pane .top-content .dc-eyebrow,
  .dc-overlay-pane .top-content .title-wrapper,
  .dc-overlay-pane .top-content [data-dcm-overlay-map] {
    grid-column: 1 / -1 !important;
  }

  .dc-overlay-pane .title-wrapper {
    gap: 8px;
    margin-bottom: 0 !important;
  }

  .title-wrapper .dc-subhead {
    flex-basis: 100%;
    gap: 8px 14px;
    flex-wrap: nowrap;
  }

  .dc-overlay-pane h2 {
    font-size: 26px !important;
    line-height: 1.05 !important;
  }

  .dcm-overlay-disclaimer {
    position: relative !important;
    z-index: 75 !important;
    justify-self: end !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    min-width: 0;
  }

  .dc-subhead {
    position: relative !important;
    z-index: 70 !important;
    justify-self: start !important;
    min-width: 0 !important;
    margin-bottom: 0 !important;
  }

  .dc-subhead .dcm-title-heading-pills > .dcm-table-heading-main,
  .dc-subhead .dcm-title-heading-pills > .dcm-heading-partner-count {
    display: none !important;
  }

  .dcm-full-details-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #008469;
    font-size: 13px;
    font-weight: 900;
    text-transform: none !important;
  }

  .dcm-title-heading-pills {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: auto !important;
    flex-shrink: 0;
  }

  .dcm-table-heading-main,
  .dcm-heading-partner-count,
  .dcm-full-details-toggle {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .dcm-heading-partner-count::before,
  .dcm-full-details-toggle::before {
    content: none !important;
  }

  .dcm-disclaimer-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #008469;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: none !important;
    text-decoration: none;
    cursor: pointer;
  }

  .dcm-disclaimer-toggle span:last-child {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .dcm-disclaimer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    border: 1.5px solid #008469;
    border-radius: 50%;
    color: #008469;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
  }

  .dc-overlay-pane .bottom-content {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 4px 6px 4px !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .table-wrapper {
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding-bottom: 8px !important;
  }

  .dcm-table-scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    position: relative !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px !important;
    --dcm-scroll-cue-opacity: 0;
    --dcm-scroll-cue-hint-opacity: 0;
    --dcm-scroll-cue-hint-x: 0px;
    --dcm-scroll-cue-hint-y: 0px;
  }

  .dcm-table-scroll.dcm-scroll-cue-active::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 18px;
    left: 0;
    z-index: 8;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 28%, rgba(255, 255, 255, 0) 62%);
    opacity: var(--dcm-scroll-cue-opacity, 0);
  }

  .dcm-table-scroll.dcm-scroll-cue-active::after {
    content: none;
  }

  .dcm-scroll-cue {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9;
    width: 178px;
    min-height: 104px;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
  }

  .dcm-scroll-cue-body {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(0, 169, 132, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 34px rgba(1, 1, 28, 0.16);
    color: #006f59;
    transform: translate(-50%, -50%);
    white-space: nowrap;
  }

  .dcm-scroll-cue-finger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #008469;
  }

  .dcm-scroll-cue-finger svg {
    display: block;
    width: 18px;
    height: 18px;
  }

  .dcm-scroll-cue-text {
    display: block;
    color: #006f59;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-transform: uppercase;
  }

  .dcm-scroll-cue-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 0;
    height: 0;
    opacity: 0;
  }

  .dcm-scroll-cue-arrow--up {
    border-right: 5px solid transparent;
    border-bottom: 7px solid #00a984;
    border-left: 5px solid transparent;
  }

  .dcm-scroll-cue-arrow--down {
    border-top: 7px solid #00a984;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
  }

  .dcm-scroll-cue-arrow--right {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #00a984;
  }

  .dc-suppliers.dcm-members-table {
    width: max-content !important;
    min-width: 840px !important;
    table-layout: auto !important;
    overflow: visible !important;
  }

  .dc-suppliers.dcm-members-table tbody td {
    font-size: 12px !important;
    line-height: 17px !important;
    text-align: left !important;
  }

  .dc-suppliers.dcm-members-table tbody td .naics-wrap,
  .dc-suppliers.dcm-members-table tbody td .naics-trigger-btn,
  .dc-suppliers.dcm-members-table tbody td .naics-code-text {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .dc-suppliers.dcm-members-table thead,
  .dc-suppliers.dcm-members-table tbody,
  .dc-suppliers.dcm-members-table tr {
    width: 100% !important;
    min-width: 840px !important;
  }

  .dc-suppliers.dcm-members-table th,
  .dc-suppliers.dcm-members-table td {
    flex: 0 0 150px !important;
    min-width: 130px !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .dc-suppliers.dcm-members-table td {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .dc-suppliers.dcm-members-table thead.dcm-mobile-header-pinned {
    position: sticky !important;
    top: 0 !important;
    z-index: 26 !important;
    background: #f0fbf7 !important;
    box-shadow: 0 8px 18px rgba(1, 1, 28, 0.12) !important;
  }

  .dc-suppliers.dcm-members-table thead.dcm-mobile-header-pinned > tr {
    background: #f0fbf7 !important;
  }

  .dc-suppliers.dcm-members-table th {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .dc-suppliers.dcm-members-table th span {
    width: 100% !important;
    min-height: 18px !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding-left: 18px !important;
  }

  .dc-suppliers th[class^="th-"] {
    padding: 9px 10px !important;
  }

  .dc-suppliers th[class^="th-"]::before {
    top: 50% !important;
    left: 10px !important;
    width: 14px !important;
    height: 14px !important;
    margin-top: 0 !important;
    transform: translateY(-50%) scale(1) !important;
    transform-origin: left center !important;
  }

  .dc-suppliers .th-employees::before {
    margin-top: -4px !important;
  }

  .dc-suppliers.dcm-members-table .th-name,
  .dc-suppliers.dcm-members-table td:first-child {
    flex-basis: 240px !important;
    min-width: 240px !important;
  }

  .dcm-table-controls-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 100px max-content !important;
    grid-template-rows: auto !important;
    column-gap: 0.5rem !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    position: relative !important;
  }

  .dcm-table-sort-wrap {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .dcm-table-search-wrap {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    justify-content: stretch !important;
    position: relative !important;
    z-index: 3 !important;
    transform-origin: right center !important;
  }

  .dcm-table-controls-row.dcm-search-expanded .dcm-table-search-wrap {
    grid-column: 1 / 3 !important;
    z-index: 35 !important;
  }

  .dcm-table-controls-row .dcm-table-search {
    width: 100% !important;
    padding: 0 8px 0 28px !important;
    background: rgba(248, 250, 252, 0.96) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2300a984' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 8px center !important;
    background-size: 15px 15px !important;
    color: #008469 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
  }

  .dcm-table-controls-row.dcm-search-expanded .dcm-table-search {
    padding: 0 10px 0 34px !important;
    background: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2300a984' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 10px center !important;
    background-size: 16px 16px !important;
    color: #09213c !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-align: left !important;
    text-transform: none !important;
    cursor: text !important;
    box-shadow: 0 0 0 3px rgba(0, 169, 132, 0.16), 0 12px 28px rgba(1, 1, 28, 0.08) !important;
  }

  .dcm-table-clear-filters {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: var(--dcm-table-control-height) !important;
    min-height: var(--dcm-table-control-height) !important;
    padding-inline: 10px !important;
    border-radius: 1px !important;
    white-space: nowrap !important;
  }

  .dcm-table-controls-row .dcm-table-sort {
    padding-left: 10px !important;
    padding-right: 32px !important;
    background-position: right 8px center !important;
  }

  .dcm-member-filters,
  .dcm-member-legend {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .dcm-member-filter-label {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }

  .dcm-overlay-back-top {
    position: fixed;
    right: 14px;
    bottom: 14px;
  }
}

/* Keep the segment context inside the overlay legend at every screen size. */
.dc-overlay-pane .dcm-wi-map__legend--overlay .dc-subhead {
  flex-direction: column;
  align-items: flex-start;
  flex-basis: auto;
}

.dc-overlay-pane .dcm-wi-map__legend--overlay .dcm-title-heading-pills > .dcm-table-heading-main,
.dc-overlay-pane .dcm-wi-map__legend--overlay .dcm-title-heading-pills > .dcm-heading-partner-count {
  display: inline-flex !important;
  font-size: 11px;
  white-space: normal;
}

.dc-overlay-pane .dcm-wi-map__legend--overlay .title-wrapper h2 {
  font-size: 23px !important;
}

.dc-overlay-pane .dcm-wi-map__legend--overlay .dcm-disclaimer-toggle {
  font-size: 11px;
}

@media (min-width: 769px) {
  .dcm-overlay-map-header .dcm-wi-map__svg {
    height: 370px;
    min-height: 370px;
  }
}

.dcm-overlay-info-popup__close:hover,
.dcm-overlay-info-popup__close:focus-visible,
.naics-tooltip-close:hover,
.naics-tooltip-close:focus-visible {
  background: #00a984;
  color: #fff;
}

.naics-tooltip-code {
  font-size: 12px;
}

.naics-tooltip-title {
  font-size: 16px;
}

.naics-tooltip p {
  font-size: 14px;
}

.naics-tooltip a {
  font-size: 13px;
}

.dc-overlay-pane .title-wrapper h2 .dcm-segment-info-trigger {
  display: inline-flex;
  vertical-align: super;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-height: 28px;
  margin: -4px 0 0 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #527369;
  line-height: 1;
}
.dc-overlay-pane .title-wrapper h2 .dcm-segment-info-trigger::before { display: none; }
.dc-overlay-pane .title-wrapper h2 .dcm-segment-info-trigger:hover,
.dc-overlay-pane .title-wrapper h2 .dcm-segment-info-trigger:focus-visible { color: #fff; background: #00a984; }

/* Flexible map/table workspace; the divider resizes panes, not table data. */
.dc-overlay-pane.dcm-overlay-split-layout {
  overflow: hidden !important;
}
.dcm-overlay-split-layout .top-content.dcm-overlay-map-header {
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  flex: 0 0 var(--dcm-overlay-map-height, 42%) !important;
  min-height: 0 !important;
  box-sizing: border-box;
  padding: 8px 12px 0 !important;
}
.dcm-overlay-split-layout .dcm-overlay-map-header > .dcm-overlay-map {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  width: 100%;
}
.dcm-overlay-split-layout .dcm-overlay-map .dcm-wi-map {
  height: 100%;
  min-height: 0 !important;
  box-sizing: border-box;
}
.dcm-overlay-split-layout .dcm-overlay-map .dcm-wi-map__svg {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
}
.dcm-overlay-split-layout .bottom-content {
  display: flex;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 0 12px 8px !important;
  overflow: hidden !important;
}
.dcm-overlay-split-layout.is-table-collapsed .bottom-content { display: none !important; }
.dcm-overlay-split-layout.is-table-collapsed .top-content.dcm-overlay-map-header { flex: 1 1 auto !important; }
.dcm-overlay-splitbar {
  display: flex;
  align-items: center;
  flex: 0 0 32px;
  gap: 10px;
  padding: 0 12px;
}
.dcm-overlay-divider {
  position: relative;
  flex: 1;
  height: 28px;
  min-width: 0;
  cursor: row-resize;
  touch-action: none;
  border-radius: 4px;
}
.dcm-overlay-divider::before {
  content: '';
  position: absolute;
  inset: 10px 0;
  border-top: 1px solid #9bb7ac;
  border-bottom: 1px solid #9bb7ac;
}
.dcm-overlay-divider::after {
  content: '';
  position: absolute;
  left: calc(50% - 16px);
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 28px;
  border-radius: 3px;
  background: #f5f8f6 url(../svg/icons/table-section-drag-handle.svg) center / 28px 28px no-repeat;
  box-shadow: 0 0 0 4px #f5f8f6;
}
.dcm-overlay-divider:hover, .dcm-overlay-divider:focus-visible,
.dcm-overlay-split-layout.is-resizing .dcm-overlay-divider { background: rgba(0,169,132,.08); }
.dcm-overlay-divider:focus-visible { outline: 2px solid #00a984; outline-offset: -2px; }
.dcm-overlay-split-layout.is-resizing { user-select: none; cursor: row-resize; }
.dcm-overlay-table-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #075b49;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.dcm-overlay-table-toggle:hover, .dcm-overlay-table-toggle:focus-visible { background: #e8f5f1; }
.dcm-overlay-table-toggle:focus-visible { outline: 2px solid #00a984; }
.dcm-supplier-table-header {
  --dcm-table-control-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  gap: 12px;
  padding: 0 0 6px;
}
.dc-overlay-pane .dcm-supplier-table-header .dcm-supplier-list-eyebrow {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.dcm-supplier-table-filters { flex: 0 1 auto; min-width: 0; max-width: 72%; }
.dcm-supplier-table-header .dcm-table-controls-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end;
  width: auto;
  gap: 6px !important;
}
.dcm-supplier-table-header .dcm-table-sort-wrap { flex: 0 1 200px; min-width: 150px; }
.dcm-supplier-table-header .dcm-table-search-wrap { flex: 0 1 240px; min-width: 160px; }
.dcm-supplier-table-header .dcm-table-search { width: 100%; font-size: 12px; }
.dcm-supplier-table-header .dcm-table-sort { font-size: 12px; }
.dcm-overlay-split-layout .table-wrapper,
.dcm-overlay-split-layout .dcm-table-content { flex: 1 1 auto !important; min-height: 0 !important; padding-bottom: 0 !important; }
.dcm-overlay-split-layout .dcm-table-scroll { flex: 1 1 auto !important; min-height: 0 !important; padding-top: 0; }
@media (max-width: 768px) {
  .dcm-overlay-split-layout .top-content.dcm-overlay-map-header { padding: 8px 6px 0 !important; }
  .dcm-overlay-split-layout .bottom-content { padding: 0 6px 6px !important; }
  .dcm-overlay-splitbar { flex-basis: 44px; padding: 0 6px; gap: 6px; }
  .dcm-overlay-divider { height: 44px; }
  .dcm-overlay-divider::before { inset-block: 18px; }
  .dcm-overlay-table-toggle { min-height: 44px; }
  .dcm-supplier-table-header { --dcm-table-control-height: 44px; gap: 6px; }
  .dcm-supplier-table-header .dcm-supplier-list-eyebrow { font-size: 10px; }
  .dcm-supplier-table-filters { max-width: 70%; }
  .dcm-supplier-table-header .dcm-table-sort-wrap { flex: 1 1 110px; min-width: 80px !important; }
  .dcm-supplier-table-header .dcm-table-search-wrap { flex: 0 0 70px; min-width: 0; }
  .dcm-supplier-table-header .dcm-table-clear-filters { width: auto !important; flex: 0 0 auto; padding-inline: 6px !important; }
  .dcm-supplier-table-header .dcm-table-controls-row.dcm-search-expanded .dcm-table-search-wrap {
    position: absolute !important;
    inset: 0 48px 0 0;
    width: auto !important;
  }
}

.dcm-overlay-split-layout .dcm-members-table thead {
  position: sticky !important;
  top: 0 !important;
  z-index: 26 !important;
  transform: none !important;
}
@media (min-width: 701px) {
  .dcm-overlay-split-layout .dcm-overlay-map .dcm-wi-map__controls { right: 64px; }
}
.dcm-overlay-split-layout .dc-suppliers.dcm-members-table {
  overflow: visible !important;
  min-width: 840px !important;
}
/* Keep one native scroll surface in both directions, including landscape phones
   and tablets above the compact phone breakpoint. */
.dcm-overlay-split-layout .table-wrapper,
.dcm-overlay-split-layout .dcm-table-content { min-width: 0; max-width: 100%; }
.dcm-overlay-split-layout .dcm-table-scroll {
  min-width: 0;
  max-width: 100%;
  overflow: auto !important;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}
.dcm-overlay-split-layout .dcm-members-table thead { background: #f0fbf7; box-shadow: 0 4px 10px rgba(1,1,28,.08); }

/* Overlay maps fill the panel; zoom stays clear of the floating close button. */
.dcm-overlay-split-layout .top-content.dcm-overlay-map-header { padding: 0 !important; }
.dcm-overlay-split-layout .dcm-overlay-map .dcm-wi-map {
  border: 0;
  border-radius: 0 !important;
}
.dcm-overlay-split-layout .dcm-overlay-map .dcm-wi-map__controls {
  top: 64px;
  right: 20px;
  bottom: auto;
  grid-template-columns: 28px minmax(70px, 90px) 28px 28px;
  gap: 4px;
  padding: 5px;
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(16,54,44,.035);
}
.dcm-overlay-split-layout .dcm-wi-map__controls button {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 3px;
  border-radius: 6px;
}
.dcm-overlay-split-layout .dcm-wi-map__zoom-range input { height: 28px; min-height: 28px; }
@media (max-width: 700px) {
  .dcm-overlay-split-layout .dcm-overlay-map .dcm-wi-map__controls {
    top: 60px;
    right: 10px;
    bottom: auto;
    grid-template-columns: 44px;
    gap: 3px;
    padding: 4px;
  }
  .dcm-overlay-split-layout .dcm-wi-map__controls button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .dcm-overlay-split-layout .dcm-wi-map__zoom-range { grid-column: auto; grid-row: auto; }
  .dcm-overlay-split-layout .dcm-wi-map__zoom-eyebrow { flex-direction: column; align-items: center; font-size: 10px; letter-spacing: 0; }
  .dcm-overlay-split-layout .dcm-wi-map__zoom-range input {
    width: 44px;
    height: 60px;
    min-height: 60px;
    writing-mode: vertical-lr;
    direction: rtl;
  }
  .dcm-overlay-split-layout .dcm-wi-map__zoom-range input::-webkit-slider-runnable-track {
    width: 4px;
    height: 100%;
    background: linear-gradient(to top, #00a984 var(--zoom-progress), #d4e1dc var(--zoom-progress));
  }
  .dcm-overlay-split-layout .dcm-wi-map__zoom-range input::-webkit-slider-thumb { margin-top: 0; margin-left: -5px; }
  .dcm-overlay-split-layout .dcm-wi-map__zoom-range input::-moz-range-track { width: 4px; height: 100%; }
}

/* The table is a drawer over a fixed half-height map, not a viewport resize. */
.dc-overlay-pane.dcm-overlay-split-layout { position: relative; }
.dcm-overlay-split-layout .top-content.dcm-overlay-map-header {
  position: absolute !important;
  inset: 0 0 auto;
  height: var(--dcm-overlay-map-fixed-height, 50%) !important;
  flex: none !important;
  z-index: 0 !important;
}
.dcm-overlay-split-layout .dcm-overlay-splitbar {
  position: absolute;
  top: var(--dcm-overlay-table-top, 50%);
  left: 0;
  right: 0;
  height: 32px;
  box-sizing: border-box;
  z-index: 70;
  background: #f5f8f6;
}
.dcm-overlay-split-layout .bottom-content {
  position: absolute !important;
  top: calc(var(--dcm-overlay-table-top, 50%) + var(--dcm-overlay-splitbar-height, 32px));
  bottom: 0;
  left: 0;
  right: 0;
  height: auto !important;
  z-index: 60 !important;
  background: #f5f8f6;
}
.dcm-overlay-split-layout.is-table-collapsed .top-content.dcm-overlay-map-header {
  height: calc(100% - var(--dcm-overlay-splitbar-height, 32px)) !important;
}
.dcm-overlay-split-layout.is-table-collapsed .dcm-overlay-splitbar { top: auto; bottom: 0; }
@media (max-width: 768px) {
  .dcm-overlay-split-layout .dcm-overlay-splitbar { height: 44px; }
}

.dcm-overlay-table-caret { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.dcm-overlay-table-toggle[aria-expanded="false"] .dcm-overlay-table-caret { transform: rotate(180deg); }

/* Touch keeps its native pointer; grab feedback is only for hovering devices. */
.dcm-overlay-divider { cursor: auto; }
.dcm-overlay-split-layout.is-resizing { cursor: auto; }
@media (hover: hover) {
  .dcm-overlay-divider { cursor: grab; }
  .dcm-overlay-split-layout.is-resizing,
  .dcm-overlay-split-layout.is-resizing .dcm-overlay-divider { cursor: grabbing; }
}

/* Keep the SVG scale fixed while exposing its drawing beyond the initial split. */
.dcm-overlay-split-layout .top-content.dcm-overlay-map-header,
.dcm-overlay-split-layout.is-table-collapsed .top-content.dcm-overlay-map-header {
  height: calc(100% - var(--dcm-overlay-splitbar-height, 32px)) !important;
  border: 0 !important;
}
.dcm-overlay-split-layout .dcm-overlay-map .dcm-wi-map__svg {
  height: var(--dcm-overlay-map-fixed-height, 50%) !important;
  overflow: visible;
}
/* The backdrop always stays behind the bounded panel, including tablet widths. */
.dc-overlay-backdrop { z-index: 0; }
.dc-overlay-panel { z-index: 1; }
