/* Gabarit vertical commun : jamais de lecture dans un panneau défilant. */
html:has(body.reef-map){height:auto;overflow:auto}
body.reef-map{display:block;height:auto;max-height:none;min-height:100dvh;overflow:visible}
body.reef-map:before{background-image:linear-gradient(#071e30d9,#071e30d9),url("/assets/previews/recif-vivant-usgs-de7c9e2f-960.webp");animation:none;transform:none}
body.reef-map #surveyPage{display:flex!important;flex-direction:column;width:min(1180px,calc(100% - 40px));height:auto;min-height:0;max-height:none;margin:24px auto;gap:24px;padding:0;background:transparent;visibility:visible;pointer-events:auto;scroll-margin-top:calc(var(--header-height) + 16px)}
body.reef-map #surveyPage>section{order:0;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px;position:relative;isolation:isolate;z-index:0;flex:none;width:100%;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible;border:0;border-radius:0;background:transparent}
body.reef-map #surveyPage #geoViewport{display:block!important;position:relative!important;inset:auto!important;flex:none;width:100%!important;height:360px!important;min-height:360px!important;max-height:360px!important;margin:0;padding:0}
@media(min-width:761px){body.reef-map.sea-space #surveyPage>.survey-map-section>.map-canvas-column{align-self:stretch;display:flex;flex-direction:column}body.reef-map.sea-space #surveyPage .map-canvas-column #geoViewport{flex:1 1 0;height:auto!important;min-height:360px!important;max-height:none!important}}
.survey-location-title{order:-1;margin:0!important;color:#fff;font-size:22px}
body.reef-map .survey-location-actions>.map-navigation-help{grid-column:1/-1;order:19;padding:0}
.survey-map-sidebar{min-width:0;display:flex;flex-direction:column;gap:12px}.map-canvas-column{min-width:0;overflow:hidden;border:1px solid #89b1bd66;border-radius:14px;background:#10384b}.survey-map-sidebar .location-selectors,.survey-map-sidebar .survey-location-actions{background:#20485abb;border:1px solid #89b1bd44;border-radius:12px}.survey-map-sidebar .location-selectors{margin:0}.survey-map-sidebar .map-navigation-help{padding:0 4px}
.survey-map-sidebar .location-selectors{display:grid;grid-template-columns:1fr;align-items:stretch;gap:12px;padding:18px}
.survey-map-sidebar .location-selectors label{min-width:0}
.survey-map-sidebar .location-selectors select{width:100%;min-width:0}
.survey-map-sidebar .location-selectors button{justify-self:start;min-height:40px}
.map-navigation-help{padding:0 18px 12px;color:#cce2e8;font-size:12px;line-height:1.5}
.map-navigation-help p{margin:0 0 8px;font-size:12px}
.map-touch-toggle{min-height:40px;padding:8px 12px;border:1px solid #89b1bd88;border-radius:8px;background:#12394e;color:#fff;font:inherit;cursor:pointer}
body.reef-map .map-two-finger{touch-action:pan-x pan-y!important}
body.reef-map #map{position:relative;inset:auto;width:100%!important;height:100%!important;min-height:0;max-height:none}
body.reef-map #surveyPage>aside{order:1;display:block;width:100%;height:auto;min-height:0;max-height:none;overflow:visible;padding:24px;border:1px solid #89b1bd44;border-radius:16px;background:#20485a}
body.reef-map .asideScroll{display:block;height:auto;max-height:none;overflow:visible;padding:0;scrollbar-gutter:auto}
body.reef-map .actionDock{position:static;padding:20px 0 0;background:transparent;border:0}
body.reef-map .actionDock #status{height:auto;max-height:none;overflow:visible}
body.reef-map #send{width:auto;min-width:220px;padding:13px 24px}
body.reef-map .tabs,body.reef-map #activeZoneChoice,body.reef-map #backToWelcome,body.reef-map #returnResults{display:none!important}
body.reef-map #surveyPage #mapInfo{grid-column:2;grid-row:1;position:static!important;inset:auto!important;display:block;width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;border:0}
body.reef-map .geographyNavigation{display:none}
.survey-page-heading,#ambassadorHome{width:min(1180px,calc(100% - 40px));margin:30px auto 0}
.survey-page-heading h1{font-size:clamp(28px,4vw,40px);color:#fff;margin:5px 0 12px}
body.reef-map #ambassadorHome{height:auto;min-height:0;max-height:none;padding:0;overflow:visible;background:transparent}
body.reef-map .welcomeContent{display:block;overflow:visible;height:auto;min-height:0;padding:0}
body.reef-map .welcomeIntro{max-width:none;padding:0}
.sea-space-title{display:flex;align-items:center;justify-content:center;width:100%;gap:24px;margin:0 0 12px!important;color:#ef9471!important;font-size:clamp(26px,4vw,38px)!important}
.sea-space-title img{display:block;width:240px;max-width:48%;height:92px;object-fit:contain}
.sea-space-title>.wordmark{color:#ef9471}
#seaWelcome{font-size:20px;color:#fff;margin:0 0 14px}
body.reef-map .welcomeSteps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0 36px;align-items:stretch}
body.reef-map .welcomeSteps>.box{display:flex;flex-direction:column;min-width:0;height:auto;padding:22px;margin:0;border:1px solid #9ac3cd55;border-radius:14px;background:#285267}
body.reef-map .welcomeSteps h3{font-size:18px;margin:0 0 12px;color:#fff}
body.reef-map .welcomeSteps p{font-size:14px;color:#dcebee}
body.reef-map .welcomeSteps .button-link{margin-top:auto;background:#12394e;color:#fff}
body.reef-map .ambassador-catalogue>a{margin-bottom:12px}
body.reef-map .welcomeSteps button{margin-top:auto}
body.reef-map .resources{border-left:1px solid #9ac3cd55}
.location-selectors{display:flex;align-items:end;flex-wrap:wrap;gap:16px;padding:20px;background:#20485a}
.location-selectors label{flex:1 1 200px;font-size:14px;color:#e2eff1;margin:0}
.location-selectors select{display:block;width:100%;margin-top:7px;background:#0e3042;color:#fff;padding:12px;border:1px solid #84aebb;border-radius:8px}
.location-selectors button{flex:0 0 auto;min-height:47px}
.survey-map-instructions{padding:0 20px 16px;margin:0;background:#20485a;color:#dcebee;font-size:14px}
.transfer-box{margin-top:16px;padding-top:14px;border-top:1px solid #89b1bd55}
.transfer-box h2{font-size:22px}.transfer-box input{max-width:760px;background:#0e3042!important}
.transfer-box .button-link{display:inline-block;margin:0 0 12px}
#pasteTransfer{margin-top:10px}
.transfer-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:12px 0;padding:0;list-style:none;counter-reset:transfer-step}.transfer-steps>li{display:grid;grid-template-rows:40px 50px auto;gap:8px;min-width:0;padding:0;counter-increment:transfer-step}.transfer-steps strong{display:block;margin:0;font-size:17px;line-height:1.3}.transfer-steps strong:before{content:counter(transfer-step) " · ";color:#9bdac8}.transfer-steps p{margin:0;max-width:650px;font-size:13px;line-height:1.5}body.reef-map .transfer-steps #send,body.reef-map .transfer-steps #openWeTransfer{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;max-width:none;height:50px;box-sizing:border-box;padding:10px 12px;margin:0;text-align:center;white-space:normal;line-height:1.25;font-size:14px;border-radius:9px}@media(max-width:480px){.transfer-steps{gap:12px}.transfer-steps strong{font-size:15px}body.reef-map .transfer-steps #send,body.reef-map .transfer-steps #openWeTransfer{font-size:13px;padding:8px}.transfer-steps p{font-size:12px}}
.selected-survey-zone{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:0 18px 16px}.selected-survey-zone #remove{min-height:40px;padding:8px 12px}
body.reef-map #reefResults{position:relative;inset:auto;z-index:auto;width:min(1180px,calc(100% - 40px));margin:24px auto;overflow:visible;height:auto;max-height:none;background:transparent;scroll-margin-top:calc(var(--header-height,114px) + 16px)}
body.reef-map #reefResults .results-wrap{padding:0;max-width:none}
body.reef-map.results-open #surveyPage,body.reef-map.results-open .survey-page-heading{display:none!important}
body.reef-map .consultation-only .joinCard{max-width:none}
body.reef-map #consultationHome{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}body.reef-map #consultationHome>h2,body.reef-map #consultationHome>p{margin:0}body.reef-survey-index #surveyPage>aside{background:transparent;border:0;padding:0}.consultation-card{padding:16px!important;margin:0!important;background:#20485aaa!important;border:1px solid #89b1bd44!important;border-radius:12px}.consultation-card h3{margin:0 0 10px!important}.consultation-card p{margin:0 0 10px;font-size:14px;line-height:1.55}.survey-zone-list{padding:14px;background:#20485aaa;border:1px solid #89b1bd44;border-radius:12px}.survey-zone-list h2{font-size:17px;margin:0 0 10px}.survey-zone-link{display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none;padding:8px;border-radius:10px;background:#11394c99}.survey-zone-link:hover{background:#28576b}.survey-zone-link img{width:72px;height:72px;object-fit:cover;border-radius:50%;flex:none}.survey-zone-link strong,.survey-zone-link small{display:block}.survey-zone-link small{margin-top:6px;color:#bad5dc}.survey-zone-link strong{font-size:16px}
body.reef-map #consultationHome>h2,body.reef-map #consultationHome>p{grid-column:1/-1}
@media(max-width:760px){body.reef-map #surveyPage,.survey-page-heading,body.reef-map #ambassadorHome,body.reef-map #reefResults{width:calc(100% - 28px)}body.reef-map #surveyPage>section{grid-template-columns:1fr}.survey-map-sidebar{grid-column:1;grid-row:1}body.reef-map #surveyPage #mapInfo{grid-column:1;grid-row:2}body.reef-map #surveyPage #geoViewport{grid-column:1;grid-row:3;height:220px!important;min-height:220px!important;max-height:220px!important}body.reef-map .welcomeSteps{grid-template-columns:1fr;gap:12px}body.reef-map #surveyPage>aside{padding:18px}body.reef-map #consultationHome{display:block}.location-selectors{gap:12px;padding:16px}.location-selectors label{flex-basis:100%}.sea-space-title{gap:14px}.sea-space-title img{width:180px;height:72px}body.reef-map #surveyPage #mapInfo{font-size:12px}}

body.reef-map [hidden]{display:none!important}body.reef-map .welcome-picture{display:block;width:76px;height:76px;border:2px solid #5da4a7;border-radius:50%;object-fit:cover;margin:0 0 12px}body.reef-map .welcomeSteps>.box{align-items:flex-start}body.reef-map .welcomeSteps>.box>.button-link,body.reef-map .welcomeSteps>.box>button{align-self:stretch}body.reef-map .ambassador-catalogue>a{align-self:flex-start}body.reef-map .welcomeSteps>.box>p{flex:1}body.reef-map .welcomeSteps .button-link{margin-top:8px}.sea-space-title img{max-width:100%;width:280px;height:92px}.sea-space-title{margin-bottom:4px!important}body.reef-map #ambassadorHome{margin-top:18px}body.reef-map .welcomeIntro{margin-bottom:16px}

body.reef-map .welcomeSteps .ambassador-catalogue{gap:0}body.reef-map .ambassador-catalogue>div{display:contents}body.reef-map .ambassador-catalogue>a{margin-top:0}

body.reef-map #surveyPage #mapInfo .notice{position:static;width:100%;height:auto;max-height:none}body.reef-map #surveyPage #mapInfo #surveyTypes{flex-direction:row;gap:12px;flex-wrap:wrap}body.reef-map #notice{white-space:normal;padding:0 18px 12px}

body.reef-map .welcomeSteps .ambassador-catalogue p{font-size:14px;line-height:1.5}body.reef-map .ambassador-catalogue img{width:76px;height:76px;object-fit:cover;object-position:center;border-radius:50%;background:#10354a;border:2px solid #5da4a7}

body.reef-map #ambassadorHome #startSurvey{margin-top:auto;min-height:44px;scroll-margin-top:calc(var(--header-height) + 16px)}

/* Repères translucides ; légende en ligne au-dessus de la carte et du zoom. */
body.reef-map .surveyPin,body.reef-map .surveyLegendPin{background:color-mix(in srgb,var(--survey-color,#ef9471) 18%,#071e3055);color:var(--survey-color,#ef9471);border:1.5px solid var(--survey-color,#ef9471);box-shadow:0 1px 4px #0005}body.reef-map .pin,body.reef-map .reference{background:#ef947133;border:2px solid #ef9471}body.reef-map #surveyPage #surveyTypes{display:flex!important;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px 16px;width:auto;max-width:none;padding:10px 12px!important;min-height:0!important;background:#10354a55!important;border-radius:0!important}body.reef-map #surveyTypes .surveyLegendItem{display:inline-flex;align-items:center;gap:6px;max-width:none;font-size:11px;line-height:1.3;white-space:nowrap}body.reef-map #surveyTypes .surveyLegendPin{width:22px;height:22px;flex:0 0 22px}body.reef-map #surveyPage #notice{display:none}

.map-regulations{padding:14px 18px;border-top:1px solid #8ab4bb55;font-size:13px}.map-regulations summary{cursor:pointer;font-weight:650;color:#e0f1ef}.regulation-options{display:grid;gap:10px;margin:14px 0}.regulation-options label{display:flex;align-items:center;gap:8px;color:#e0f1ef!important;font-size:13px!important}.regulation-options input{width:18px!important;height:18px!important;min-height:0!important;margin:0!important;accent-color:#65c9bd}.regulation-links{display:grid;gap:8px}.regulation-links a,.map-regulations a{color:#b7ede2}.map-regulations p,.regulation-source{font-size:12px!important;line-height:1.5}.regulation-popup{color:#173544;font-size:13px}.regulation-popup a{color:#086075}.regulation-popup p{font-size:13px;line-height:1.5}.regulation-source{opacity:.85}

.map-regulations h3{font-size:15px;margin:0 0 12px}.regulation-options label{border:1px solid currentColor;border-radius:10px;padding:10px;background:#0b293b55}.regulation-options .regulation-peche{color:#edbe98!important}.regulation-options .regulation-classements{color:#81dfd2!important}.regulation-options .regulation-holothuries{color:#c4b7f4!important}.regulation-options input{accent-color:currentColor}.regulation-options span{color:inherit!important}.regulation-options label:has(input:checked){background:#ffffff16;box-shadow:inset 0 0 0 1px currentColor}
.map-information{width:100%;padding:18px;border:1px solid #89b1bd44;border-radius:16px;background:#12374788;box-sizing:border-box}.map-information>h2{font-size:20px;color:#d8efed;margin:0 0 16px}.map-option-tabs{display:flex;flex-wrap:wrap;gap:14px}.map-option-button{display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 12px!important;border-radius:12px!important;background:#153d50!important;border:1px solid currentColor!important;color:#f0c17d!important;font-size:14px;line-height:1.4;font-family:inherit;cursor:pointer}.map-option-button:nth-child(2){color:#f4a879!important}.map-option-button:nth-child(3){color:#8acded!important}.map-option-button[aria-expanded=true]{background:#29576b!important;box-shadow:inset 0 0 0 1px currentColor}.map-option-medallion{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;border:1px solid currentColor;border-radius:50%;font-size:20px}.map-option-content>section{margin-top:18px}.map-option-content [hidden]{display:none!important}.map-weather h3,.map-safety h3{color:#d9ecee;font-size:18px;margin:0 0 12px}.weather-times{display:flex;gap:8px;flex-wrap:wrap}.weather-times button{padding:8px 12px;min-height:40px;background:#164355;color:#ead4a0;border:1px solid #bca471;border-radius:8px;cursor:pointer}.weather-times button[aria-pressed=true]{background:#6b552d;color:#fff}.weather-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.weather-value{display:grid;grid-template-columns:24px 1fr;gap:4px 8px;padding:12px;border:1px solid #729aa655;border-radius:10px;background:#204b5f66;color:#d8e9eb;min-width:0}.weather-icon{grid-row:1/4;color:#e8bb72;font-size:22px}.weather-value>span:not(.weather-icon){font-size:12px}.weather-value strong{font-size:19px;color:#e9f5f4}.weather-value small{font-size:11px}.weather-value[class*=weather-uv-]{border-color:currentColor}.weather-uv-low{color:#94d7a0}.weather-uv-moderate{color:#ffe27e}.weather-uv-high{color:#ffbd85}.weather-uv-very-high{color:#ffa2a2}.weather-uv-extreme{color:#e8afff}.weather-value[class*=weather-uv-] strong,.weather-value[class*=weather-uv-] .weather-icon{color:inherit}.weather-location,.weather-status,.weather-note,.weather-uv-advice{font-size:13px!important;line-height:1.5}.weather-links{display:flex;gap:10px 20px;flex-wrap:wrap;font-size:12px}.weather-links a,.map-safety>a,.bathing-links a{color:#98dbde}.weather-map-marker{border-radius:50%;background:#10354aeb;border:1px solid #e8bb72;color:#f3cf8a;text-align:center;font:12px/1.1 sans-serif;pointer-events:none}.weather-map-marker span{display:block;font-size:28px}.weather-map-marker b{font-size:10px}.map-location{display:grid;gap:8px}.map-location p,.field-draft p{margin:0;font-size:12px!important;line-height:1.5}#locateMe,#useMyLocation{color:#9cd9ff!important;border:1px solid #75c7fa!important;background:#143c54!important}.field-draft{padding:12px 18px;display:grid;gap:8px}.field-draft button{min-height:44px;color:#bcebdd;background:#154c4d;border:1px solid #72b9ad;border-radius:8px;padding:9px;cursor:pointer}.vigilance-row{display:grid;grid-template-columns:76px 1fr;gap:5px 12px;padding:10px;border:1px solid currentColor;border-radius:9px;text-decoration:none;margin-bottom:8px}.vigilance-row small{grid-column:2}.vigilance-row.level-2{color:#ffe27e!important;background:#6d5a1922}.vigilance-row.level-3{color:#ffb176!important;background:#8a492322}.vigilance-row.level-4{color:#ffabab!important;background:#8d303033}.vigilance-row strong{color:inherit!important}.bathing-links{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bathing-links a{display:grid;gap:7px;padding:14px;border:1px solid #89bccc66;border-radius:12px}.bathing-links span,.map-safety>p{font-size:13px;line-height:1.5}@media(max-width:600px){.map-information{padding:14px}.map-option-tabs{gap:8px}.map-option-button{font-size:12px;padding:7px 9px!important}.map-option-medallion{width:28px;height:28px}.weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.weather-value{padding:10px}.bathing-links{grid-template-columns:1fr}.vigilance-row{grid-template-columns:60px 1fr}}

body.reef-map #seaWelcome{text-align:center;max-width:none;width:100%}
@media(min-width:761px) and (max-width:980px){body.reef-map .welcomeSteps{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.reef-preparation #ambassadorHome,body.reef-preparation #surveyPage>aside,body.reef-preparation #reefResults,body.reef-preparation #mapInfo{display:none!important}
body.reef-preparation #surveyPage>.map-information{display:block!important;padding:20px}
body.reef-preparation #surveyPage #geoViewport{grid-row:1;min-height:430px!important;max-height:540px!important}
body.reef-preparation .survey-map-sidebar{grid-row:1}
body.reef-preparation .survey-location-title{display:none!important}
body.reef-preparation .survey-page-heading .back-space{display:inline-block;margin-bottom:12px;color:#a4e3d8}
@media(max-width:760px){body.reef-preparation #surveyPage #geoViewport{grid-column:1;grid-row:2;height:300px!important;min-height:300px!important;max-height:300px!important}}

.map-information>.map-regulations{margin:22px 0 0;padding:18px 0 0;border-top:1px solid #89b1bd44}
.map-information .regulation-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.map-information .regulation-options label{display:flex;align-items:center;gap:9px;min-height:48px}
@media(max-width:600px){.map-information .regulation-options{grid-template-columns:1fr}}

body.reef-map .ambassador-catalogue>div{display:flex;flex-direction:column;flex:1}

/* Les données restent sur la carte ; seules les commandes occupent le bandeau. */
body.reef-preparation #surveyPage>.map-information{padding:14px!important;margin-bottom:18px}
.map-information>h2{font-size:17px;margin-bottom:10px}.map-option-tabs{gap:8px}.map-option-button{padding:6px 10px!important}.map-option-medallion{width:26px;height:26px;font-size:17px}.map-option-button:nth-child(4){color:#c3a4e8!important}
.map-option-content>section{margin-top:10px}.map-option-content p{margin:5px 0;font-size:13px}.map-information>.map-regulations{margin:12px 0 0;padding:12px 0 0}.map-regulations h3{display:none}.map-information .regulation-options{gap:8px}.map-information .regulation-options label{font-size:13px;min-height:40px}.map-health button{padding:6px 12px;font-size:13px}
.health-marker span{display:grid;place-items:center;width:30px;height:30px;border:2px solid var(--health-color);border-radius:50%;background:#123444ed;color:var(--health-color);font:bold 13px sans-serif;box-shadow:0 2px 8px #0006}
.health-popup{font:13px/1.35 system-ui;color:#183642;max-width:250px}.health-popup h3{font-size:16px;margin:0 28px 3px 0;color:#183642}.health-popup input{box-sizing:border-box;width:100%;height:34px;padding:6px 8px;margin-top:8px;border:1px solid #91abb3;border-radius:7px;background:#fff;color:#163442;font-size:13px}.health-sites{max-height:112px;overflow:auto;overscroll-behavior:contain;margin:6px 0}.health-site{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:5px 0;border-bottom:1px solid #d9e2e4}.health-site strong{font-weight:500}.health-site span{font-weight:600;font-size:12px;white-space:nowrap;filter:brightness(.68)}.health-popup small{display:block;font-size:11px;line-height:1.3}.map-source{display:block;margin-top:5px;font-size:11px}.health-map-popup .leaflet-popup-content{margin:12px!important}.health-map-popup .leaflet-popup-content-wrapper{border-radius:12px}.leaflet-container .health-map-popup a.leaflet-popup-close-button{width:32px;height:32px;line-height:32px;font-size:23px;background:#fff;border-radius:50%;color:#173747;top:2px;right:2px}

.weather-map-popup{color:#173742;font:12px/1.4 system-ui;width:290px;max-width:65vw}.weather-map-popup .weather-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.weather-map-popup .weather-value{padding:7px;background:#edf3f4;color:#173742;border-color:#b3c7cc}.weather-map-popup .weather-value strong{font-size:18px;color:#153645}.weather-map-popup .weather-value small{color:#45616c}.weather-map-popup .weather-note,.weather-map-popup .weather-uv-advice{font-size:11px;margin:8px 0}.weather-map-popup .weather-links{display:flex;flex-wrap:wrap;gap:7px;font-size:10px}.weather-map-popup .weather-links a{color:#37647b}
#geoViewport{position:relative}.vigilance-map-view{position:absolute;inset:0;z-index:1050;display:flex;flex-direction:column;background:#102e41;border-radius:14px;overflow:hidden}.vigilance-map-view[hidden]{display:none}.vigilance-map-heading{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;color:#d6eceb;font-size:14px}.vigilance-map-heading button{width:32px;height:32px;padding:0!important;background:transparent;color:#fff;font-size:24px;border:1px solid #9ec3cc77;border-radius:50%}.vigilance-svg{flex:1;min-height:0;background:#e4eff1}.vigilance-svg svg{width:100%;height:100%}.vigilance-svg [id^=VIGI987]{cursor:pointer}.vigilance-svg [id^=VIGI987]:focus{stroke:#000;stroke-width:4}.vigilance-svg #textes{pointer-events:none}.vigilance-map-detail{min-height:48px;padding:8px 14px;font-size:12px;color:#c8dcdf}.vigilance-map-detail a{color:#b6d6dd}.vigilance-map-detail strong{font-size:14px}
@media(max-width:760px){body.reef-preparation #surveyPage #geoViewport{height:380px!important;min-height:380px!important;max-height:380px!important}.map-option-tabs{display:grid;grid-template-columns:1fr 1fr}.map-option-button{font-size:12px}.map-information .regulation-options{display:flex;flex-wrap:wrap}.map-information .regulation-options label{flex:1 1 140px}.vigilance-map-heading{font-size:12px}}

body.reef-preparation .map-information section{height:auto!important;min-height:0!important;max-height:none!important;display:block!important;overflow:visible!important;flex:none!important}
body.reef-preparation .map-information section[hidden]{display:none!important}
.map-weather>h3{display:none}.weather-map-marker{pointer-events:auto}.map-information .regulation-options{margin:0}.map-information .regulation-status:empty{display:none}

.health-popup{max-width:100%}.map-option-content p,.map-information .regulation-options label{font-size:14px!important}.health-popup,.vigilance-map-detail{font-size:14px}

/* Mes cartes : carte principale, une île à choisir, aucune commande de couche. */
body.reef-preparation .survey-page-heading{margin-top:16px}body.reef-preparation .survey-page-heading h1{font-size:30px;margin:4px 0 6px}body.reef-preparation .survey-page-heading p{font-size:14px;margin:0}
body.reef-preparation #surveyPage{margin-top:16px;gap:0}body.reef-preparation #surveyPage>.survey-map-section{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;overflow:visible!important;background:transparent;border:0;isolation:auto}
body.reef-preparation .survey-map-sidebar{width:100%;background:transparent;gap:12px}
body.reef-preparation .survey-map-sidebar .location-selectors{display:block;padding:14px;background:#20485abb;max-width:none}
body.reef-preparation .location-selectors>label:has(#surveyPlace),body.reef-preparation .location-selectors>button,body.reef-preparation .survey-map-instructions,body.reef-preparation .map-navigation-help{display:none!important}
body.reef-preparation .location-selectors select{margin-top:4px;min-height:44px;padding:9px 12px}
body.reef-preparation #surveyPage #geoViewport{order:1;width:100%!important;height:420px!important;min-height:420px!important;max-height:420px!important;border:0;border-radius:0;overflow:hidden;flex:none;scroll-margin-top:115px}
body.reef-preparation .map-legend{order:3;display:flex;flex-wrap:wrap;gap:7px 18px;width:100%;padding:12px 3px;font-size:13px;line-height:1.4}
.map-legend span{display:inline-flex;align-items:center;gap:6px}.map-legend i{width:9px;height:9px;border:1px solid currentColor;background:currentColor;border-radius:50%}
body.reef-preparation .map-field-actions{order:4;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;width:100%;box-sizing:border-box;border-top:1px solid #79aab344;padding:18px 0;color:#c8e5e4}.map-field-actions h2{grid-column:1/-1;margin:0;font-size:20px}.map-field-actions .field-help,.map-field-actions .selected-survey-zone{grid-column:1/-1;margin:0;font-size:14px}.map-field-actions .field-help{color:#b9d0d5}.map-field-actions .field-draft,.map-field-actions .map-location{display:flex;flex-direction:column;gap:10px;width:100%;max-width:none;padding:0}.map-field-actions .map-location{grid-column:1;grid-row:4}.map-field-actions .field-draft{grid-column:2;grid-row:4}.map-field-actions [role=status]{font-size:13px;line-height:1.4;margin:0;order:3}.map-field-actions button{min-height:46px;width:100%;box-sizing:border-box;background:#123b4dcc;color:#d7efeb;border:1px solid #79aab36b;border-radius:12px;padding:10px 14px;font:600 14px/1.35 system-ui;cursor:pointer}.map-field-actions #saveFieldPoint{border-color:#8ed8c4;color:#adeddc}.map-field-actions button:hover{background:#235361}.map-field-actions button:focus-visible{outline:2px solid #a3e6dc;outline-offset:3px}.map-field-actions [hidden]{display:none!important}@media(max-width:520px){body.reef-preparation .map-field-actions{gap:12px}.map-field-actions button{padding:10px 8px}}
.map-vigilance-badge{position:absolute;right:10px;top:10px;z-index:900;background:#092737dd;border:1px solid currentColor;border-radius:24px;padding:6px 10px;min-height:38px;color:#b0c3ca;font-size:20px;cursor:pointer}.map-vigilance-badge span{font:12px system-ui;margin-left:4px}
body.reef-preparation .weather-map-band{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;order:2;width:100%;box-sizing:border-box;margin-top:0;padding:14px 12px 9px;background:#123b4d99;border:1px solid #79aab344;border-radius:12px}.weather-tv{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 6px;color:#edf7f5;font-family:system-ui;text-align:center}.weather-tv-item{display:flex;flex-direction:column;align-items:center;justify-content:start;padding:2px;min-width:0}.weather-tv-item>span{font-size:23px;line-height:1.2;color:#ffe0a1}.weather-tv-item small{font-size:13px;color:#cce3e6}.weather-tv-item b{font-size:16px;line-height:1.5;white-space:nowrap}.weather-tv-item em{font-style:normal;font-size:12px;min-height:16px;color:#bad4d9}.weather-map-credit{font:11px/1.4 system-ui;color:#b9d0d5;margin-top:8px;text-align:center}.weather-map-credit[hidden],.weather-map-band[hidden]{display:none}
.regulation-options .regulation-holothuries{color:#efc06d!important}
@media(max-width:760px){body.reef-preparation #surveyPage #geoViewport{height:360px!important;min-height:360px!important;max-height:360px!important}body.reef-preparation .survey-page-heading{margin-top:12px}body.reef-preparation .survey-page-heading .back-space{margin-bottom:4px}body.reef-preparation .map-legend{font-size:12px;gap:7px 12px}.weather-tv{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 5px}.weather-tv-item b{font-size:15px}.weather-tv-item>span{font-size:21px}}

.health-marker svg{width:20px;height:20px;display:block}

.map-info-flag{background:none;border:0}.map-info-flag>span{display:flex;align-items:center;gap:3px;color:var(--flag-color);width:max-content;max-width:160px;filter:drop-shadow(0 1px 2px #001b2a)}.map-info-flag svg{width:24px;height:32px;flex:none;stroke:currentColor;stroke-width:2;fill:#092c3de6}.map-info-flag b{font:600 12px/1.2 system-ui;padding:5px 7px;border-radius:6px;background:#092c3de6;border:1px solid currentColor}.map-info-flag:focus-visible{outline:2px solid #fff;outline-offset:4px}

/* Densité de l’espace sans réduire les cibles tactiles. */
body.reef-map #surveyPage{gap:14px;margin-block:16px}body.reef-map .welcomeSteps{gap:12px;margin:16px 0 20px}body.reef-map .welcomeSteps>.box{padding:16px}body.reef-map .welcomeSteps h3{margin-bottom:8px}body.reef-map .welcomeSteps p{line-height:1.45;margin-bottom:10px}body.reef-map .survey-map-sidebar .location-selectors{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}body.reef-map .location-selectors label{margin:0;font-size:13px;display:flex;flex-direction:column;justify-content:flex-end}body.reef-map .location-selectors select{height:44px;padding:7px;margin-top:4px}body.reef-map .location-selectors>button{grid-column:auto;padding:8px;font-size:12px;width:100%;min-height:44px}body.reef-map .selected-survey-zone{padding:8px 12px!important}body.reef-map .selected-survey-zone p{margin:0 0 6px;font-size:13px}body.reef-map .selected-survey-zone button{width:auto;min-height:40px;padding:8px 12px}body.reef-map #surveyPage>aside{padding:16px}body.reef-map .map-navigation-help{padding:0 12px 8px}body.reef-preparation .survey-map-sidebar .location-selectors{padding:14px}body.reef-preparation .map-field-actions{padding:12px 0;gap:8px 14px}body.reef-preparation .map-field-actions .map-navigation-help{display:block!important;grid-column:1/-1;padding:0;font-size:12px}body.reef-preparation .map-field-actions .field-help{line-height:1.4}body.reef-map .my-maps-card>a{display:block}body.reef-map .my-maps-card>a .welcome-picture{margin-bottom:12px}

body.reef-map .location-selectors .map-location{align-self:start;gap:0}body.reef-map .location-selectors .map-location button{padding:8px!important;min-height:44px;font-size:12px;width:100%}body.reef-map .location-selectors [role=status]:empty{display:none}body.reef-map .survey-map-sidebar .field-draft{padding:4px 12px 12px;gap:6px}body.reef-map .survey-map-sidebar .map-navigation-help p{margin:0}body.reef-map .selected-survey-zone{gap:6px}body.reef-map .selected-survey-zone .count{padding:0;line-height:1.4;font-size:12px}body.reef-map .selected-survey-zone button{font-size:12px}body.reef-map .actionDock{padding-top:8px}
@media(max-width:760px){body.reef-map .welcomeSteps>.box{display:grid;grid-template-columns:64px minmax(0,1fr);gap:6px 12px;padding:12px;align-items:start}body.reef-map .welcomeSteps>.box>img,body.reef-map .welcomeSteps>.box>a:has(img){grid-column:1;grid-row:1/5;margin:0}body.reef-map .welcomeSteps .welcome-picture,body.reef-map .welcomeSteps .ambassador-catalogue img{width:64px;height:64px;margin:0}body.reef-map .welcomeSteps>.box>div{display:contents}body.reef-map .welcomeSteps h3,body.reef-map .welcomeSteps p,body.reef-map .welcomeSteps .button-link,body.reef-map .welcomeSteps button{grid-column:2;margin:0!important}body.reef-map .welcomeSteps h3{font-size:17px}body.reef-map .welcomeSteps p,body.reef-map .welcomeSteps .ambassador-catalogue p{font-size:13px;line-height:1.4}body.reef-map .welcomeSteps .button-link{padding:6px 8px;font-size:12px;min-height:40px}body.reef-map #ambassadorHome #startSurvey{grid-column:1/-1;font-size:13px}}

/* Mes cartes reste une consultation ; commandes de dépôt regroupées à part. */
body.reef-preparation .map-field-actions{order:1;display:block;border:0;padding:10px 12px;margin:0}body.reef-preparation .map-field-actions .map-location{display:block;width:auto}body.reef-preparation .map-field-actions #locateMe{width:auto;min-height:44px;padding:8px 18px}body.reef-preparation .map-field-actions #locationStatus{margin:6px 0 0}body.reef-preparation .map-field-actions #locationStatus:empty{display:none}
body.reef-map .survey-location-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}body.reef-map .survey-location-actions .map-location,body.reef-map .survey-location-actions .field-draft,body.reef-map .survey-location-actions .selected-survey-zone{display:contents}body.reef-map .survey-location-actions button{box-sizing:border-box;width:100%;min-width:0;height:54px;min-height:54px;margin:0;padding:8px!important;font:500 13px/1.3 system-ui;border:1px solid #7db1b7;border-radius:9px;background:#123b4dcc;color:#d7efeb}body.reef-map .survey-location-actions #locateMe{order:1}body.reef-map .survey-location-actions #saveFieldPoint{order:20;grid-column:1/-1;color:#bcebdd;border-color:#72b9ad}body.reef-map .survey-location-actions>button{order:3}body.reef-map .survey-location-actions #remove{order:4;grid-column:1/-1}body.reef-map .survey-location-actions #remove:disabled{opacity:.4;cursor:default}body.reef-map .survey-location-actions #useMyLocation{order:5;grid-column:1/-1}body.reef-map .survey-location-actions #restoreFieldPoint{order:6;grid-column:1/-1}body.reef-map .survey-location-actions [role=status]{order:10;grid-column:1/-1;font-size:12px;line-height:1.4;margin:0}body.reef-map .survey-location-actions [role=status]:empty{display:none}

@media(max-width:480px){body.reef-map .survey-location-actions button{font-size:12px;padding:6px 4px!important}}

/* Observations sur une rangée complète, après les deux colonnes alignées. */
body.reef-map .survey-map-section>#surveySightings{grid-column:1/-1;min-width:0;width:100%;box-sizing:border-box;padding:14px;margin:0;border:1px solid #89b1bd44;border-radius:12px;background:#20485aaa}
body.reef-map .survey-map-section>#surveySightings h2{font-size:18px;margin:0 0 8px}
body.reef-map .survey-map-section>#surveySightings>p{font-size:13px;margin:0 0 10px}
body.reef-map .survey-map-section>#surveySightings>p:empty{display:none}
body.reef-map #surveySightings .sighting-categories{justify-content:center;gap:20px}
body.reef-map .transfer-box{border:0;padding:0;margin:0}
body.reef-map .transfer-box h2{margin:0 0 12px}
body.reef-map .transfer-steps>li{padding:14px;background:#12394e88;border:1px solid #89b1bd44;border-radius:12px}
body.reef-map .transfer-steps{margin:0}
body.reef-map .actionDock:has(#status:empty){display:none}
body.reef-preparation .map-canvas-column #geoViewport{height:420px!important;min-height:420px!important;max-height:420px!important}
body.reef-preparation .map-legend{padding:12px;border:1px solid #89b1bd44;border-radius:12px;background:#123b4d99;box-sizing:border-box}
@media(max-width:760px){
 body.reef-map #surveyPage>.survey-map-section,body.reef-preparation #surveyPage>.survey-map-section{display:flex!important;flex-direction:column;gap:12px}
 .survey-map-sidebar,.map-canvas-column{width:100%;box-sizing:border-box}
 body.reef-map #consultationHome{display:grid;grid-template-columns:1fr;gap:12px}
 body.reef-map #surveyPage .map-canvas-column #geoViewport{height:260px!important;min-height:260px!important;max-height:260px!important}
 body.reef-map .survey-map-sidebar{display:contents}
 body.reef-map .survey-map-sidebar>.location-selectors{order:0;width:100%;box-sizing:border-box}
 body.reef-map .survey-map-sidebar>.survey-shape-help{order:1;margin:0;width:100%}body.reef-map .survey-map-sidebar>.survey-location-actions{order:2;width:100%;box-sizing:border-box}
 body.reef-map .survey-map-sidebar>.survey-zone-list{order:1;width:100%;box-sizing:border-box}
 body.reef-map .survey-map-sidebar>.map-navigation-help{order:2}
 body.reef-map .map-canvas-column{order:3}
 body.reef-map .survey-map-section>#surveySightings{order:4;width:100%;box-sizing:border-box}
 body.reef-preparation .survey-map-sidebar .location-selectors{order:0;width:100%;box-sizing:border-box}
 body.reef-preparation .map-canvas-column{order:1}
 body.reef-preparation #surveyPage .map-canvas-column #geoViewport{height:320px!important;min-height:320px!important;max-height:320px!important}
 body.reef-preparation .weather-map-band{order:2}
 body.reef-preparation .map-legend{order:3}
}

@media(min-width:761px){body.reef-survey-index #surveyPage #geoViewport{height:300px!important;min-height:300px!important;max-height:300px!important}}

/* Commandes identifiables : pictogramme, libellé et couleur par action. */
.map-command-icon{display:block;width:22px;height:22px;flex:none;pointer-events:none}
body.reef-map .survey-location-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;height:70px;min-height:70px}
body.reef-map .survey-location-actions #locateMe{background:#14537bcc!important;border-color:#7bc9f7!important;color:#d7f0ff!important}
body.reef-map .survey-location-actions #saveFieldPoint{background:#15584ecc;border-color:#74d6b9;color:#d3fff0}
body.reef-map .survey-location-actions>.surveyed-areas-button{background:#443764cc;border-color:#b1a1de;color:#ece4ff}
body.reef-map .survey-location-actions #remove{flex-direction:row;height:42px;min-height:42px;background:#6c3c2b66;border-color:#df9f7c;color:#ffd1b5}
body.reef-map .survey-location-actions #count{order:8;grid-column:1/-1;text-align:center;color:#c7e7e5;margin:0;min-height:18px;line-height:18px}
body.reef-map .surveyed-areas-button,body.reef-preparation #locateMe{display:flex;align-items:center;justify-content:center;gap:9px}
body.reef-map:not(.reef-preparation):not(.reef-survey-index) .survey-map-sidebar .location-selectors{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}
body.reef-map .location-selectors>.surveyed-areas-button{display:flex;gap:5px;align-items:center;justify-content:center;min-height:44px;height:44px;border:1px solid #b1a1de;border-radius:8px;background:#443764aa;color:#ece4ff;line-height:1.2}
body.reef-map .location-selectors>.surveyed-areas-button .map-command-icon{width:20px;height:20px}
body.reef-map .survey-shape-help{height:auto!important;min-height:0!important;margin:0;padding:14px 16px;border:1px solid #ed995e88;border-radius:12px;background:#123b4dcc;color:#eef6f2;box-sizing:border-box}
body.reef-map .survey-shape-help h3{margin:0 0 12px;font:600 18px/1.3 system-ui;color:#ffbb87}
body.reef-map .survey-shape-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.reef-map .survey-shape-step{display:grid;justify-items:center;gap:3px;text-align:center;font:400 15px/1.35 system-ui}
body.reef-map .survey-shape-step svg{box-sizing:content-box;width:32px;height:24px;padding:12px 8px;color:#ffbb87;border:1px solid #ed995e88;border-radius:50%;background:#ed995e12;margin-bottom:5px}
body.reef-map .survey-shape-step strong{font-size:16px;color:#fff}
body.reef-map .survey-shape-help p{margin:12px 0 0;font:400 14px/1.45 system-ui;color:#cbe5e1}
@media(max-width:480px){body.reef-map .survey-shape-help{padding:13px 12px}body.reef-map .survey-shape-help h3{font-size:17px}body.reef-map .survey-shape-steps{gap:8px}body.reef-map .survey-shape-step strong{font-size:15px}}

/* Poisson entier, image lumineuse dans un médaillon ovale sans bandes. */
body.reef-map .ambassador-catalogue img{width:101px;height:76px;max-width:none;object-fit:cover;object-position:center;border-radius:50%}
@media(max-width:760px){body.reef-map .welcomeSteps .ambassador-catalogue img{width:64px;height:48px}}
.welcomeSteps h3 .welcome-title-link{color:inherit!important;text-decoration:none;border:0;background:none}.welcomeSteps h3 .welcome-title-link:hover{text-decoration:underline}.welcome-title-link:focus-visible{outline:2px solid #ed995e;outline-offset:4px;border-radius:3px}
body.reef-map .welcomeSteps h3 button.welcome-title-link{font:inherit!important;font-weight:inherit!important;color:inherit!important;line-height:inherit!important;padding:0!important;min-height:0!important;border:0!important;background:transparent!important;text-align:inherit;margin:0!important}body.reef-map .welcomeSteps>.box>button.welcome-photo-action{background:none!important;border:0!important;padding:0!important;min-height:0!important;margin:0!important;align-self:flex-start;width:auto}.preparation-choice{width:min(420px,calc(100% - 32px));padding:22px;border:1px solid #79aab555;border-radius:16px;background:#0c2e40f5;color:#e2efee}.preparation-choice::backdrop{background:#041725a6}.preparation-choice h2{font-size:21px}.preparation-choice a{display:block;padding:14px;margin:12px 0;background:#19495d;color:#d9eeed;border-radius:8px}.preparation-choice button{background:transparent;border:1px solid #79aab5;color:#e2efee;border-radius:8px;padding:9px 14px}@media(max-width:760px){body.reef-map .welcomeSteps>.box>button.welcome-photo-action{grid-column:1;grid-row:1/5}}
