/* MDI Find Tests v0.5 — patient-first discovery workspace */
.find-hero {
  border-bottom: 1px solid #e4ebf2;
  background:
    radial-gradient(circle at 85% 10%, rgba(29,132,235,.12), transparent 270px),
    radial-gradient(circle at 72% 72%, rgba(27,169,181,.09), transparent 240px),
    linear-gradient(135deg,#fbfdff,#f2f8fd);
}
.find-hero-inner {
  padding: 46px 0 35px;
  max-width: 1180px;
}
.find-hero h1 {
  max-width: 760px;
  margin: 7px 0 12px;
  color: #08234c;
  font-family: Georgia,'Times New Roman',serif;
  font-size: clamp(40px,4.7vw,58px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.045em;
}
.find-hero p {
  max-width: 770px;
  margin: 0;
  color: #526b85;
  font-size: 14px;
  line-height: 1.6;
}
.find-search-form {
  display: flex;
  align-items: center;
  max-width: 760px;
  height: 50px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #cad9e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(27,67,110,.08);
}
.find-search-form > span { display: grid; place-items: center; padding-left: 15px; color: #5f7895; }
.find-search-form input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  border: 0;
  outline: 0;
  color: #173a63;
  background: transparent;
  font: inherit;
  font-size: 13px;
}
.find-search-form input::placeholder { color: #8b9caf; }
.find-search-form button {
  align-self: stretch;
  padding: 0 26px;
  border: 0;
  background: linear-gradient(135deg,#0c4faa,#0b72eb);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.find-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 10px;
}
.find-quick-links > span { color: #74869a; font-weight: 700; margin-right: 2px; }
.find-quick-links a {
  padding: 5px 9px;
  border: 1px solid #d8e5f0;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: #406181;
}
.find-quick-links a:hover { border-color: #a9caed; color: #0d63cf; }

.find-workspace {
  display: grid;
  grid-template-columns: 245px minmax(0,1fr);
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 24px;
}
.find-filter-panel {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 17px;
  border: 1px solid #dfe7ef;
  border-radius: 14px;
  background: #fbfdff;
  box-shadow: 0 8px 24px rgba(24,60,100,.035);
}
.find-filter-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6edf3;
}
.find-filter-heading > div { display: flex; align-items: center; gap: 8px; }
.find-filter-heading svg { color: #1267d7; }
.find-filter-heading strong { color: #17385f; font-size: 12px; }
.find-filter-heading .text-link { text-align: right; font-size: 9px; line-height: 1.3; }
.find-filter-panel > label,
.find-advanced-fields label {
  display: block;
  margin-top: 13px;
}
.find-filter-panel label > span {
  display: block;
  margin-bottom: 5px;
  color: #566f89;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .025em;
}
.find-filter-panel select {
  width: 100%;
  min-height: 38px;
  padding: 7px 30px 7px 9px;
  border: 1px solid #d6e1eb;
  border-radius: 8px;
  background: #fff;
  color: #254663;
  font-size: 10.5px;
}
.find-advanced {
  margin-top: 14px;
  border-top: 1px solid #e5ecf2;
  border-bottom: 1px solid #e5ecf2;
  padding: 10px 0 11px;
}
.find-advanced summary {
  color: #2d5378;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.find-advanced-fields { padding-top: 2px; }
.find-apply { width: 100%; margin-top: 14px; justify-content: center; }
.find-reset { display: block; margin-top: 10px; color: #5c748e; text-align: center; font-size: 9.5px; }
.find-reset:hover { color: #145fc9; text-decoration: underline; }

.find-results { min-width: 0; }
.find-results-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 13px;
}
.find-results-heading h2 {
  margin: 3px 0 2px;
  color: #0b2a55;
  font-family: Georgia,'Times New Roman',serif;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -.025em;
}
.find-results-heading p { margin: 0; color: #718399; font-size: 10px; }
.find-result-count {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 38px;
  border: 1px solid #dce6ef;
  border-radius: 10px;
  background: #f8fbfe;
  color: #46627f;
  font-size: 10px;
  font-weight: 800;
}
.find-active-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #dce7f1;
  border-radius: 10px;
  background: #f8fbff;
}
.find-active-list { display: flex; gap: 7px; flex-wrap: wrap; }
.find-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid #d7e3ee;
  border-radius: 999px;
  background: #fff;
  color: #345778;
  font-size: 9px;
}
.find-active-filter small { color: #778da2; font-size: 8px; }
.find-clear { color: #1364cf; font-size: 9px; font-weight: 800; white-space: nowrap; }

.find-result-list { display: grid; gap: 12px; }
.find-result-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #dfe7f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(22,56,94,.035);
}
.find-result-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -45px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  opacity: .55;
  pointer-events: none;
}
.find-result-card--galleri { border-color: #e0d8f2; }
.find-result-card--galleri::before { background: radial-gradient(circle at 42% 42%,rgba(139,99,232,.22),transparent 64%); }
.find-result-card--shield { border-color: #d6e9eb; }
.find-result-card--shield::before { background: radial-gradient(circle at 42% 42%,rgba(20,169,180,.19),transparent 64%); }
.find-result-card--oncoguard-liver { border-color: #eeddd1; }
.find-result-card--oncoguard-liver::before { background: radial-gradient(circle at 42% 42%,rgba(242,138,69,.19),transparent 64%); }
.find-result-main {
  position: relative;
  z-index: 1;
  padding: 18px 20px 13px;
}
.find-result-heading { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.find-result-heading small { color: #75869a; font-size: 9px; font-weight: 800; }
.find-result-heading h2 {
  margin: 3px 0 0;
  color: #0c2b55;
  font-family: Georgia,'Times New Roman',serif;
  font-size: 25px;
  font-weight: 500;
}
.find-purpose-tag {
  max-width: 160px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef4fa;
  color: #4b6783;
  text-align: center;
  font-size: 8.5px;
  font-weight: 800;
}
.find-result-card--galleri .find-purpose-tag { background: #f1eaff; color: #7353c5; }
.find-result-card--shield .find-purpose-tag { background: #e8f8f8; color: #167f88; }
.find-result-card--oncoguard-liver .find-purpose-tag { background: #fff0e5; color: #c86a33; }
.find-purpose { max-width: 710px; margin: 10px 0 11px; color: #526a83; font-size: 11.5px; line-height: 1.55; }
.find-who {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 760px;
  padding: 10px 12px;
  border: 1px solid #e6edf3;
  border-radius: 9px;
  background: rgba(248,251,254,.9);
}
.find-who > span { flex: 0 0 auto; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #eaf4ff; color: #1268d6; }
.find-who small { display: block; color: #76899d; font-size: 8px; text-transform: uppercase; font-weight: 800; }
.find-who strong { display: block; margin-top: 2px; color: #264766; font-size: 10.5px; line-height: 1.45; }
.find-result-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid #e7edf3;
  border-bottom: 1px solid #e7edf3;
  background: rgba(250,252,254,.76);
}
.find-result-facts > div { min-height: 69px; padding: 11px 14px; border-right: 1px solid #e7edf3; }
.find-result-facts > div:last-child { border-right: 0; }
.find-result-facts small { display: block; color: #8392a4; font-size: 8px; text-transform: uppercase; font-weight: 800; }
.find-result-facts strong { display: block; margin-top: 5px; color: #1e3f63; font-size: 10.5px; line-height: 1.35; }
.find-fda { padding-left: 9px; position: relative; }
.find-fda::before { content: ''; position: absolute; left: 0; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: #7f91a5; }
.find-fda--approved { color: #17664a !important; }
.find-fda--approved::before { background: #1b8a61; }
.find-fda--review { color: #845f15 !important; }
.find-fda--review::before { background: #d49b2e; }
.find-fda--not-authorized { color: #8b4d3f !important; }
.find-fda--not-authorized::before { background: #c87562; }
.find-result-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 10px 14px 10px 20px;
}
.find-result-footer > div { display: flex; gap: 16px; color: #647b92; font-size: 9.5px; }
.find-result-footer > div span + span::before { content: '·'; margin-right: 16px; color: #9cadbd; }
.find-view-button { padding: 9px 13px; font-size: 9.5px; }

.find-empty {
  padding: 40px 24px;
  border: 1px dashed #cfdce8;
  border-radius: 14px;
  background: #fafcff;
  text-align: center;
}
.find-empty > span { color: #2472d5; }
.find-empty h3 { margin: 11px 0 5px; color: #17395f; font-size: 15px; }
.find-empty p { max-width: 520px; margin: 0 auto 16px; color: #6a7e94; font-size: 10.5px; }
.find-safety-note {
  display: flex;
  gap: 11px;
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid #d5e3f0;
  border-radius: 11px;
  background: #f7fbff;
}
.find-safety-note > span { flex: 0 0 auto; color: #176bd7; }
.find-safety-note strong { display: block; color: #1a3d65; font-size: 10.5px; }
.find-safety-note p { margin: 3px 0 0; color: #617890; font-size: 9.5px; line-height: 1.5; }

@media (max-width: 980px) {
  .find-workspace { grid-template-columns: 210px minmax(0,1fr); gap: 18px; }
  .find-result-facts { grid-template-columns: 1fr 1fr; }
  .find-result-facts > div:nth-child(2) { border-right: 0; }
  .find-result-facts > div:nth-child(-n+2) { border-bottom: 1px solid #e7edf3; }
}

@media (max-width: 760px) {
  .find-hero-inner { padding: 34px 0 27px; }
  .find-hero h1 { font-size: 39px; }
  .find-hero p { font-size: 12.5px; }
  .find-search-form { height: 48px; }
  .find-search-form button { padding: 0 16px; }
  .find-workspace { grid-template-columns: 1fr; padding-top: 18px; }
  .find-filter-panel { position: static; padding: 14px; }
  .find-filter-heading { align-items: center; }
  .find-filter-panel > label { display: inline-block; width: calc(50% - 5px); vertical-align: top; }
  .find-filter-panel > label:nth-of-type(even) { margin-left: 6px; }
  .find-advanced-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
  .find-results-heading h2 { font-size: 25px; }
  .find-result-heading { display: block; }
  .find-purpose-tag { display: inline-block; margin-top: 8px; }
  .find-result-facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .find-hero h1 { font-size: 34px; }
  .find-search-form { display: grid; grid-template-columns: 34px 1fr; height: auto; }
  .find-search-form input { height: 48px; }
  .find-search-form button { grid-column: 1 / -1; height: 43px; }
  .find-quick-links > span { width: 100%; }
  .find-filter-panel > label { display: block; width: 100%; margin-left: 0 !important; }
  .find-advanced-fields { grid-template-columns: 1fr; }
  .find-results-heading { align-items: flex-start; }
  .find-results-heading h2 { font-size: 23px; }
  .find-result-count { width: 48px; height: 34px; }
  .find-result-main { padding: 16px 15px 12px; }
  .find-result-heading h2 { font-size: 23px; }
  .find-purpose { font-size: 11px; }
  .find-result-facts { grid-template-columns: 1fr; }
  .find-result-facts > div { min-height: 58px; border-right: 0; border-bottom: 1px solid #e7edf3; }
  .find-result-facts > div:last-child { border-bottom: 0; }
  .find-result-footer { align-items: flex-start; flex-direction: column; padding: 12px 15px 14px; }
  .find-view-button { width: 100%; justify-content: center; }
  .find-active-row { align-items: flex-start; }
}
