.eda-map,
.eda-form,
.eda-questionnaire {
  color: #14324a;
  font-family: inherit;
}

.eda-map {
  border: 1px solid #d9e3e8;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 59, 88, .09);
  overflow: hidden;
}

.eda-map-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(320px, 1.3fr);
  gap: 2rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: #edf5fa;
}

.eda-map-kicker {
  margin: 0 0 .3rem;
  color: #0b6f7d;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eda-map-toolbar p { margin: 0; }
.eda-map-toolbar label { display: block; margin-bottom: .45rem; font-weight: 750; }
.eda-map-toolbar form > div { display: flex; gap: .65rem; }
.eda-map input,
.eda-form input,
.eda-form select,
.eda-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #b9cbd5;
  border-radius: 12px;
  background: #fff;
  color: #14324a;
  font: inherit;
  padding: .85rem 1rem;
}

.eda-map button,
.eda-form button,
.eda-questionnaire button {
  border: 0;
  border-radius: 999px;
  background: #f97861;
  color: #082b47;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: .85rem 1.25rem;
}

.eda-map-status { min-height: 1.5rem; margin: 0; padding: .7rem clamp(1.4rem, 3vw, 2.4rem); font-weight: 700; }
.eda-map-layout { display: grid; grid-template-columns: minmax(320px, 1.1fr) minmax(300px, .9fr); }
.eda-map-plot { min-height: 600px; padding: 1.5rem; background: #fcf8f0; }
.eda-map-plot svg { display: block; width: 100%; height: min(65vh, 620px); }
.eda-map-plot > p { margin: .5rem 0 0; color: #527084; font-size: .78rem; }
.eda-loire-shape { fill: #eaf0e5; stroke: #168fa0; stroke-width: 3; }
.eda-map-marker { cursor: pointer; }
.eda-map-marker circle { fill: #103e60; stroke: #fff; stroke-width: 3; transition: .2s ease; }
.eda-map-marker text { fill: #fff; font-size: 13px; font-weight: 800; pointer-events: none; }
.eda-map-marker.is-selected circle { fill: #f97861; r: 17px; }
.eda-map-user circle:first-child { fill: #f6b81a; stroke: #082b47; stroke-width: 2; }
.eda-map-user circle:last-child { fill: #082b47; }
.eda-map-panel { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 600px; }
.eda-map-panel article { padding: 1.7rem; border-bottom: 1px solid #d9e3e8; }
.eda-map-panel h3 { margin: .25rem 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.eda-map-panel address { margin: 1rem 0; font-style: normal; }
.eda-map-panel a { font-weight: 800; }
.eda-map-list { max-height: 440px; overflow: auto; }
.eda-map-list button { display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; width: 100%; padding: 1rem 1.2rem; border: 0; border-bottom: 1px solid #d9e3e8; border-radius: 0; background: #fff; color: #14324a; text-align: left; }
.eda-map-list button:hover,
.eda-map-list button.is-selected { background: #edf5fa; }
.eda-map-list button > span:first-child { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #103e60; color: #fff; font-weight: 800; }
.eda-map-list small { display: block; color: #527084; }

.eda-funders { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.eda-funders > div { display: grid; place-items: center; min-height: 105px; padding: 1rem; border: 1px solid #d9e3e8; border-radius: 18px; background: #fff; }
.eda-funders img { max-width: 100%; max-height: 76px; width: auto; height: auto; object-fit: contain; }

.eda-form { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid #d9e3e8; border-radius: 24px; background: #fff; }
.eda-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.eda-form label { display: grid; gap: .35rem; font-weight: 750; }
.eda-form textarea { resize: vertical; }
.eda-form button { justify-self: start; }
.eda-consent { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 500 !important; }
.eda-consent input { width: auto; margin-top: .3rem; }
.eda-honeypot { position: absolute; left: -9999px; }
.eda-form-note { margin: 0; color: #527084; font-size: .9rem; }
.eda-form-success,
.eda-form-error { padding: 1rem 1.2rem; border-radius: 12px; font-weight: 750; }
.eda-form-success { background: #eaf0e5; }
.eda-form-error { background: #fff0ed; }

.eda-questionnaire { padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid #d9e3e8; border-radius: 24px; background: #edf5fa; }
.eda-questionnaire fieldset { display: grid; gap: .9rem; border: 0; padding: 0; }
.eda-questionnaire legend { margin-bottom: 1rem; color: #082b47; font-size: 1.6rem; font-weight: 800; }
.eda-questionnaire label { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.eda-questionnaire-result { margin-top: 1rem; padding: 1rem; border-radius: 12px; background: #fff; }
.eda-questionnaire-result:empty { display: none; }

@media (max-width: 900px) {
  .eda-map-toolbar,
  .eda-map-layout { grid-template-columns: 1fr; }
  .eda-map-plot { min-height: 430px; }
  .eda-map-plot svg { height: 420px; }
  .eda-map-panel { min-height: auto; }
  .eda-funders { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .eda-map-toolbar form > div { flex-direction: column; }
  .eda-form-grid { grid-template-columns: 1fr; }
  .eda-funders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

