.bif-flood{--bif-blue:#15568b;--bif-ink:#172b40;box-sizing:border-box;background:#fff;color:var(--bif-ink);font:inherit;line-height:1.65;text-align:left;max-width:100%;isolation:isolate}
.bif-flood *{box-sizing:border-box}
.bif-flood h2,.bif-flood h3,.bif-flood p,.bif-flood ul{font-family:inherit;color:inherit;float:none;width:auto;letter-spacing:normal;text-transform:none}
.bif-flood h2{font-size:clamp(24px,3vw,34px);font-weight:750;line-height:1.35;margin:6px 0 14px}
.bif-flood h3{font-size:21px;font-weight:700;line-height:1.5;margin:26px 0 12px}
.bif-flood p{font-size:15px;line-height:1.7;margin:10px 0}
.bif-flood a{color:var(--bif-blue);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.bif-flood button,.bif-flood .bif-actions a{font:inherit;min-height:44px;padding:10px 16px;border-radius:8px;border:1px solid #cbd8e3;background:#fff;color:var(--bif-blue);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1.4;text-decoration:none}
.bif-flood button:focus-visible,.bif-flood a:focus-visible{outline:3px solid #0b70bb;outline-offset:3px}
.bif-flood button[aria-pressed=true],.bif-flood .bif-actions .bif-primary{background:var(--bif-blue);color:#fff;border-color:var(--bif-blue)}
.bif-flood button:disabled{cursor:wait;opacity:.65}
.bif-flood .bif-kicker{display:block;color:#466580;font-size:12px;font-weight:700;letter-spacing:.04em}
.bif-flood .bif-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.bif-flood .bif-badge{white-space:nowrap;border:1px solid #d7e3ed;border-radius:5px;padding:5px 10px;font-size:12px;color:#466580}
.bif-flood .bif-notice{background:#f1f5f8;border-left:3px solid #9cb4c8;border-radius:4px;padding:12px 15px;color:#334f66;font-size:14px}
.bif-flood .bif-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.bif-flood .bif-cards>div{border:1px solid #dce5ed;background:#f8fafc;padding:16px;border-radius:10px;min-width:0}
.bif-flood .bif-cards strong{display:block;font-size:32px;line-height:1.2;color:#234d6e;font-variant-numeric:tabular-nums}
.bif-flood .bif-cards span{display:block;font-size:13px;margin-top:8px}
.bif-flood .bif-filters{display:flex;gap:8px;overflow-x:auto;padding:5px 3px 12px;scrollbar-width:thin}
.bif-flood .bif-filters button{white-space:nowrap;flex-shrink:0}
.bif-flood .bif-map{height:60vh;min-height:340px;max-height:640px;width:100%;border:1px solid #cfdae3;border-radius:12px;background:#e9eff2;position:relative;z-index:0;font-family:inherit}
.bif-flood .bif-small{font-size:12px;color:#536a7d}
.bif-flood .bif-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bif-flood .bif-row{border:1px solid #dde5ec;border-radius:10px;padding:16px;min-width:0;background:#fff}
.bif-flood .bif-row h4{font:inherit;font-size:17px;font-weight:700;margin:0 0 8px;line-height:1.5;color:var(--bif-ink)}
.bif-flood .bif-row p{margin:6px 0;font-size:14px}
.bif-flood .bif-row .bif-row-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.bif-flood .bif-row-actions a{min-height:44px;display:inline-flex;align-items:center}
.bif-flood .bif-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}
.bif-flood .bif-preview-list{list-style:none;padding:0;margin:0}
.bif-flood .bif-preview-list li{padding:12px 0;border-bottom:1px solid #e2e9ef;font-size:15px}
.bif-flood .bif-preview-list a{display:inline-block;min-height:44px;align-content:center}
.bif-flood .bif-preview-list span{display:block;font-size:12px;color:#536a7d}
.bif-flood.bif-flood-summary{max-width:1240px;width:calc(100% - 40px);margin:28px auto;padding:24px;border:1px solid #dce5ed;border-top:3px solid #15568b;border-radius:10px}
.bif-flood.bif-flood-summary .bif-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.bif-flood.bif-flood-dashboard{width:100%;margin:20px auto;padding:clamp(12px,2vw,26px);border:1px solid #dce5ed;border-radius:12px}
.bif-flood .leaflet-marker-icon.bif-pin-v2{display:grid;place-items:center;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;color:#fff}
.bif-flood .leaflet-marker-icon.bif-pin-v2 .bif-marker-art{display:block;width:30px;height:30px;max-width:none;overflow:visible;float:none;margin:0;padding:0}
.bif-flood .leaflet-marker-icon.bif-pin-v2:focus-visible{outline:3px solid #15568b;outline-offset:0;border-radius:7px}
.bif-flood .bif-map-preview{display:block;width:100%;background:#f0f4f3;border:1px solid #dce5ed;border-radius:10px;overflow:hidden}
.bif-flood .bif-overview{display:block;width:100%;height:auto;max-height:470px;font-family:inherit}
.bif-flood .bif-overview text{font-family:inherit}
.bif-flood .leaflet-popup-content{font:inherit;line-height:1.5;margin:14px;max-width:calc(100vw - 100px);overflow-wrap:anywhere}
.bif-flood .leaflet-popup-content p{font-size:13px;margin:8px 0}
.bif-flood .leaflet-popup-content a{min-height:44px;display:inline-flex;align-items:center}
.bif-flood .leaflet-control-zoom a{min-width:44px;min-height:44px;line-height:44px}
.bif-flood .leaflet-container a.leaflet-popup-close-button{width:44px;height:44px;line-height:44px}
.bif-flood [hidden]{display:none!important}
.bif-flood .bif-capacity{font-weight:700;color:#15568b}
.bif-flood .bif-list-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}
.bif-flood input:not([type=checkbox]):not([type=hidden]),.bif-flood select,.bif-flood textarea{font:inherit;min-height:44px;max-width:100%;border:1px solid #b7c8d5;border-radius:6px;padding:8px;color:#172b40;background:#fff}
.bif-flood .bif-editor-fields,.bif-flood .bif-editor-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;margin:16px 0}
.bif-flood .bif-editor-fields label,.bif-flood .bif-editor-controls label{display:flex;flex-direction:column;gap:5px;min-width:0}
.bif-flood .bif-route-handle{border-radius:50%;background:#15568b;color:#fff;border:2px solid #fff;text-align:center;line-height:40px;font-weight:700}
.bif-flood .bif-check{display:flex;gap:10px;align-items:center;min-height:44px}
.bif-flood .bif-check input{width:22px;height:22px}
.bif-flood.bif-route-editor{padding:20px;max-width:1200px}
@media(min-width:1024px){.bif-flood.bif-flood-dashboard{width:calc(100% - 48px);max-width:1440px;margin:28px auto;padding:28px}.bif-flood.bif-flood-dashboard .bif-map{height:68vh;min-height:480px;max-height:760px}}
@media(max-width:600px){.bif-flood .bif-heading{display:block}.bif-flood .bif-badge{display:inline-block}.bif-flood .bif-cards{gap:7px}.bif-flood .bif-cards>div{padding:12px 8px}.bif-flood .bif-cards strong{font-size:27px}.bif-flood .bif-cards span{font-size:12px}.bif-flood .bif-list{grid-template-columns:1fr}.bif-flood.bif-flood-summary{width:calc(100% - 28px);padding:18px}.bif-flood .bif-map{height:60svh;min-height:300px}.bif-flood .bif-actions a{width:100%}}

.bif-flood .leaflet-marker-icon.bif-pin-v2{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}

@media(max-width:600px){.bif-flood .leaflet-marker-icon.bif-pin-v2 .bif-marker-art{width:24px;height:24px}}
