/* Activity and industry records use the opportunity detail layout. */
.opp-detail.record-detail,.record-index { min-height:100vh; }
.opp-detail.record-detail .opp-headline { min-width:0; }
.opp-detail.record-detail .opp-headline h1 {
  font-size:clamp(26px,2.4vw,37px);
  line-height:1.26;
}
.record-detail .record-tags a {
  padding:3px 11px;
  border-radius:14px;
  background:#153c2d;
  color:#d4efdb;
}
.record-detail .record-tags a:hover { background:#265b42; color:#f0fff2; }
.record-actions { flex-wrap:wrap; justify-content:flex-end; }
.record-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:6px 15px;
  border-radius:22px;
  background:#b6ed97;
  color:#193323;
  font-weight:700;
}
.record-action:hover { background:#d1f9b8; color:#13291c; }
.record-detail .record-action { white-space:nowrap; }
.record-detail .opp-facts { height:auto; }
.record-detail .opp-fact strong { display:block; overflow:visible; }
.record-detail .opp-detail-grid > div { min-width:0; }
.record-detail .opp-panel :is(h2,h3,p,li) { overflow-wrap:anywhere; }
.record-detail .opp-tabs a:focus-visible { outline-offset:-3px; }
.record-timeline li strong { color:#e3efe7; }
.record-detail .record-source-note { margin:9px 0; }
.record-directions,.record-links { list-style:none; padding:0; margin:0; }
:is(.record-directions,.record-links) li {
  display:flex;
  gap:8px;
  align-items:flex-start;
  margin:8px 0;
}
:is(.record-directions,.record-links) li img { flex:none; width:18px; height:18px; margin-top:2px; }
.record-links li small { display:block; color:#acc6b8; font-size:.8em; }
.record-links a:hover,.record-card h3 a:hover { color:#beef9c; }
.record-detail .opp-side .record-card-grid { grid-template-columns:minmax(0,1fr); }

.record-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.record-card {
  display:grid;
  grid-template-columns:clamp(76px,8vw,124px) minmax(0,1fr);
  gap:12px;
  min-width:0;
  padding:10px;
  border:1px solid #21463a;
  background:#08281f;
}
.record-card-image { display:block; align-self:start; }
.record-thumbnail { display:block; width:100%; height:auto; aspect-ratio:1.45; object-fit:cover; border-radius:6px; }
.record-card > div { min-width:0; overflow-wrap:anywhere; }
.record-card h3,.record-detail .opp-panel .record-card h3 {
  margin:3px 0;
  padding:0;
  border:0;
  font-size:16px;
}
.record-card h3 a { color:#e8f5ec; }
.record-card p,.record-detail .opp-panel .record-card p { margin:3px 0; color:#c6dbcf; font-size:14px; }
.record-card small { display:flex; align-items:flex-start; gap:5px; font-size:12px; }
.record-card small img { flex:none; width:15px; height:15px; }

.record-index {
  --radar-green:#b1ec96;
  color:#eef6ef;
  font:15px/1.5 "Microsoft YaHei","Noto Sans CJK SC",sans-serif;
}
.record-index main { max-width:1500px; width:calc(100% - 94px); padding:16px 0 48px; background:none; }
.record-index .crumbs { margin:3px 0 20px; }
.record-index-heading { display:flex; flex-wrap:wrap; gap:10px 24px; align-items:center; justify-content:space-between; margin:0 0 16px; }
.record-index-heading h1 { margin:0; font-size:clamp(27px,3vw,43px); }
.record-index-heading p { margin:0; color:#c1d6ca; }
.record-index .searchbar { margin:0 0 15px; }
.record-index .searchbar input { border-radius:20px; }
.record-index .searchbar button { border-radius:20px; }
.record-index .record-count { color:#b1ec96; }
.record-utility main { max-width:960px; }
.record-utility .request { margin-top:14px; }

@media(max-width:950px) {
  .record-detail .record-card-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:760px) {
  .opp-detail.record-detail .record-hero { align-items:start; }
  .opp-detail.record-detail .opp-headline h1 { font-size:22px; }
  .record-actions { justify-content:flex-start; }
  .record-actions .record-action { font-size:13px; min-height:35px; }
  .record-index main { width:94%; padding-top:9px; }
  .record-card-grid { grid-template-columns:minmax(0,1fr); }
}

/* Activity details use the opportunity table and pane proportions. */
.opp-detail.event-detail .opp-headline h1 { font-size:clamp(23px,2.5vw,40px); }
.opp-detail.event-detail .opp-detail-grid>div:first-child,
.opp-detail.record-detail.event-detail .opp-side .opp-panel { min-height:0; align-self:start; }
.opp-detail.event-detail .opp-side { align-content:start; }
.event-detail .opp-fact>div { min-width:0; }
.event-detail .opp-panel .event-direction-note { margin:0 0 9px; }
.event-detail .event-opportunity-table { table-layout:fixed; }
.event-detail .event-opportunity-table thead th:nth-child(1) { width:34%; }
.event-detail .event-opportunity-table thead th:nth-child(2) { width:38%; }
.event-detail .event-opportunity-table thead th:nth-child(3) { width:17%; }
.event-detail .event-opportunity-table thead th:nth-child(4) { width:11%; }
.event-detail .event-opportunity-table tbody th {
  background:transparent;
  color:#eff8ed;
  font-weight:650;
}
.event-detail .event-opportunity-table :is(th,td) { overflow-wrap:anywhere; vertical-align:top; }
.event-detail .event-opportunity-table a { color:inherit; text-decoration:none; }
.event-detail .event-opportunity-table a:hover { color:#b9eca6; }
.event-detail .event-milestones li { display:flex; justify-content:space-between; gap:10px; }
.event-detail .event-milestones li strong { color:#c9dacf; text-align:right; font-weight:500; }
@media(max-width:760px) {
  .opp-detail.event-detail .opp-headline h1 { font-size:22px; }
  .event-detail .event-opportunity-table thead th:nth-child(2) { width:34%; }
  .event-detail .event-opportunity-table thead th:nth-child(4) { width:15%; }
  .event-detail .event-opportunity-table :is(td,th) { font-size:12px; }
}


/* Saved opportunities */
.favorites-page main { width:calc(100% - 72px); max-width:1340px; padding-block:32px 56px; }
.favorites-heading { display:flex; align-items:end; justify-content:space-between; gap:12px 20px; margin-bottom:22px; }
.favorites-heading h1 { margin:0; font-size:clamp(30px,4vw,46px); line-height:1.16; }
.favorites-count { margin:5px 0 0; color:#a8c9b7; font-size:14px; }
.favorites-heading-actions { display:flex; gap:8px 14px; flex-wrap:wrap; align-items:center; justify-content:flex-end; }
.favorites-heading-actions #action-status { margin:0; color:#d6eed8; font-size:13px; }
.favorites-browse {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:40px; padding:5px 14px; border:1px solid #426653; border-radius:22px;
  background:#0a261e; color:#d6eed8; font-weight:650; white-space:nowrap;
}
.favorites-browse:hover { background:#163d2e; border-color:#639d76; color:#f0f9ed; }
.favorites-page [data-header-account][aria-current="page"] { color:#c5efa9; font-weight:700; }
.favorites-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.favorite-card {
  display:flex; flex-direction:column; gap:12px; min-width:0; padding:14px 14px 8px;
  border:1px solid #25493c; border-radius:14px; background:#0a261e;
}
.favorite-card:hover,.favorite-card:focus-within { border-color:#497b5d; }
.favorite-card-main { display:grid; grid-template-columns:88px minmax(0,1fr); gap:14px; align-items:start; flex:1; }
.favorite-card-image { display:block; border-radius:8px; }
.favorite-card-image .record-thumbnail { width:100%; height:94px; object-fit:cover; background:#15372b; border-radius:8px; }
.favorite-card-copy { min-width:0; overflow-wrap:anywhere; }
.favorite-card-copy h2 {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
  margin:0; font-size:clamp(16px,1.35vw,19px); line-height:1.35; font-weight:700;
}
.favorite-card-copy h2 a { color:#eef6ef; text-decoration:none; }
.favorite-card-copy h2 a:hover { color:#bae9a8; }
.favorite-card-copy h2 a:focus-visible { outline-offset:-3px; }
.favorite-card-summary,.favorite-card-window {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  overflow:hidden; margin:5px 0 0; color:#b7cfbf; font-size:13px; line-height:1.5;
}
.favorite-card-window {
  display:flex; align-items:center; gap:6px; margin-top:8px; color:#b9dda9; font-size:12px;
}
.favorite-card-window img { width:15px; height:15px; flex:none; }
.favorite-card-tools {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  padding-top:6px; border-top:1px solid #234438;
}
.favorite-deliver {
  display:inline-flex; align-items:center; min-height:38px; padding:4px 11px;
  border:1px solid #436e53; border-radius:8px; background:#183d2a;
  color:#d5efc6; font-size:13px; font-weight:650; white-space:nowrap; text-decoration:none;
}
.favorite-deliver:hover { border-color:#75ad7f; background:#245a3b; color:#f0f9eb; }
.favorite-card-note { margin-inline-start:auto; color:#c8dfc0; font-size:12px; text-align:right; }
.favorite-remove {
  display:grid; place-items:center; width:44px; height:44px; flex:none;
  padding:0; border:0; background:transparent;
}
.favorite-remove:disabled { cursor:wait; opacity:.65; }
.favorites-empty {
  display:flex; align-items:center; gap:16px; margin:0; padding:25px;
  border:1px solid #294b3f; border-radius:14px; background:#0a261e;
}
.favorites-empty h2 { margin:0; font-size:20px; }
.favorites-empty p { margin:4px 0 0; color:#b7cfbf; }
.favorites-empty>.favorites-browse { margin-inline-start:auto; }
.favorites-empty .record-action { margin-top:12px; border:0; }
.favorites-page :is(.favorites-grid,.favorites-empty,.pager)[hidden] { display:none; }

@media(max-width:1150px) {
  .favorites-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:720px) {
  .favorites-page main { width:calc(100% - 32px); padding-block:22px 40px; }
  .favorites-heading { align-items:start; margin-bottom:16px; }
  .favorites-heading-actions { flex-direction:column-reverse; align-items:flex-end; }
  .favorites-heading-actions #action-status { text-align:right; }
  .favorites-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .favorite-card { padding-inline:12px; }
  .favorite-card-main { grid-template-columns:76px minmax(0,1fr); gap:12px; }
  .favorite-card-image .record-thumbnail { height:82px; }
  .favorites-empty { align-items:flex-start; flex-wrap:wrap; padding:20px 16px; }
  .favorites-empty>.favorites-browse { margin-inline-start:43px; }
}
