/* One uninterrupted field, with native Enter/keyboard submission. */
.mpn-search {
  --mpn-accent: #027390;
  --mpn-ink: #173f4c;
  --mpn-error: #a13d3d;
  position: relative;
  width: min(920px, 100%);
  margin: 24px auto 0;
  padding: 0;
  color: var(--mpn-ink);
  font-family: 'Manrope', Arial, sans-serif;
}
.mpn-search-control {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 72px;
  padding: 0 26px;
  border: 1px solid #e1ecef;
  border-radius: 999px;
  background: #f5f9fa;
  box-shadow: 0 4px 20px -14px rgb(10 60 75 / 17%);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.mpn-search-leading { display: flex; flex: none; align-items: center; color: #587e8b; pointer-events: none; transition: color 180ms ease; }
.mpn-search input {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  min-height: 70px;
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mpn-ink);
  font: 500 18px/1.5 'Manrope', Arial, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.015em;
  caret-color: var(--mpn-accent);
}
.mpn-search input::placeholder { color: #58717b; font-weight: 400; opacity: 1; }
.mpn-search input:focus { outline: none; }
.mpn-search input::-webkit-search-cancel-button, .mpn-search input::-webkit-search-decoration { -webkit-appearance: none; }
.mpn-search-enter { display: inline-flex; flex: none; align-items: center; gap: 9px; color: #687f89; font-size: 11px; font-weight: 500; letter-spacing: .015em; user-select: none; pointer-events: none; }
.mpn-search-enter > span { font-size: 19px; line-height: 1; }
.mpn-search-control:focus-within {
  border-color: #71acbc;
  background: #fff;
  box-shadow: 0 0 0 4px rgb(2 115 144 / 7%), 0 10px 28px -16px rgb(10 60 75 / 16%);
}
.mpn-search-control:focus-within .mpn-search-leading { color: var(--mpn-accent); }
@media (hover: hover) {
  .mpn-search-control:hover:not(:focus-within) { background: #f0f6f8; border-color: #cbdfe5; }
}
.mpn-search[aria-busy='true'] .mpn-search-control { opacity: .7; }
.mpn-search-help { margin: 11px 12px 0; color: #637b84; font-size: 11px; line-height: 1.6; text-align: center; }
.mpn-search-mobile-help { display: none; }
.mpn-search-control[data-invalid='true'] { border-color: var(--mpn-error); }
.mpn-search-control[data-invalid='true']:focus-within { box-shadow: 0 0 0 4px rgb(161 61 61 / 8%); }
.mpn-search-error { margin: 10px 16px 0; color: var(--mpn-error); font-size: 12px; line-height: 1.6; text-align: center; }
.mpn-search-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.mpn-search-result { margin:20px auto 0; padding:16px 20px; border:1px solid #dce8ec; border-radius:12px; background:#fff; color:var(--mpn-ink); text-align:center; font-size:13px; }
.mpn-search-result p { margin:0; overflow-wrap:anywhere; }
.mpn-search-result a { display:inline-flex; align-items:center; min-height:44px; margin-top:4px; color:var(--mpn-accent); font-weight:600; text-decoration:underline; text-underline-offset:5px; }
.mpn-search--compact { max-width:660px; }
@media (max-width: 600px) {
  .mpn-search { margin-top: 20px; }
  .mpn-search-control { min-height: 64px; gap: 12px; padding-inline: 19px; }
  .mpn-search input { min-height: 62px; padding-block: 16px; font-size: 16px; }
  .mpn-search-leading svg { width: 19px; height: 19px; }
  .mpn-search-enter { display: none; }
}
@media (hover: none) and (pointer: coarse) {
  .mpn-search-desktop-help, .mpn-search-enter { display: none; }
  .mpn-search-mobile-help { display: inline; }
}
@media (min-width: 761px) and (max-height: 750px) {
  .mpn-search { margin-top: 16px; }
  .mpn-search-control { min-height: 66px; }
  .mpn-search input { min-height: 64px; padding-block: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .mpn-search * { transition: none !important; }
}
@media (forced-colors: active) {
  .mpn-search-control { background: Canvas; border-color: CanvasText; }
  .mpn-search input, .mpn-search input::placeholder, .mpn-search-leading, .mpn-search-enter { color: CanvasText; }
  .mpn-search-control:focus-within { outline: 2px solid Highlight; outline-offset: 2px; }
  .mpn-search-control[data-invalid='true'] { border-style: dashed; }
}
