.download-template-r8 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pool-row-r8.is-empty small {
  color: #8b8b92;
}

.pool-row-r8.is-empty .track i {
  min-width: 0;
  background: #b8b8be;
}

.phone-line-r8 {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.phone-visibility-r8,
.copy-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  padding: 0;
  border: 1px solid #dedee3;
  border-radius: 8px;
  background: #f5f5f7;
  color: #4f4f55;
}

.phone-visibility-r8:hover,
.copy-phone:hover {
  background: #ececef;
  color: #171719;
}

.phone-visibility-r8 svg,
.copy-phone svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

.participant-detail-panel-r8 {
  grid-column: 1 / -1;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #fafafa;
  border-radius: 12px;
}

.participant-detail-panel-r8.is-open {
  display: grid;
}

.participant-detail-panel-r8 div {
  min-width: 0;
}

.participant-detail-panel-r8 small,
.participant-detail-panel-r8 b {
  display: block;
}

.participant-detail-panel-r8 small {
  color: var(--muted);
  font-size: 10px;
}

.participant-detail-panel-r8 b {
  margin-top: 5px;
  font-size: 12px;
}

.selection-status-r8 {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 6px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.selection-status-r8.status-swap-r8 {
  border-color: #f4c3ce;
  background: #fff0f3;
  color: #b8254a;
}

.selection-status-r8.status-confirm-r8 {
  border-color: #bce1c6;
  background: #eaf8ee;
  color: #176b34;
}

.selection-status-r8.status-pending-r8 {
  border-color: #ead18a;
  background: #fff7df;
  color: #775600;
}

#inventory-exchange .exchange-field {
  position: relative;
  gap: 6px;
}

#inventory-exchange .exchange-field select {
  width: 100%;
  min-width: 112px;
  height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid #d4d4da;
  border-radius: 12px;
  background-color: #fff;
  color: #171719;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(17, 17, 19, .02);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

#inventory-exchange .exchange-field select:hover:not(:disabled) {
  border-color: #9999a0;
  background-color: #fcfcfd;
}

#inventory-exchange .exchange-field select:focus-visible {
  outline: 3px solid rgba(11, 87, 208, .24);
  outline-offset: 2px;
  border-color: #0b57d0;
  box-shadow: 0 0 0 1px rgba(11, 87, 208, .08);
}

#inventory-exchange .exchange-field select:disabled {
  border-color: #e1e1e5;
  background: #f3f3f5;
  color: #8a8a91;
  cursor: not-allowed;
  opacity: 1;
}

@media (max-width: 900px) {
  .participant-detail-panel-r8 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
