/* Scoped to the home finder; legacy calculator and interior pages are unaffected. */
.ph-root .ph-finder {
  padding: 26px;
}
.ph-root .ph-finder-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr auto;
  gap: 16px;
  align-items: end;
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  color: #122942;
}
.ph-root .ph-finder-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}
.ph-root .ph-finder-form :is(input, select) {
  width: 100%;
  height: 46px;
  padding: 8px 12px;
  border: 1px solid #cbd6e4;
  border-radius: 8px;
  background: #f8faff;
  color: #122942;
  font: inherit;
}
.ph-root .ph-finder-form input {
  direction: rtl;
}
.ph-root .ph-finder-form .ph-button {
  min-height: 46px;
  font-size: 12px;
}
.ph-root .ph-finder-help {
  grid-column: 1 / -1;
}
.ph-root .ph-finder-help output {
  font-size: 13px;
  font-weight: 800;
  color: #13395d;
}
.ph-root .ph-finder-help p {
  font-size: 12px;
  color: #52657c;
  margin-top: 6px;
}
.ph-root .ph-finder-help details {
  margin-top: 12px;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}
.ph-root .ph-finder-help summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.ph-root .ph-finder-help details label {
  margin-top: 14px;
  max-width: 390px;
}
.ph-root .ph-finder-explainer {
  font-size: 12px;
  color: #d2e1f1;
  margin-top: 16px;
}
.ph-root .ph-finder-explainer a {
  color: #ffda63;
  text-decoration: underline;
}
.ph-root .ph-finder-status {
  font-size: 13px;
  color: #fff;
  margin-top: 18px;
}
.ph-root .ph-finder-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.ph-root .ph-finder-results:empty {
  display: none;
}
.ph-root .ph-finder-card {
  padding: 16px;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  color: #122942;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ph-root .ph-finder-card-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ph-root .ph-finder-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #f3f6fa;
  border-radius: 8px;
}
.ph-root .ph-finder-card h3 {
  font-size: 18px;
}
.ph-root .ph-finder-brand {
  font-size: 11px;
  color: #6b7c92;
}
.ph-root .ph-finder-meta {
  font-size: 11px;
  color: #617187;
  overflow-wrap: anywhere;
}
.ph-root .ph-finder-card dl {
  margin: 12px 0;
}
.ph-root .ph-finder-card dl > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 9px 0;
  border-bottom: 1px solid #e8edf4;
  font-size: 11px;
}
.ph-root .ph-finder-card dt {
  font-weight: 400;
}
.ph-root .ph-finder-card dd {
  margin: 0;
  font-weight: 800;
}
.ph-root .ph-finder-card dl > div:nth-last-child(2) {
  color: #173c63;
  background: #fff6d8;
  padding-inline: 8px;
  border-radius: 6px;
}
.ph-root .ph-finder-difference {
  font-size: 11px;
  background: #eff4fa;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 12px;
}
.ph-root .ph-finder-card > .ph-button {
  margin-top: auto;
  font-size: 12px;
}
.ph-root .ph-finder-card > .ph-finder-meta {
  margin-bottom: 12px;
}
.ph-root .ph-hero-inner {
  min-height: 420px;
}
.ph-root .ph-why-cards {
  gap: 12px;
}
.ph-root .ph-why-cards h3 {
  font-size: 13px;
  line-height: 1.9;
}
@media (max-width: 1000px) {
  .ph-root .ph-finder-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ph-root .ph-finder-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .ph-root .ph-finder {
    padding: 18px 12px;
  }
  .ph-root .ph-finder-form {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
    gap: 14px;
  }
  .ph-root .ph-finder-results {
    grid-template-columns: minmax(0, 1fr);
  }
  .ph-root .ph-finder .ph-section-heading h2 {
    font-size: 22px;
  }
  .ph-root .ph-finder-card img {
    height: 175px;
  }
  .ph-root .ph-hero-inner {
    min-height: 400px;
  }
}
