/* ../../2026-10-08/in-app-browser-context-source-ambient/artifacts/hr-question-recycle-implementation/web/apps/web/src/legacy/app/modules/crm/opportunity-workspace.module.css */
.opportunity_controls31_root {
  display: flex;
  height: 100%;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  overflow-anchor: none;
  padding: 14px 18px 24px;
}
.opportunity_controls31_content {
  display: grid;
  min-height: 0;
  min-width: 0;
  flex: 1;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.opportunity_controls31_metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.opportunity_controls31_toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 12px;
}
.opportunity_controls31_searchField {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(480px, 100%);
  min-width: 0;
}
.opportunity_controls31_searchField input {
  min-width: 0;
  min-height: 32px;
  flex: 1;
}
.opportunity_controls31_searchField > span {
  flex-shrink: 0;
}
.opportunity_controls31_workspace {
  display: grid;
  min-height: 0;
  min-width: 0;
  grid-template-columns: minmax(260px, 28%) minmax(0, 1fr);
  gap: 10px;
}
.opportunity_controls31_listPane {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 12px;
  gap: 10px;
}
.opportunity_controls31_sectionHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}
.opportunity_controls31_sectionHeader h2,
.opportunity_controls31_sectionHeader h3,
.opportunity_controls31_sectionHeader h4,
.opportunity_controls31_relationRecord h5 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.opportunity_controls31_heading,
.opportunity_controls31_inline {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.opportunity_controls31_inline {
  overflow-wrap: anywhere;
}
.opportunity_controls31_heading svg,
.opportunity_controls31_inline svg,
.opportunity_controls31_sectionHeader h2 svg,
.opportunity_controls31_sectionHeader h3 svg,
.opportunity_controls31_sectionHeader h4 svg,
.opportunity_controls31_relationRecord h5 svg {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}
.opportunity_controls31_recordList {
  display: grid;
  min-height: 0;
  align-content: start;
  gap: 8px;
  overflow: auto;
  overscroll-behavior: contain;
  overflow-anchor: none;
  scrollbar-gutter: stable;
  padding: 2px;
}
.opportunity_controls31_recordButton {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 8px;
  padding: 10px;
  text-align: left;
  white-space: normal;
}
.opportunity_controls31_recordMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.opportunity_controls31_recordCounts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.opportunity_controls31_recordCounts > span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.opportunity_controls31_recordCounts svg {
  width: 1em;
  height: 1em;
}
.opportunity_controls31_detailPane {
  display: grid;
  min-width: 0;
  min-height: 0;
  align-content: start;
  gap: 10px;
  overflow: auto;
  overscroll-behavior: contain;
  overflow-anchor: none;
}
.opportunity_controls31_detailCard {
  padding: 14px;
  min-width: 0;
}
.opportunity_controls31_detailHeading {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.opportunity_controls31_tags {
  display: flex;
  min-width: 0;
  gap: 6px;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}
.opportunity_controls31_linkage {
  display: grid;
  min-width: 0;
  gap: 12px;
  padding: 14px;
}
.opportunity_controls31_linkageBody {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.opportunity_controls31_relationColumn {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 12px;
}
.opportunity_controls31_relationRecords {
  display: grid;
  gap: 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.opportunity_controls31_relationRecord {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.opportunity_controls31_relationRecord dl {
  margin: 0;
}
.opportunity_controls31_actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.opportunity_controls31_actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.opportunity_controls31_actions svg {
  width: 1.2em;
  height: 1.2em;
}
.opportunity_controls31_state {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 180px;
}
@media (max-width: 1200px) {
  .opportunity_controls31_linkageBody {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 950px) {
  .opportunity_controls31_root {
    height: auto;
    min-height: 100%;
    overflow: visible;
  }
  .opportunity_controls31_content {
    flex: none;
    grid-template-rows: auto;
  }
  .opportunity_controls31_workspace {
    grid-template-columns: 1fr;
  }
  .opportunity_controls31_recordList {
    max-height: 320px;
  }
  .opportunity_controls31_detailPane {
    overflow: visible;
  }
}
@media (max-width: 680px) {
  .opportunity_controls31_root {
    padding: 10px;
  }
  .opportunity_controls31_metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .opportunity_controls31_searchField {
    width: 100%;
  }
  .opportunity_controls31_detailCard,
  .opportunity_controls31_linkage,
  .opportunity_controls31_listPane {
    padding: 10px;
  }
  .opportunity_controls31_actions {
    justify-content: flex-start;
  }
}
