/* "Find a Provider" popup. Same palette and type as the page: Proza Libre headings, Work Sans text,
   teal #3b827d, navy #161e2a, coral #d85f4e, sage #c2cccb, light #f5f5f5. */
.finder-dialog {
  width: min(1180px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0; border: 0; border-radius: 4px;
  background: #ffffff; color: #3a4250;
  box-shadow: 0 24px 64px rgba(22, 30, 42, .28);
  overflow: auto;
}
.finder-dialog::backdrop { background: rgba(22, 30, 42, .6); }
.finder-dialog[open] { animation: finder-in .18s ease-out; }
@keyframes finder-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.finder { position: relative; padding: 44px 48px 48px; display: flex; flex-direction: column; gap: 28px; }
.finder-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; background: none;
  color: #161e2a; font: 400 30px/1 'Work Sans', sans-serif; cursor: pointer; border-radius: 2px;
}
.finder-close:hover { background: #f5f5f5; }
.finder-close:focus-visible, .finder-submit:focus-visible, .finder-copy:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; box-shadow: 0 0 0 4px #3b827d; }

.finder-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.finder-eyebrow { margin: 0; font: 600 14px/16px 'Work Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #3b827d; }
.finder-title { margin: 0; font: 400 40px/48px 'Proza Libre', sans-serif; color: #161e2a; }
.finder-lede { margin: 0; font: 400 17px/27px 'Work Sans', sans-serif; }

.finder-search { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.finder-label { font: 600 14px/16px 'Work Sans', sans-serif; color: #161e2a; }
.finder-row { display: flex; gap: 12px; flex-wrap: wrap; }
.finder-input {
  width: 240px; font: 400 16px/24px 'Work Sans', sans-serif; color: #161e2a; background: #ffffff;
  border: 1px solid #c2cccb; border-radius: 2px; padding: 13px 16px; box-sizing: border-box;
}
.finder-input::placeholder { color: #85827a; }
.finder-input:focus { outline: none; border-color: #3b827d; box-shadow: 0 0 0 3px rgba(59, 130, 125, .2); }
.finder-input[aria-invalid="true"] { border-color: #d85f4e; }
.finder-submit {
  font: 700 16px/19px 'Work Sans', sans-serif; color: #ffffff; background: #3b827d;
  border: 0; border-radius: 2px; padding: 16px 28px; cursor: pointer;
}
.finder-submit:hover { background: #2f6b67; }
.finder-submit[disabled] { opacity: .6; cursor: wait; }
.finder-status { margin: 0; font: 600 14px/20px 'Work Sans', sans-serif; color: #d85f4e; }
.finder-status:empty { display: none; }

.finder-body { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: stretch; }
.finder-results { display: flex; flex-direction: column; gap: 16px; max-height: 560px; overflow: auto; }
.finder-results h3 { margin: 0; font: 600 14px/16px 'Work Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #3b827d; }
.finder-empty { background: #f5f5f5; border-radius: 4px; padding: 28px; font: 400 15px/24px 'Work Sans', sans-serif; }
.finder-empty p { margin: 0 0 12px; }
.finder-empty-title { font: 400 22px/28px 'Proza Libre', sans-serif !important; color: #161e2a; }
.finder-legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #161e2a; margin: 0 !important; }
.finder-legend-dot { width: 12px; height: 12px; border-radius: 50%; background: #3b827d; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #3b827d; margin-right: 2px; }
.finder-legend-star { color: #d85f4e; font-size: 18px; margin-left: 12px; }

.finder-card {
  background: #f5f5f5; border-left: 4px solid #3b827d; border-radius: 4px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 8px; font: 400 15px/22px 'Work Sans', sans-serif;
}
.finder-card.is-office { border-left-color: #d85f4e; }
.finder-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.finder-name { margin: 0; font: 400 22px/28px 'Proza Libre', sans-serif; color: #161e2a; }
.finder-distance { flex: none; font: 600 13px/16px 'Work Sans', sans-serif; color: #3b827d; white-space: nowrap; }
.finder-badge { align-self: flex-start; font: 700 11px/14px 'Work Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #ffffff; background: #d85f4e; border-radius: 2px; padding: 3px 8px; }
.finder-address { margin: 0; color: #3a4250; }
.finder-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.finder-line svg { width: 16px; height: 16px; fill: #3b827d; flex: none; }
.finder-line a { color: #2f6b67; font-weight: 600; text-decoration: none; }
.finder-line a:hover { text-decoration: underline; }
.finder-copy {
  font: 600 12px/16px 'Work Sans', sans-serif; color: #2f6b67; background: #ffffff; border: 1px solid #c2cccb;
  border-radius: 2px; padding: 3px 10px; cursor: pointer;
}
.finder-copy:hover { border-color: #3b827d; }

.finder-map-wrap { position: relative; min-height: 560px; border-radius: 4px; overflow: hidden; background: #e9eeed; }
.finder-map { position: absolute; inset: 0; }
.finder-map-msg {
  position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 32px; font: 400 16px/24px 'Work Sans', sans-serif; color: #161e2a; background: #e9eeed;
}
.finder-map-msg[hidden] { display: none; }
/* Google info window */
.finder-iw { font: 400 14px/20px 'Work Sans', sans-serif; color: #3a4250; max-width: 260px; display: flex; flex-direction: column; gap: 6px; }
.finder-iw .finder-name { font-size: 18px; line-height: 24px; }

@media (max-width: 900px) {
  .finder { padding: 40px 20px 24px; gap: 20px; }
  .finder-title { font-size: 32px; line-height: 40px; }
  .finder-body { grid-template-columns: 1fr; }
  .finder-results { max-height: none; overflow: visible; }
  .finder-map-wrap { min-height: 340px; order: -1; }
  .finder-input { flex: 1 1 160px; width: auto; }
}
