.risk-detail-tabs {
  display: flex;
  gap: 6px;
  margin: -8px 0 18px;
  padding: 5px;
  border: 1px solid #dfe7f1;
  border-radius: 10px;
  background: #edf2f8;
  width: fit-content;
}

.risk-detail-tabs button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 132px;
  padding: 9px 15px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #65758a;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.risk-detail-tabs button.active {
  background: #fff;
  color: #1769e0;
  box-shadow: 0 2px 8px rgba(35, 63, 96, 0.12);
}

.risk-detail-tabs button span {
  padding: 3px 6px;
  border-radius: 12px;
  background: #e7f7f1;
  color: #168b73;
  font-size: 8px;
}

.share-live-badge {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #bde4d8;
  border-radius: 7px;
  background: #ebf8f4;
  color: #168b73;
  font-size: 10px;
  font-weight: 800;
}

.share-guide {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid #bed8f5;
  border-radius: 12px;
  background: linear-gradient(110deg, #f4f9ff, #fff);
}

.share-guide-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #1769e0;
  color: #fff;
  font-size: 22px;
}

.share-guide small {
  color: #1769e0;
  font-size: 9px;
  font-weight: 800;
}

.share-guide h3 {
  margin: 4px 0 6px;
  font-size: 15px;
}

.share-guide p {
  margin: 0;
  color: #6f7f92;
  font-size: 11px;
  line-height: 1.65;
}

.share-guide ol {
  display: flex;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.share-guide li {
  min-width: 105px;
  padding: 10px;
  border: 1px solid #e0e8f1;
  border-radius: 8px;
  background: #fff;
  color: #5b6d82;
  font-size: 9px;
  white-space: nowrap;
}

.share-guide li b {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  border-radius: 50%;
  background: #e7f0fd;
  color: #1769e0;
}

.share-toolbar {
  align-items: center;
  justify-content: space-between;
}

.share-toolbar b {
  font-size: 12px;
}

.share-toolbar span {
  color: #8795a6;
  font-size: 10px;
}

.table-link {
  border: 0;
  background: transparent;
  color: #1769e0;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.contractor-choice-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  padding: 12px;
  border-radius: 8px;
  background: #eff6ff;
  color: #426183;
  font-size: 10px;
}

.trade-choice-list {
  display: grid;
  gap: 8px;
  max-height: 340px;
  overflow: auto;
}

.trade-choice-list label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  cursor: pointer;
}

.trade-choice-list label:has(input:checked) {
  border-color: #6da4eb;
  background: #f4f8ff;
}

.trade-choice-list span b,
.trade-choice-list span {
  display: block;
}

.trade-choice-list span {
  color: #6f7d8e;
  font-size: 10px;
}

.trade-choice-list span b {
  margin-bottom: 3px;
  color: #24364a;
  font-size: 11px;
}

.trade-choice-list em {
  color: #1769e0;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 1150px) {
  .share-guide {
    grid-template-columns: auto 1fr;
  }

  .share-guide ol {
    grid-column: 1 / -1;
    overflow-x: auto;
  }
}

@media (max-width: 680px) {
  .risk-detail-tabs,
  .risk-detail-tabs button {
    width: 100%;
  }

  .share-guide {
    grid-template-columns: 1fr;
  }

  .share-guide-icon {
    display: none;
  }

  .share-guide ol {
    grid-column: auto;
  }
}
