/* 2026-11-13 owner: the real flood map on /cape-coral-flood-map/ (js/gen6-flood-map.js). Flood colors are the listing flood
   map's colors. Everything else uses the theme's ink, sky, text and sand values. */
.g6-flm { --flm-high: #ef4444; --flm-mid: #facc15; --flm-low: #10b981; background: #f4f9fd; padding: 72px 0 64px; }
.g6-flm-head { width: min(100% - 48px, 1320px); margin: 0 auto 28px; }
.g6-flm-head h2 { margin: 0 0 10px; color: #095e93; }
.g6-flm-head p { margin: 0; max-width: 52ch; color: #2c3e50; font: 400 18px/1.55 Manrope, sans-serif; }

.g6-flm-stage { scroll-margin-top: 110px; position: relative; width: min(100% - 48px, 1320px); height: min(760px, 78svh); min-height: 520px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #dde6ef; box-shadow: 0 4px 8px rgba(8, 17, 31, .08), 0 24px 56px rgba(8, 17, 31, .14); isolation: isolate; }
.g6-flm-map { position: absolute; inset: 0; z-index: 0; background: #dde6ef; }
.g6-flm-map .leaflet-control-attribution { font: 500 11px/1.4 Manrope, sans-serif; color: #56698a; background: rgba(255, 255, 255, .82); padding: 2px 8px; border-radius: 8px 0 0 0; }
.g6-flm-wait { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 3; margin: 0; padding: 12px 20px; border-radius: 999px; background: #fff; color: #095e93; font: 600 16px/1.3 Manrope, sans-serif; box-shadow: 0 2px 4px rgba(8, 17, 31, .07), 0 10px 26px rgba(8, 17, 31, .1); text-align: center; max-width: calc(100% - 48px); }
.g6-flm-wait.is-actionable { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; border-radius: 22px; padding: 10px 18px; width: max-content; }
.g6-flm-wait.is-actionable[hidden] { display: none; }
.g6-flm-retry { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: #095e93; color: #fff; font: 700 16px/1 Manrope, sans-serif; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.g6-flm-retry:active { background: #074a75; transform: scale(.97); }
.g6-flm-call { display: inline-flex; align-items: center; min-height: 44px; color: #095e93; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.g6-flm-wait[hidden] { display: none; }

.g6-flm-bar { position: absolute; z-index: 5; top: 16px; left: 16px; right: 84px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 12px; pointer-events: none; }
.g6-flm-bar > * { pointer-events: auto; }
.g6-flm-searchwrap { position: relative; }
.g6-flm-bar .g6-flm-searchwrap { flex: 0 1 380px; min-width: 260px; }
.g6-flm-search { display: flex; align-items: center; height: 48px; border: 1px solid #dde6ef; border-radius: 999px; background: #fff; box-shadow: 0 2px 4px rgba(8, 17, 31, .07), 0 10px 26px rgba(8, 17, 31, .1); overflow: hidden; }
.g6-flm-search input { flex: 1; min-width: 0; height: 100%; padding: 0 6px 0 20px; border: 0; background: transparent; color: #2c3e50; font: 500 16px/1 Manrope, sans-serif; outline: none; }
.g6-flm-search input::placeholder { color: #56698a; }
.g6-flm-search:focus-within { border-color: #2b80bb; box-shadow: 0 0 0 3px rgba(43, 128, 187, .28), 0 10px 26px rgba(8, 17, 31, .1); }
.g6-flm-search button { height: 44px; margin: 0 2px; padding: 0 18px; border: 0; border-radius: 999px; background: #095e93; color: #fff; font: 700 16px/1 Manrope, sans-serif; cursor: pointer; }
.g6-flm-suggest { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 4px 8px rgba(8, 17, 31, .08), 0 24px 56px rgba(8, 17, 31, .18); display: grid; }
.g6-flm-suggest[hidden] { display: none; }
.g6-flm-suggest-item { display: flex; align-items: center; min-height: 46px; padding: 6px 14px; border: 0; border-radius: 10px; background: none; color: #2c3e50; font: 500 16px/1.3 Manrope, sans-serif; text-align: left; cursor: pointer; }
.g6-flm-suggest-item:hover, .g6-flm-suggest-item.is-active, .g6-flm-suggest-item:focus-visible { background: #eaf4fc; color: #095e93; outline: none; }
.g6-flm-suggest-none { margin: 0; padding: 12px 14px; color: #56698a; font: 500 16px/1.45 Manrope, sans-serif; }
.g6-flm-top .g6-flm-searchwrap { max-width: 720px; }
.g6-flm-top .g6-fz-form button { background: #d2e4f5; color: #095e93; transition: background .12s; }
.g6-flm-top .g6-fz-form button:hover, .g6-flm-top .g6-fz-form button:focus-visible { background: #fff; color: #095e93; }
.g6-flm.top-search-on .g6-flm-bar .g6-flm-searchwrap { opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.g6-flm .g6-flm-bar .g6-flm-searchwrap { transition: opacity .2s; }
.g6-flm-top .g6-flm-suggest { text-align: left; }
.g6-flm-jump { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 420px; }
.g6-flm-read-bfe { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid #dde6ef; display: grid; gap: 4px; }
.g6-flm-read-bfe strong { color: #095e93; font: 700 16px/1.3 Manrope, sans-serif; }
.g6-flm-read-bfe span { color: #56698a; font: 400 16px/1.45 Manrope, sans-serif; }
.g6-flm-jump button, .g6-flm-move { min-height: 44px; padding: 0 16px; border: 1px solid #dde6ef; border-radius: 999px; background: #fff; color: #095e93; font: 600 16px/1 Manrope, sans-serif; cursor: pointer; box-shadow: 0 1px 2px rgba(8, 17, 31, .06), 0 2px 8px rgba(8, 17, 31, .06); }
.g6-flm-jump button[aria-pressed="true"], .g6-flm-move[aria-pressed="true"] { background: #095e93; border-color: #095e93; color: #fff; }
.g6-flm-zoom { position: absolute; z-index: 4; top: 16px; right: 16px; display: grid; gap: 8px; }
.g6-flm-zoom button { width: 48px; height: 48px; border: 1px solid #dde6ef; border-radius: 14px; background: #fff; color: #095e93; font: 500 26px/1 Manrope, sans-serif; cursor: pointer; box-shadow: 0 1px 2px rgba(8, 17, 31, .06), 0 2px 8px rgba(8, 17, 31, .06); }
.g6-flm-move { position: absolute; z-index: 4; right: 16px; top: 136px; }
.g6-flm-move[hidden] { display: none; }
.g6-flm button:focus-visible, .g6-flm a:focus-visible { outline: 3px solid #2b80bb; outline-offset: 2px; }

.g6-flm-read { position: absolute; z-index: 4; left: 16px; bottom: 28px; width: min(380px, calc(100% - 32px)); padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: 0 4px 8px rgba(8, 17, 31, .08), 0 24px 56px rgba(8, 17, 31, .14); }
.g6-flm-read p { margin: 0; }
.g6-flm-read-hint { color: #2c3e50; font: 500 16px/1.4 Manrope, sans-serif; }
.g6-flm-read-where { margin-bottom: 6px !important; color: #56698a; font: 600 13px/1.3 Manrope, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.g6-flm-read-zone { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; color: #095e93; font: 500 30px/1.1 "Cormorant Garamond", Georgia, serif; }
.g6-flm-read-zone i { width: 18px; height: 18px; border-radius: 50%; background: #b9c6d6; flex: none; }
.g6-flm-read-zone.is-high i { background: var(--flm-high); }
.g6-flm-read-zone.is-mid i { background: var(--flm-mid); }
.g6-flm-read-zone.is-low i { background: var(--flm-low); }
.g6-flm-read-zone strong { font-weight: 600; }
.g6-flm-read-zone span { color: #2c3e50; font: 600 16px/1.2 Manrope, sans-serif; }
.g6-flm-read-line { margin-top: 8px !important; color: #2c3e50; font: 400 16px/1.5 Manrope, sans-serif; }
.g6-flm-read-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 10px !important; }

.g6-flm-key { list-style: none; width: min(100% - 48px, 1320px); margin: 36px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.g6-flm-key li { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0; padding: 0; }
.g6-flm-key i { display: block; height: 10px; border-radius: 999px; }
.g6-flm-key .is-high i { background: var(--flm-high); }
.g6-flm-key .is-mid i { background: var(--flm-mid); }
.g6-flm-key .is-low i { background: var(--flm-low); }
.g6-flm-key strong { display: block; margin-bottom: 6px; color: #095e93; font: 500 26px/1.15 "Cormorant Garamond", Georgia, serif; }
.g6-flm-key span { display: block; color: #2c3e50; font: 400 16px/1.55 Manrope, sans-serif; }
.g6-flm-note, .g6-flm-more { width: min(100% - 48px, 1320px); margin: 28px auto 0; max-width: 1320px; color: #56698a; font: 400 16px/1.6 Manrope, sans-serif; }
.g6-flm-note a, .g6-flm-more a { color: #095e93; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.g6-flm-more { margin-top: 14px; color: #2c3e50; font-size: 16px; }
.g6-flm-more a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 14px; }

.g6-flm-read-more { display: none; }
.g6-flm-read-touch { display: none; }
@media (max-width: 760px) {
  /* 2026-11-13 phone map (owner: thumb reach, search first, a real sheet, fast). Order on a 390 screen: header, a compact strip with the
     H1 and its sentence, the address search, the map (area chips along its bottom, zoom and Move the map on the right in the bottom half,
     the result as a bottom sheet over the foot of the map), then the heading and the colour key. One finger scrolls the page; two fingers
     move and zoom the map; the Move the map button lets one finger move it (kept from before: it keeps the page scrollable). */
  body.g6-tool-flood main .g6-tool-open.g6-tool-open { height: 176px; min-height: 0; }
  body.g6-tool-flood .g6-tool-open__inner { padding: 12px 18px 10px; }
  body.g6-tool-flood .g6-tool-open__kicker { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  body.g6-tool-flood main .g6-tool-open h1 { font-size: clamp(22px, 6.6vw, 27px); line-height: 1.06; margin: 0 0 6px; }
  body.g6-tool-flood .g6-tool-open__lede { margin: 0; font-size: 16px; line-height: 1.35; }
  .g6-flm-top .g6-fz-in { padding: 12px 14px 14px; }
  .g6-flm-top .g6-fz-title { margin: 0 0 8px; font-size: 13px !important; }
  .g6-flm-top .g6-fz-form { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .g6-flm-top .g6-fz-form input { min-height: 48px; padding: 0 16px; }
  .g6-flm-top .g6-fz-form button { min-height: 48px; padding: 0 18px; background: #d2e4f5; color: #095e93; white-space: nowrap; transition: background .12s, transform .08s; }
  .g6-flm-top .g6-fz-form button:active { background: #fff; transform: scale(.97); }

  .g6-flm { display: flex; flex-direction: column; padding: 0 0 44px; }
  .g6-flm-stage { order: -2; position: relative; isolation: isolate; width: 100%; height: max(380px, calc(100svh - 60px - 176px - 104px - 77px - 24px)); min-height: 0; margin: 0; border-radius: 0; overflow: hidden; box-shadow: none; background: #dde6ef; display: block; scroll-margin-top: 68px; }
  .g6-flm-head { order: -1; width: calc(100% - 40px); margin: 26px auto 20px; }
  .g6-flm-head h2 { font-size: 28px; line-height: 1.1; }
  .g6-flm-head p { font-size: 16px; }
  .g6-flm-map { position: absolute; inset: 0; height: auto; min-height: 0; max-height: none; }
  .g6-flm-wait { top: 12px; z-index: 6; transform: translateX(-50%); max-width: calc(100% - 20px); text-align: center; line-height: 1.35; pointer-events: none; }
  .g6-flm:not(.has-read) .g6-flm-wait { top: 82px; } /* under the one-line hint until the first read */
  .g6-flm.is-failed .g6-flm-wait, .g6-flm-wait.is-actionable { pointer-events: auto; }

  /* the area chips: one row along the bottom of the map, 44px high, riding above the sheet */
  .g6-flm-bar { position: absolute; z-index: 5; left: 0; right: 0; top: auto; bottom: calc(var(--g6sh-covered, 0px) + 8px); display: block; padding: 0 0 4px; gap: 0; pointer-events: none; transition: bottom .22s cubic-bezier(.2,.8,.2,1); }
  .g6-flm-bar > * { pointer-events: auto; }
  .g6-flm-bar .g6-flm-searchwrap { display: none; }
  .g6-flm-jump { display: flex; flex: none; flex-wrap: nowrap; gap: 8px; padding: 0 10px 4px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .g6-flm-jump::-webkit-scrollbar { display: none; }
  .g6-flm-jump button { flex: none; min-height: 44px; padding: 0 16px; scroll-snap-align: start; white-space: nowrap; -webkit-tap-highlight-color: transparent; box-shadow: 0 2px 6px rgba(8,17,31,.12), 0 6px 16px rgba(8,17,31,.12); transition: background .12s, color .12s, transform .08s; }
  .g6-flm-jump button:active { transform: scale(.96); background: #eaf4fc; }
  .g6-flm-jump button[aria-pressed="true"]:active { background: #074a75; }
  /* zoom and Move the map: the right edge, bottom half, above the chip row */
  .g6-flm-zoom { top: auto; right: 10px; bottom: calc(var(--g6sh-covered, 0px) + 8px + 48px + 8px + 44px + 8px); transition: bottom .22s cubic-bezier(.2,.8,.2,1); }
  .g6-flm-zoom button { -webkit-tap-highlight-color: transparent; transition: background .12s, transform .08s; }
  .g6-flm-zoom button:active { background: #eaf4fc; transform: scale(.95); }
  .g6-flm-move { top: auto; right: 10px; bottom: calc(var(--g6sh-covered, 0px) + 8px + 48px + 8px); transition: bottom .22s cubic-bezier(.2,.8,.2,1), background .12s; box-shadow: 0 2px 6px rgba(8,17,31,.12), 0 6px 16px rgba(8,17,31,.12); }
  /* without JavaScript the map never starts: no dead chips, no dead buttons, only the sentence the page already carries in <noscript> */
  .g6-flm:not(.is-live) .g6-flm-bar, .g6-flm:not(.is-live) .g6-flm-zoom, .g6-flm:not(.is-live) .g6-flm-read { display: none; }
  .g6-flm-stage.is-full .g6-flm-bar, .g6-flm-stage.is-full .g6-flm-zoom, .g6-flm-stage.is-full .g6-flm-move { display: none; }

  /* before a first read: one hint line across the top of the map. After it, the sheet holds the answer and this card stays out of the way. */
  .g6-flm-read { top: 10px; bottom: auto; left: 10px; right: 10px; width: auto; padding: 10px 14px; border-radius: 16px; cursor: default; pointer-events: none; }
  .g6-flm-read-hint { font-size: 16px; line-height: 1.35; }
  .g6-flm-read-touch { display: inline; }
  .g6-flm.has-read .g6-flm-read { display: none; }
  .g6-flm-map .leaflet-control-attribution { display: none; }

  .g6-flm-key { grid-template-columns: 1fr; gap: 26px; margin-top: 32px; }
  .g6-flm-more a { margin: 0 14px 0 0; }
  .g6-flm-more { display: flex; flex-wrap: wrap; align-items: center; }
  .g6-flm-head, .g6-flm-key, .g6-flm-note, .g6-flm-more { width: calc(100% - 40px); }
  .g6-flm-key, .g6-flm-note, .g6-flm-more { order: 1; }

  /* the sheet content (the sheet itself is css/gen6-sheet.css) */
  .g6fm-where { margin: 0 0 6px; color: #56698a; font: 600 13px/1.3 Manrope, sans-serif; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .g6fm-answer { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; margin: 0; color: #095e93; }
  .g6fm-answer i { width: 18px; height: 18px; border-radius: 50%; background: #b9c6d6; flex: none; }
  .g6fm-answer.is-high i { background: var(--flm-high, #ef4444); }
  .g6fm-answer.is-mid i { background: var(--flm-mid, #facc15); }
  .g6fm-answer.is-low i { background: var(--flm-low, #10b981); }
  .g6fm-answer strong { font: 600 28px/1.1 "Cormorant Garamond", Georgia, serif; }
  .g6fm-answer span { color: #2c3e50; font: 700 16px/1.2 Manrope, sans-serif; }
  .g6fm-pending { color: #2c3e50; font: 600 16px/1.35 Manrope, sans-serif; }
  .g6fm-note { margin: 8px 0 0; color: #2c3e50; font: 400 16px/1.4 Manrope, sans-serif; }
  .g6fm-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin-top: 10px; }
  .g6sh .g6fm-row .g6sh-btn { min-height: 44px; padding: 0 22px; }
  .g6sh-body .g6fm-line { margin: 14px 0 0; font: 400 16px/1.5 Manrope, sans-serif; color: #2c3e50; }
  .g6fm-bfe { display: grid; gap: 4px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #f4f9fd; }
  .g6fm-bfe strong { color: #095e93; font: 700 16px/1.3 Manrope, sans-serif; }
  .g6fm-bfe span { color: #2c3e50; font: 400 16px/1.45 Manrope, sans-serif; }
  .g6fm-key { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .g6fm-key li { display: flex; align-items: center; gap: 10px; min-height: 36px; margin: 0; padding: 0 10px; border-radius: 10px; font: 400 16px/1.3 Manrope, sans-serif; color: #2c3e50; }
  .g6fm-key li.is-here { background: #eaf4fc; font-weight: 700; color: #095e93; }
  .g6fm-key i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
  .g6fm-key i.is-high { background: var(--flm-high, #ef4444); } .g6fm-key i.is-mid { background: var(--flm-mid, #facc15); } .g6fm-key i.is-low { background: var(--flm-low, #10b981); }
  .g6fm-actions { display: grid; gap: 10px; margin: 18px 0 4px; }
  .g6fm-actions .g6sh-btn { width: 100%; text-align: center; line-height: 1.2; padding: 10px 16px; }
  .g6-flm-stage .g6sh-body a.g6sh-btn:not(.g6sh-btn--fill) { color: #095e93; }
}
@media (min-width: 761px) { .g6-flm-stage .g6sh { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .g6-flm * { transition: none !important; } }
@media print { .g6-flm-jump, .g6-flm-zoom, .g6-flm-move { display: none !important; } }
