.feeder-location-backdrop { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 1rem; background: rgb(7 19 38 / 48%); }
.feeder-location-dialog { box-sizing: border-box; display: flex; flex-direction: column; width: min(100%, 40rem); max-height: 92dvh; overflow: hidden; padding: 1.5rem; border: 1px solid #d9e2e6; border-radius: 12px; background: #fff; color: #183244; box-shadow: 0 20px 70px rgb(7 19 38 / 24%); font: 15px/1.5 system-ui, sans-serif; }
.feeder-location-dialog * { box-sizing: border-box; }
.fl-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.fl-heading h2 { margin: .2rem 0 .7rem; color: #183244; font-size: 1.4rem; line-height: 1.25; }
.fl-eyebrow { margin: 0; color: #526773; font-size: .75rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.feeder-location-dialog p { margin: 0 0 .7rem; }
.fl-feeder-name { color: #526773; overflow-wrap: anywhere; }
.fl-form { display: grid; gap: .8rem; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 3px; }
.fl-form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; color: #183244; }
.fl-form label span { font-weight: 400; color: #526773; }
.fl-form label .fl-field-title { font-weight: 600; color: #183244; }
.fl-form input, .fl-form select { width: 100%; min-height: 44px; padding: .55rem .7rem; border: 1px solid #aebec8; border-radius: 6px; font: inherit; color: #183244; background: #fff; }
.feeder-location-dialog button { min-height: 44px; padding: .55rem .9rem; border: 1px solid #aebec8; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; }
.feeder-location-dialog .fl-close { flex-shrink: 0; width: 44px; padding: 0; font-size: 1.6rem; background: transparent; color: #183244; border-color: transparent; }
.feeder-location-dialog .fl-locate, .feeder-location-dialog .fl-save { background: #087b8c; color: #fff; border-color: #087b8c; }
.feeder-location-dialog .fl-secondary { color: #244456; background: #fff; }
.feeder-location-dialog button:disabled { opacity: .6; cursor: wait; }
.feeder-location-dialog :focus-visible { outline: 3px solid #0783bb; outline-offset: 3px; }
.fl-form .fl-help { color: #526773; font-size: .79rem; margin: .35rem 0 0; }
.fl-help a { color: #08697b; text-decoration: underline; }
.fl-form .fl-location-status { color: #345566; font-size: .85rem; margin: 0; }
.fl-map { height: 220px; min-width: 0; overflow: hidden; border: 1px solid #c7d7df; border-radius: 6px; background: #e6eef1; }
.fl-map[hidden] { display: none; }
.fl-map .ol-zoom { top: .5rem; left: .5rem; }
.fl-map .ol-control button { padding: 0; width: 34px; height: 34px; min-height: 34px; background: #fff; color: #183244; border: 1px solid #b0c4cf; }
.fl-map .ol-attribution button { width: 24px; height: 24px; min-height: 24px; }
.fl-map .ol-attribution { max-width: calc(100% - .5rem); font-size: 10px; }
.fl-map .ol-attribution a { color: #183244; }
.fl-pin { width: 23px; height: 23px; margin-bottom: 4px; border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #087b8c; box-shadow: 0 1px 5px #183244; pointer-events: none; }
.fl-map-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.fl-map-actions button { font-size: .8rem; }
.fl-coordinates { border-top: 1px solid #d9e2e6; border-bottom: 1px solid #d9e2e6; padding: .8rem 0; }
.fl-coordinates summary { cursor: pointer; font-size: .88rem; font-weight: 600; }
.fl-coordinates .fl-label { margin-top: .8rem; }
.fl-coordinate-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .75rem; }
.fl-height { display: grid; grid-template-columns: minmax(0, 1fr) 7rem; gap: .75rem; align-items: end; }
.fl-form .fl-privacy { margin: 0; font-size: .8rem; color: #526773; }
.fl-form .fl-error { margin: 0; color: #a32525; font-size: .9rem; }
.fl-footer { flex-shrink: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; border-top: 1px solid #d9e2e6; margin-top: .8rem; padding-top: 1rem; }
@media (max-width: 480px) {
  .feeder-location-backdrop { padding: .5rem; }
  .feeder-location-dialog { padding: 1rem; max-height: 96dvh; }
  .fl-heading h2 { font-size: 1.2rem; }
  .fl-form input, .fl-form select { font-size: 16px; }
  .fl-map { height: 190px; }
  .fl-height { grid-template-columns: minmax(0, 1fr) 6rem; }
  .fl-footer button { flex: 1; }
}
