/* Detail area: searchable combobox, form controls, modals, sourcing results (split from detail.css; loaded directly after it). */

/* P14.6.1 — searchable combobox over native lookup <select>. */
.erpel-searchable-select.is-enhanced {
  cursor: pointer;
  overflow: visible;
  position: relative;
  width: 100%;
}

/*
 * Offscreen clip hide on the native <select> only — not display:none, so
 * required + constraint validation can focus the field on submit. The custom
 * input stays fully opaque (no ghost native option text under filters).
 */
.erpel-searchable-select__native,
.erpel-searchable-select.is-enhanced .erpel-searchable-select__native,
.erpel-searchable-select.is-enhanced > select {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  margin: -1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 1px !important;
}

/* Hit target over the chevron so cursor stays pointer (not text caret) when open. */
.erpel-searchable-select.is-enhanced::before {
  bottom: 0;
  content: "";
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  width: 2em;
  z-index: 5;
}

.erpel-searchable-select.is-enhanced::after {
  border: 0.125em solid var(--bulma-arrow-color, #7a7a7a);
  border-right: 0;
  border-top: 0;
  content: " ";
  display: block;
  height: 0.5em;
  margin-top: -0.375em;
  pointer-events: none;
  position: absolute;
  right: 0.85em;
  top: 50%;
  transform: rotate(-45deg);
  transform-origin: center;
  transition: transform 0.12s ease;
  width: 0.5em;
  z-index: 6;
}

.erpel-searchable-select.is-enhanced:has(
  .erpel-searchable-select__input[aria-expanded='true']
)::after {
  /* Flip chevron to point up while the panel is open. */
  margin-top: -0.125em;
  transform: rotate(135deg);
}

.erpel-searchable-select.is-enhanced:has(.erpel-searchable-select__input:disabled)::before {
  cursor: not-allowed;
  pointer-events: none;
}

.erpel-searchable-select.is-enhanced:has(.erpel-searchable-select__input:disabled)::after {
  opacity: 0.4;
}

.erpel-searchable-select.is-enhanced .erpel-searchable-select__input {
  /* Closed: hand over field + chevron; text caret only while filtering. */
  cursor: pointer;
  font-weight: 400;
  padding-right: 2em;
  width: 100%;
}

.erpel-searchable-select.is-enhanced .erpel-searchable-select__input:focus {
  cursor: text;
}

.erpel-searchable-select.is-enhanced .erpel-searchable-select__input:disabled {
  cursor: not-allowed;
}

.erpel-searchable-select__panel {
  background: var(--erpel-surface);
  border: 1px solid var(--bulma-border, var(--erpel-border));
  border-radius: var(--erpel-radius);
  box-shadow: var(--erpel-dropdown-shadow);
  color: var(--erpel-text);
  display: flex;
  flex-direction: column;
  font-size: inherit;
  /* Do not inherit bold thead / labels or crushed navbar line-heights. */
  font-weight: 400;
  gap: 2px;
  /* Flex column + flex-shrink:0 options need min-height:0 or max-height won't clip. */
  min-height: 0;
  left: 0;
  line-height: 1.35;
  overscroll-behavior: contain;
  list-style: none;
  margin: 0;
  /*
   * Grow with content; scroll only when taller than the viewport.
   * (Fixed 16rem capped short lists and forced a useless scrollbar.)
   */
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  /* Grow with labels; cap width — ellipsis on options past the cap. */
  max-width: min(22rem, calc(100vw - 1.5rem));
  min-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.35rem;
  position: absolute;
  right: auto;
  top: calc(100% + 2px);
  width: max-content;
  z-index: 40;
}

/* Open panel: JS sets fixed coords + max-height from viewport space (see searchable-select.js). */
.erpel-searchable-select__panel.is-floating {
  /* JS sets top/bottom + max-height; drop absolute anchor positioning. */
  bottom: auto;
  position: fixed;
  top: auto;
  z-index: 2000;
}

/* display:flex above would otherwise win over the [hidden] attribute. */
.erpel-searchable-select__panel[hidden] {
  display: none;
}

.erpel-searchable-select__option {
  align-items: center;
  border-radius: var(--erpel-radius);
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  /* Match trigger field size (host/input set the context font-size). */
  flex-shrink: 0;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.35;
  max-width: 100%;
  min-height: 2.25rem;
  overflow: hidden;
  padding: 0.4rem 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erpel-searchable-select__option.is-active,
.erpel-searchable-select__option:hover {
  background: var(--erpel-surface-subtle);
  color: var(--erpel-brand);
}

.erpel-searchable-select__option.is-selected {
  background: var(--erpel-brand-tint);
  color: var(--erpel-brand);
  font-weight: 600;
}

.erpel-searchable-select__option.is-selected.is-active,
.erpel-searchable-select__option.is-selected:hover {
  background: var(--erpel-brand-tint-strong);
  color: var(--erpel-brand);
}

.erpel-searchable-select__empty {
  color: var(--bulma-text-weak, #7a7a7a);
  flex-shrink: 0;
  font-size: 1em;
  line-height: 1.35;
  min-height: 2.25rem;
  padding: 0.4rem 0.65rem;
}

.erpel-searchable-select__more {
  background: var(--bulma-info-95, #eff5fb);
  border-bottom: 1px solid var(--bulma-border, var(--erpel-border));
  color: var(--bulma-info-35, #2160c4);
  font-size: var(--bulma-size-small);
  font-weight: 600;
  line-height: 1.35;
  padding: 0.5em 0.75em;
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Wrapper is display:contents, so Bulma's :first-child radius rules miss —
   force flush join to the select, round only the trailing edit button.
   Drop Bulma's raised button shadow so +/edit match adjacent selects. */
.field.has-addons .erpel-lookup-fk-actions .control .button {
  --bulma-button-outer-shadow-a: 0;
  border-radius: 0;
}

.field.has-addons .erpel-lookup-fk-actions .control:last-child .button {
  border-bottom-right-radius: var(--erpel-radius, 0.375rem);
  border-top-right-radius: var(--erpel-radius, 0.375rem);
}

.erpel-inline-lookup-modal .modal-content {
  max-width: 36rem;
  overflow: visible;
  width: calc(100% - 2rem);
}

.erpel-inline-lookup-modal.is-wide .modal-content,
.erpel-inline-lookup-modal .modal-content.is-wide,
.erpel-inline-lookup-modal:has([data-erpel-sourcing-modal]) .modal-content,
.erpel-inline-lookup-modal .modal-content:has([data-erpel-sourcing-modal]) {
  max-width: 76rem !important;
  width: min(76rem, calc(100vw - 2rem)) !important;
}

.erpel-inline-lookup-modal.is-wide .modal-card,
.erpel-inline-lookup-modal:has([data-erpel-sourcing-modal]) .modal-card,
.erpel-inline-lookup-modal .modal-content:has([data-erpel-sourcing-modal]) .modal-card,
.erpel-inline-lookup-modal.is-wide .erpel-inline-lookup-card,
.erpel-inline-lookup-modal:has([data-erpel-sourcing-modal]) .erpel-inline-lookup-card {
  width: 100% !important;
  max-width: 100% !important;
}

/* Chromium stretches Bulma's column-flex .modal-card up to max-height; the
   body flex-grows and leaves a blank band above the footer. display:block
   (as verified in DevTools) disables that formatting context. !important
   beats Bulma + .erpel-inline-lookup-card { display:flex }. The body caps
   its own height so long lists scroll and the footer stays visible. */
.erpel-inline-lookup-modal .erpel-inline-lookup-card[data-erpel-sourcing-modal],
.erpel-inline-lookup-modal .modal-card[data-erpel-sourcing-modal] {
  display: block !important;
  flex: 0 0 auto;
  height: auto;
  max-height: calc(100dvh - 3rem);
  overflow: hidden;
}

.erpel-inline-lookup-modal .erpel-inline-lookup-card[data-erpel-sourcing-modal] > .modal-card-body,
.erpel-inline-lookup-modal .modal-card[data-erpel-sourcing-modal] > .modal-card-body {
  flex: none;
  flex-grow: 0;
  min-height: 0;
  max-height: calc(100dvh - 14rem);
  overflow-x: hidden;
  overflow-y: auto;
}

/* Chrome 131+ ::details-content is display:block and can eat leftover space. */
.erpel-sourcing-section-disclosure[open]::details-content {
  display: contents;
}

.erpel-parametric-drawer {
  border: 1px solid var(--erpel-border, #e8e8e8);
  background: var(--erpel-surface-muted);
}

.erpel-parametric-badges .tag.is-clickable {
  cursor: pointer;
}

.erpel-parametric-badges .tag.is-clickable:hover {
  filter: brightness(0.97);
}

.erpel-sourcing-table {
  width: 100%;
}

.erpel-sourcing-table th,
.erpel-sourcing-table td {
  background-color: transparent;
}

.erpel-sourcing-table--docs {
  table-layout: fixed;
  min-width: 32rem;
}

.erpel-sourcing-table--supply {
  table-layout: auto;
  min-width: 48rem;
}

.erpel-sourcing-table--supply th,
.erpel-sourcing-table--supply td {
  white-space: nowrap;
}

.erpel-sourcing-table--supply th.erpel-sourcing-pn-col,
.erpel-sourcing-table--supply td.erpel-sourcing-pn-cell {
  white-space: normal;
  word-break: break-all;
  min-width: 10rem;
}

.erpel-sourcing-table--supply th.erpel-sourcing-partinfo-col,
.erpel-sourcing-table--supply td.erpel-sourcing-partinfo-cell {
  white-space: normal;
  word-break: break-word;
  min-width: 12rem;
  max-width: 24rem;
  vertical-align: top;
}

.erpel-sourcing-table td {
  vertical-align: middle;
}

.erpel-sourcing-prev-url {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  max-width: 100%;
  margin-top: 0.15rem;
}

.erpel-sourcing-prev-url .erpel-url-truncate {
  display: inline-block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-style: dotted;
}

.erpel-sourcing-summary-box {
  box-shadow: none !important;
  border: 1px solid var(--erpel-border);
  background: var(--erpel-surface-muted);
  border-radius: var(--erpel-radius);
}

.erpel-sourcing-summary-disclosure summary {
  list-style: none;
  cursor: pointer;
}

.erpel-sourcing-summary-disclosure summary::-webkit-details-marker {
  display: none;
}

.erpel-sourcing-summary-disclosure .erpel-sourcing-summary-caret {
  transition: transform 0.15s ease;
}

.erpel-sourcing-summary-disclosure[open] .erpel-sourcing-summary-caret {
  transform: rotate(180deg);
}

.erpel-sourcing-section-disclosure > summary {
  list-style: none;
  cursor: pointer;
}

.erpel-sourcing-section-disclosure > summary::-webkit-details-marker {
  display: none;
}

.erpel-sourcing-section-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  user-select: none;
}

.erpel-sourcing-section-disclosure .erpel-sourcing-section-caret {
  transition: transform 0.15s ease;
}

.erpel-sourcing-section-disclosure[open] .erpel-sourcing-section-caret {
  transform: rotate(180deg);
}

.erpel-sourcing-summary-details-body {
  border-top: 1px solid var(--erpel-border);
  line-height: 1.4;
}

.erpel-sourcing-summary-grid {
  display: grid;
  grid-template-columns: minmax(7.5rem, max-content) 1fr;
  row-gap: 0.35rem;
  column-gap: 0.75rem;
  align-items: baseline;
}

.erpel-sourcing-summary-label {
  color: var(--erpel-text-muted);
  font-weight: 500;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erpel-sourcing-summary-value {
  color: var(--erpel-text);
  min-width: 0;
}

#erpel-sourcing-summary-mpn,
.erpel-sourcing-table--supply td.erpel-sourcing-pn-cell,
.erpel-sourcing-table--supply tbody .erpel-sourcing-col-order-pn {
  font-family: var(--erpel-font-role-mpn);
}

.erpel-sourcing-mpn-candidates .button .has-text-weight-semibold {
  font-family: var(--erpel-font-role-mpn);
}

.erpel-sourcing-table--supply tbody .erpel-sourcing-col-price,
.erpel-sourcing-table--supply tbody .erpel-sourcing-col-stock,
.erpel-sourcing-table--supply tbody .erpel-sourcing-col-prev-price,
.erpel-sourcing-price,
.erpel-sourcing-tiers-table tbody td {
  font-family: var(--erpel-font-role-metric);
}

[data-erpel-eng-si-side] {
  font-family: var(--erpel-font-role-metric);
}

[data-erpel-design-item-current] {
  font-family: var(--erpel-font-role-id);
}

.erpel-sourcing-summary-header-row {
  gap: var(--erpel-space-2);
}

.erpel-sourcing-summary-line1 {
  flex: 1 1 auto;
  gap: var(--erpel-space-2);
  min-width: 0;
}

.erpel-sourcing-summary-actions {
  flex-shrink: 0;
  gap: var(--erpel-space-2);
}

.erpel-sourcing-summary-toggle {
  height: 1.5rem;
  pointer-events: none;
}

.erpel-sourcing-domain-line {
  gap: var(--erpel-space-1);
  white-space: nowrap;
}

.erpel-sourcing-doc-badges {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.erpel-sourcing-doc-flag-row {
  gap: 0.35rem;
}

/* Icon + title as hanging list: wrap stays in text column.
   Icon box = first line height → single- and multiline both align to line 1. */
.erpel-sourcing-doc-link-row {
  --erpel-sourcing-doc-line: 1.35;
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  column-gap: 0.4rem;
  align-items: start;
  width: 100%;
}

.erpel-sourcing-doc-format-icon {
  display: grid;
  place-items: center;
  align-self: start;
  width: 1.15rem;
  height: calc(1em * var(--erpel-sourcing-doc-line));
  margin: 0;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
}

.erpel-sourcing-doc-format-icon .mdi {
  display: block;
  font-size: 1.05rem;
  width: 1em;
  height: 1em;
  line-height: 1;
  text-align: center;
}

.erpel-sourcing-doc-format-icon .mdi::before {
  display: block;
  width: 1em;
  height: 1em;
  line-height: 1;
}

.erpel-sourcing-doc-link-text {
  min-width: 0;
  margin: 0;
  padding: 0;
  line-height: var(--erpel-sourcing-doc-line);
  overflow-wrap: anywhere;
  align-self: start;
}

.erpel-sourcing-table--docs .erpel-sourcing-col-check {
  width: 2.25rem;
}

.erpel-sourcing-table--docs .erpel-sourcing-col-type {
  line-height: 1.25;
  width: 7rem;
}

.erpel-sourcing-table--docs .erpel-sourcing-col-source {
  width: 14rem;
}

.erpel-sourcing-table--docs .erpel-sourcing-col-status {
  width: 16rem;
}

.erpel-sourcing-table--supply .erpel-sourcing-col-check {
  width: 2.25rem;
}

.erpel-sourcing-table--supply .erpel-sourcing-col-supplier {
  width: 7.5rem;
}

.erpel-sourcing-table--supply td.erpel-sourcing-pn-cell.erpel-sourcing-col-order-pn,
.erpel-sourcing-table--supply th.erpel-sourcing-col-order-pn {
  width: 9.5rem;
  max-width: 12rem;
  min-width: 0;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.erpel-sourcing-order-pn-link {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.2rem;
  max-width: 100%;
  min-width: 0;
}

.erpel-sourcing-order-pn-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.erpel-sourcing-order-pn-link > .icon {
  flex: 0 0 auto;
}

.erpel-sourcing-table--supply .erpel-sourcing-col-stock {
  width: 6.5rem;
}

/* Stock and price cells stack two lines (stock/price, lead time/tier tag):
   top-aligned with equal gaps so both lines line up across the cells. */
.erpel-sourcing-table--supply td.erpel-sourcing-stack-cell {
  vertical-align: top;
}

.erpel-sourcing-table--supply .erpel-sourcing-lead-time {
  background-color: transparent;
  padding-right: 0;
}

.erpel-sourcing-table--supply .erpel-sourcing-col-price {
  width: 11rem;
}

.erpel-sourcing-table--supply .erpel-sourcing-col-prev-price {
  width: 6rem;
}

.erpel-sourcing-table--supply .erpel-sourcing-col-updated {
  width: 8.5rem;
}

.erpel-sourcing-table--supply .erpel-sourcing-col-row-status {
  width: 8.5rem;
}

.erpel-sourcing-tiers-disclosure summary {
  cursor: pointer;
  list-style: none;
}

.erpel-sourcing-tiers-disclosure summary::-webkit-details-marker {
  display: none;
}

.erpel-sourcing-tiers-disclosure .erpel-sourcing-tiers-caret {
  transition: transform 0.15s ease;
}

.erpel-sourcing-tiers-disclosure[open] .erpel-sourcing-tiers-caret {
  transform: rotate(180deg);
}

.erpel-sourcing-tiers-table {
  background: transparent;
}

.erpel-sourcing-provider-footer {
  border-top: 1px solid var(--erpel-border);
}

.erpel-sourcing-modal-head {
  align-items: flex-start;
  gap: var(--erpel-space-3);
}

.erpel-sourcing-modal-head > .delete {
  /* Same visual row as the title, not vertically centered on title+badges. */
  align-self: flex-start;
  margin-top: 0.2rem;
}

.erpel-sourcing-modal-head-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-right: var(--erpel-space-2);
}

.erpel-sourcing-modal-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0 !important;
  min-height: 1.5rem;
}

.erpel-sourcing-provider-activity {
  min-height: 0;
}

.erpel-sourcing-provider-activity:empty {
  display: none;
}

.erpel-sourcing-provider-activity .erpel-sourcing-provider-activity-tags {
  margin-bottom: 0 !important;
}

.erpel-sourcing-provider-activity-tags {
  gap: var(--erpel-space-3);
  row-gap: var(--erpel-space-3);
  padding: 0.15rem 1.1rem 0.55rem 0;
}

.erpel-sourcing-progress:empty {
  display: none;
}

.erpel-sourcing-provider-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: auto;
  max-width: none;
  min-width: 1.85rem;
  min-height: 1.85rem;
  padding: 0.35rem 0.45rem !important;
  overflow: visible;
}

.erpel-sourcing-provider-logo {
  width: auto;
  height: 16px;
  max-width: 4.5rem;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}

.erpel-sourcing-provider-label {
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
}

.erpel-sourcing-provider-tag-corners {
  position: absolute;
  left: calc(100% - 0.7rem);
  bottom: -0.45rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.12rem;
  z-index: 1;
  pointer-events: none;
}

.erpel-sourcing-status-corner {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: none;
  background: var(--erpel-white);
  box-shadow: 0 1px 3px var(--erpel-black-a18);
  line-height: 0;
  flex-shrink: 0;
  pointer-events: auto;
}

.erpel-sourcing-status-corner .mdi {
  display: block;
  font-size: 0.82rem;
  width: 1em;
  height: 1em;
  line-height: 1;
  text-align: center;
  margin: 0;
  padding: 0;
}

.erpel-sourcing-status-corner .mdi::before {
  display: block;
  width: 1em;
  height: 1em;
  line-height: 1;
  margin: 0;
}

.erpel-sourcing-status-corner--live {
  color: var(--erpel-success, #257942);
}

.erpel-sourcing-status-corner--cache {
  color: var(--erpel-info, #3e8ed0);
}

.erpel-sourcing-status-corner--error {
  color: var(--erpel-danger, #cc0f35);
}

.erpel-sourcing-status-corner--skipped {
  color: var(--erpel-text-muted, #7a7a7a);
}

.erpel-sourcing-status-corner--running {
  color: var(--erpel-info, #3e8ed0);
}

.erpel-sourcing-status-corner--stale {
  color: var(--erpel-warning-text-strong);
}

.erpel-sourcing-status-corner--quota {
  color: var(--erpel-warning-text-strong);
}

.erpel-sourcing-status-corner--mock {
  color: var(--erpel-text-muted);
}

.erpel-sourcing-status-corner--paused {
  color: var(--erpel-warning-text-strong);
}

.erpel-sourcing-provider-tag--skipped {
  opacity: 0.85;
  background-color: var(--erpel-surface-muted, #f5f5f5);
}

.erpel-sourcing-provider-tag--running {
  font-weight: 500;
}

.erpel-sourcing-provider-tag--pending {
  opacity: 0.65;
}

.erpel-sourcing-nested-tag {
  height: 1.4em;
  padding: 0 var(--erpel-space-2);
  margin-left: 0.15rem;
}

/* Status badges on „URLs vergleichen“: first at top-right corner,
   further badges extend outward to the right. */
.erpel-sourcing-url-compare-btn {
  position: relative;
  overflow: visible;
  margin-right: 1.4rem;
}

.erpel-sourcing-url-compare-btn-badges {
  position: absolute;
  top: -0.4rem;
  left: calc(100% - 0.75rem);
  right: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.15rem;
  z-index: 1;
  pointer-events: none;
}

.erpel-sourcing-doc-status-badge {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: none;
  color: var(--erpel-white);
  line-height: 0;
  box-shadow: 0 1px 3px var(--erpel-black-a18);
  pointer-events: auto;
  flex-shrink: 0;
}

.erpel-sourcing-doc-status-badge .mdi {
  display: block;
  font-size: 0.8rem;
  width: 1em;
  height: 1em;
  line-height: 1;
  text-align: center;
}

.erpel-sourcing-doc-status-badge .mdi::before {
  display: block;
  width: 1em;
  height: 1em;
  line-height: 1;
}

.erpel-sourcing-doc-status-badge--mismatch {
  background: var(--erpel-warning, #ffe08a);
  color: var(--erpel-warning-on-warning);
}

.erpel-sourcing-doc-status-badge--broken {
  background: var(--erpel-danger, #cc0f35);
}

#erpel-sourcing-results-container.htmx-request {
  filter: grayscale(0.5);
  opacity: 0.35;
  pointer-events: none;
  position: relative;
}

.erpel-sourcing-mpn-candidates .button.is-active {
  background-color: var(--bulma-info, #3e8ed0);
  border-color: transparent;
  color: var(--erpel-white);
}

.erpel-sourcing-mpn-candidates .button.is-active .tag {
  background-color: var(--erpel-white-a25);
  color: var(--erpel-white);
}

.erpel-sourcing-mpn-candidates .button.is-active .has-text-grey,
.erpel-sourcing-mpn-candidates .button.is-active .has-text-grey-dark {
  color: var(--erpel-white-a92) !important;
}

.erpel-sourcing-mpn-candidates .button .erpel-sourcing-mpn-check.is-hidden {
  display: none;
}

.erpel-url-compare-details summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
}

.erpel-url-compare-details summary::-webkit-details-marker {
  display: none;
}

.erpel-url-compare-box {
  margin-top: 0.35rem;
  padding: 0.4rem 0.5rem;
  background: var(--erpel-gray-30);
  border: 1px solid var(--erpel-gray-180);
  border-radius: var(--erpel-radius);
  font-size: 0.75rem;
  line-height: 1.35;
}
