/* Refonte 2026-11 : fiche lieu v3, retouches de l'accueil et de la météo. */
.country-view {--f-paper:#fff; --f-ink:#14171C; --f-muted:#6B7280; --f-line:#ECEDF0; --f-chip:#F2F3F5; --f-blue:#1C6EF2; --f-green:#2E9E5B}
html[data-atlas-theme=night] .country-view {--f-paper:#171B22; --f-ink:#F2F4F7; --f-muted:#9AA3B0; --f-line:#2A303A; --f-chip:#262C36}

/* ---------- Fiche lieu v3 : titre, 4 actions, bon à savoir, « Y aller » toujours à portée ---------- */
.country-view #regionPreview[data-fiche] {font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--f-ink)}
.country-view #regionPreview[data-fiche] #regionPreviewType {display:none}
.country-view #regionPreview[data-fiche] h2 {font-size:26px; font-weight:800; letter-spacing:-.02em; line-height:1.15; margin:0 44px 0 0}
.country-view #regionPreview[data-fiche] .region-preview-secondary-title,.country-view #regionPreview[data-fiche] #regionPreviewText {font-size:15px; color:var(--f-muted); margin:4px 0 0; line-height:1.4}
.country-view #regionPreview[data-fiche] #regionPreviewAddress {font-size:14px; color:var(--f-muted); margin:2px 0 0}
.country-view #regionPreview[data-fiche] .preview-close {width:34px; height:34px; min-height:34px; border:0; border-radius:50%; background:var(--f-chip); color:var(--f-ink); font-size:17px; padding:0}
.country-view #regionPreview[data-fiche] .fiche-actions {display:flex; gap:8px; margin:14px 0 0}
.country-view #regionPreview[data-fiche] .fiche-actions>*[hidden] {display:none}
.country-view #regionPreview[data-fiche] .fiche-action {flex:1; display:flex!important; flex-direction:column; align-items:center; justify-content:center; gap:6px; min-height:64px; padding:10px 4px; margin:0; border:1.5px solid var(--f-line); border-radius:16px; background:transparent; color:var(--f-ink); font-size:13.5px; font-weight:650; text-decoration:none; box-shadow:none; min-width:0; width:auto; white-space:nowrap}
.country-view #regionPreview[data-fiche] .fiche-action svg {width:22px; height:22px; stroke-width:2}
.country-view #regionPreview[data-fiche] .fiche-action>span:first-child:not(:has(svg)) {display:none}
.country-view #regionPreview[data-fiche] #regionShareAction::before,.country-view #regionPreview[data-fiche] #regionSaveAction::before {content:""; width:22px; height:22px; background:currentColor; -webkit-mask:var(--fiche-icon) center/contain no-repeat; mask:var(--fiche-icon) center/contain no-repeat}
.country-view #regionPreview[data-fiche] #regionShareAction {--fiche-icon:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 15V4m-5 5 5-5 5 5M5 13v7h14v-7'/></svg>")}
.country-view #regionPreview[data-fiche] #regionSaveAction {--fiche-icon:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 3h12v18l-6-4-6 4z'/></svg>")}
.country-view #regionPreview[data-fiche] #regionSaveAction svg,.country-view #regionPreview[data-fiche] #regionShareAction svg {display:none}
.country-view #regionPreview[data-fiche] .atlas-sheet-body {padding:0!important}
.country-view #regionPreview[data-fiche] {padding-inline:20px}
.country-view #regionPreview[data-fiche] #regionWhatsAppAction svg {color:#25D366}
.country-view #regionPreview[data-fiche] #regionSaveAction.saved {border-color:var(--f-ink); background:var(--f-ink); color:var(--f-paper)}
.country-view #regionPreview[data-fiche] .fiche-links {display:flex; flex-wrap:wrap; gap:4px 18px; margin:12px 0 0}
.country-view #regionPreview[data-fiche] .fiche-links[hidden] {display:none}
.country-view #regionPreview[data-fiche] .fiche-links>* {display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:0; margin:0; border:0; background:none; color:var(--f-blue); font-size:14px; font-weight:600; box-shadow:none; width:auto; text-decoration:none}
.country-view #regionPreview[data-fiche] .fiche-links>*[hidden] {display:none}
.country-view #regionPreview[data-fiche] .fiche-links svg {width:16px; height:16px}
.country-view #regionPreview[data-fiche] .region-preview-actions,.country-view #regionPreview[data-fiche] .atlas-place-secondary {display:none}
.country-view #regionPreview[data-fiche] .region-preview-stats {margin-top:14px}
.country-view #regionPreview[data-fiche] .atlas-place-practical {display:block; margin:16px 0 0; padding:0}
.country-view #regionPreview[data-fiche] .atlas-place-practical::before {content:"Bon à savoir"; display:block; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--f-ink); padding-bottom:8px; border-bottom:1px solid var(--f-line)}
html[lang=ar] .country-view #regionPreview[data-fiche] .atlas-place-practical::before {content:"معلومات مفيدة"}
.country-view #regionPreview[data-fiche] .atlas-place-practical dt,.country-view #regionPreview[data-fiche] .atlas-place-practical dd {display:inline-block; margin:0; padding:11px 0; font-size:15px; box-sizing:border-box; vertical-align:top}
.country-view #regionPreview[data-fiche] .atlas-place-practical dt {width:38%; color:var(--f-muted); font-weight:500}
.country-view #regionPreview[data-fiche] .atlas-place-practical dd {width:62%; text-align:end; font-weight:650; color:var(--f-ink); border-bottom:1px solid var(--f-line)}
.country-view #regionPreview[data-fiche] .atlas-place-practical dt {border-bottom:1px solid var(--f-line)}
.country-view #regionPreview[data-fiche] .atlas-place-practical dd a {color:var(--f-blue); text-decoration:none}
.country-view #regionPreview[data-fiche] #regionPreviewHint {display:block; margin-top:10px; font-size:12.5px; color:var(--f-muted)}
.country-view #regionPreview[data-fiche] .atlas-place-sources {margin-top:12px; border:0; padding:0}
.country-view #regionPreview[data-fiche] .atlas-place-sources summary {font-size:13.5px; color:var(--f-muted); padding:8px 0; cursor:pointer}
.country-view #regionPreview[data-fiche] .fiche-go {position:sticky; bottom:0; margin:16px -20px 0; padding:10px 20px calc(10px + env(safe-area-inset-bottom)); background:linear-gradient(to top, var(--f-paper) 70%, transparent)}
.country-view #regionPreview[data-fiche] .fiche-go #regionRouteAction {display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:54px; height:54px; margin:0; padding:0 16px; border:0; border-radius:16px; background:var(--f-blue); color:#fff; font-size:17px; font-weight:700; box-shadow:none}
.country-view #regionPreview[data-fiche] .fiche-go #regionRouteAction span {font-size:20px; line-height:1; background:none; width:auto; height:auto; padding:0; border:0}
@media (max-width:779px), (max-width:1024px) and (pointer:coarse) {
  .country-view #regionPreview[data-fiche] {max-height:min(72%, 620px); border-radius:26px 26px 0 0}
  .country-view #regionPreview[data-fiche] .atlas-sheet-body {padding:0 20px}
}

/* ---------- Accueil : rangée de recherche sans bouton d'itinéraire, chips colorées, météo discrète ---------- */
@media (max-width:779px), (max-width:1024px) and (pointer:coarse) {
  .country-view .home-row #routeToggle.home-route-hidden {display:none}
  .country-view .national-sidebar[data-home] .search-nearby-categories button {border:1px solid var(--f-line)!important; background:var(--f-paper)!important; color:var(--f-ink)!important; border-radius:99px!important; height:40px; padding:0 14px 0 10px!important; gap:7px!important}
  .country-view .national-sidebar[data-home] .search-nearby-categories button i {color:#1C6EF2}
  .country-view .national-sidebar[data-home] .search-nearby-categories button[data-category=pharmacy] i,.country-view .national-sidebar[data-home] .search-nearby-categories button[data-category=health] i {color:#2E9E5B}
  .country-view .national-sidebar[data-home] .search-nearby-categories button[data-category=fuel] i {color:#D9A520}
  .country-view .national-sidebar[data-home] .search-nearby-categories button[data-category=cafe] i,.country-view .national-sidebar[data-home] .search-nearby-categories button[data-category=food_drink] i {color:#C0603A}
  .country-view .national-sidebar[data-home] .search-nearby-categories button[data-category=louage] i,.country-view .national-sidebar[data-home] .search-nearby-categories button[data-category=taxi] i {color:#E07B24}
  .country-view .national-sidebar[data-home] .search-nearby-categories button[data-category=atm] i {color:#5A6577}
  .country-view .national-sidebar[data-home] .search-nearby-categories button[data-category=transport] i {color:#3A72A4}
  .country-view .national-sidebar[data-home] .search-nearby-categories button.active {background:var(--f-ink)!important; color:var(--f-paper)!important; border-color:var(--f-ink)!important}
  .country-view .national-sidebar[data-home] .search-nearby-categories button.active i {color:inherit}
  .country-view .national-sidebar[data-home] .atlas-search-result {position:relative; padding-inline-end:70px}
  .country-view .national-sidebar[data-home] .atlas-search-distance {position:absolute; inset-inline-end:0; top:50%; transform:translateY(-50%); font-size:15px; color:var(--f-muted); font-style:normal; white-space:nowrap}
  .country-view .atlas-weather {left:12px; right:auto; bottom:calc(var(--home-height, 96px) + 12px); transition:bottom .26s cubic-bezier(.2,.8,.2,1)}
  .country-view .atlas-weather[data-failed=true] {display:none}
  .country-view .atlas-weather #atlasWeatherToggle {min-height:40px; height:40px; border:0; border-radius:99px; padding:0 14px 0 10px; font-size:14px; background:rgb(255 255 255 / .94); box-shadow:0 6px 18px rgb(0 0 0 / .14)}
  html[data-atlas-theme=night] .country-view .atlas-weather #atlasWeatherToggle {background:rgb(23 27 34 / .92)}
}

/* ---------- Mon Atlas (V3MonAtlas) : le personnel derrière l'avatar ---------- */
#atlasProfilePanel .ma-nav {margin:4px 0 18px}
#atlasProfilePanel .ma-title {font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--f-ink); margin:16px 0 6px}
#atlasProfilePanel .ma-row {display:flex; align-items:center; gap:14px; width:100%; min-height:68px; padding:10px 0; margin:0; border:0; border-bottom:1px solid var(--f-line); border-radius:0; background:none; color:var(--f-ink); text-align:start; font-family:inherit; box-shadow:none}
#atlasProfilePanel .ma-row:last-of-type {border-bottom:0}
#atlasProfilePanel .ma-row i {width:48px; height:48px; min-width:48px; border-radius:14px; display:grid; place-items:center; background:var(--f-chip)}
#atlasProfilePanel .ma-row i svg {width:22px; height:22px}
#atlasProfilePanel .ma-places i {color:#1C6EF2}#atlasProfilePanel .ma-offline i {color:#1C6EF2}#atlasProfilePanel .ma-reports i {color:#E5484D}#atlasProfilePanel .ma-settings i {color:#4B5260}
#atlasProfilePanel .ma-row span {flex:1; min-width:0; display:flex; flex-direction:column; gap:2px}
#atlasProfilePanel .ma-row b {font-size:17px; font-weight:650; line-height:1.25}
#atlasProfilePanel .ma-row small {font-size:14px; color:var(--f-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
#atlasProfilePanel .ma-row em {font-style:normal; font-size:20px; color:var(--f-muted)}
#atlasProfilePanel .ma-reports-list {padding:6px 0 10px 62px; font-size:14px; color:var(--f-muted); border-bottom:1px solid var(--f-line)}
#atlasProfilePanel .ma-reports-list p {margin:4px 0}
#atlasProfilePanel .atlas-profile-identity {display:flex; align-items:center; gap:14px; margin:4px 0 8px}
#atlasProfilePanel .atlas-profile-identity b {font-size:22px; font-weight:800; letter-spacing:-.02em; display:block}
#atlasProfilePanel .atlas-profile-identity small {font-size:14px; color:var(--f-muted)}

/* ---------- Ordinateur v2 (Desk2) : la carte partout, une barre de commande, un dock ---------- */
@media (min-width:781px) and (pointer:fine), (min-width:1025px) {
  .country-view .national-sidebar.search-hub[data-home] {position:absolute; top:16px!important; left:50%!important; right:auto!important; bottom:auto!important; transform:translateX(-50%); width:min(670px, calc(100% - 420px))!important; max-width:none!important; height:auto!important; display:flex; flex-direction:column; padding:0; border:0; border-radius:20px; background:rgb(255 255 255 / .86); backdrop-filter:blur(22px) saturate(1.6); -webkit-backdrop-filter:blur(22px) saturate(1.6); box-shadow:0 12px 34px rgb(16 24 40 / .16); z-index:30; overflow:visible; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
  html[data-atlas-theme=night] .country-view .national-sidebar.search-hub[data-home] {background:rgb(30 35 44 / .94); box-shadow:0 12px 34px rgb(0 0 0 / .5)}
  .country-view .national-sidebar[data-home] .home-grab,.country-view .national-sidebar[data-home] .atlas-brand,.country-view .national-sidebar[data-home] .atlas-top-actions,.country-view .national-sidebar[data-home] .home-more {display:none!important}
  .country-view .national-sidebar[data-home] .home-row {display:flex; align-items:center; gap:8px; padding:8px 10px 8px 8px}
  .country-view .national-sidebar[data-home] .home-row .national-search {flex:1; min-width:0; margin:0; position:static}
  .country-view .national-sidebar[data-home] .home-row .national-search>div {display:flex; align-items:center; gap:10px; height:44px; padding:0 8px 0 12px; border:0; background:none; box-shadow:none}
  .country-view .national-sidebar[data-home] .home-row .national-search>div>svg {width:20px; height:20px; color:var(--f-muted)}
  .country-view .national-sidebar[data-home] .home-row .national-search input {flex:1; height:44px; border:0; background:none; font-size:15.5px; font-weight:500; color:var(--f-ink); box-shadow:none; padding:0}
  .country-view .national-sidebar[data-home] .home-row .national-search>div button {width:36px; height:36px; min-height:36px; padding:0; border:0; background:none; color:var(--f-muted); display:grid; place-items:center}
  .country-view .national-sidebar[data-home] .home-row #routeToggle {display:none}
  .country-view .national-sidebar[data-home] .desk-kbd {font-family:inherit; font-size:11.5px; font-weight:600; color:var(--f-muted); padding:3px 7px; border:1px solid var(--f-line); border-radius:7px; background:var(--f-paper); white-space:nowrap}
  .country-view .national-sidebar[data-home] .home-row .home-avatar {width:40px; height:40px; min-width:40px; min-height:40px; border-radius:50%; border:0; background:var(--f-ink); color:var(--f-paper); display:grid; place-items:center; font-size:0; padding:0}
  .country-view .national-sidebar[data-home] .home-row .home-avatar svg {width:20px; height:20px}
  .country-view .national-sidebar[data-home] .home-content {display:none}
  .country-view .national-sidebar[data-home]:focus-within .home-content,.country-view .national-sidebar[data-home]:has(.national-search-results:not([hidden])) .home-content {display:block; padding:0 10px 10px; max-height:calc(100dvh - 140px); overflow:auto; scrollbar-width:none}
  .country-view .national-sidebar[data-home] #nationalSearchResults.national-search-results {position:static!important; left:auto!important; right:auto!important; top:auto!important; width:auto!important; max-height:none!important; margin:0!important; padding:0!important; border:0!important; box-shadow:none!important; background:none!important; display:block}
  .country-view .national-sidebar[data-home] .search-results-heading {padding:12px 8px 6px; font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--f-muted)}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result {display:flex!important; grid-template-columns:none; align-items:center; gap:12px; width:100%; min-height:54px!important; padding:8px 8px!important; border:0!important; border-radius:12px; background:none; color:var(--f-ink); text-align:start; position:relative}
  .country-view .national-sidebar[data-home] .atlas-search-result:hover,.country-view .national-sidebar[data-home] .atlas-search-result[aria-selected=true] {background:var(--f-chip)}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result i {width:36px!important; height:36px!important; min-width:36px; border-radius:11px; display:grid; place-items:center; background:var(--f-chip)!important; color:var(--f-ink)!important; order:0}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result i svg {color:var(--f-ink)!important; stroke:currentColor}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result+.atlas-search-result {border-top:1px solid var(--f-line)!important; border-radius:0}
  .country-view .national-sidebar[data-home] .atlas-search-result i svg {width:18px; height:18px}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result-text {display:flex!important; flex-direction:row; align-items:baseline; gap:8px!important; min-width:0; flex:1}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result b {font-size:15px!important; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; overflow-wrap:normal!important; line-height:1.3!important}
  .country-view .national-sidebar[data-home] .atlas-search-result b mark {background:none; color:var(--f-blue)}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result small {display:block!important; -webkit-line-clamp:unset!important; font-size:13.5px!important; color:var(--f-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; overflow-wrap:normal!important}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-distance {position:static!important; transform:none!important; order:3; margin-inline-start:auto; font-size:13.5px; color:var(--f-muted); font-style:normal; white-space:nowrap; padding-inline-start:12px}
  .country-view .national-sidebar[data-home] .search-nearby-categories {display:flex!important; grid-template-columns:none!important; flex-wrap:wrap; gap:6px; padding:4px 8px 8px}
  .country-view .national-sidebar[data-home] .atlas-profile-search-shortcuts {display:flex; gap:6px; margin:10px 8px 2px}
  .country-view .national-sidebar[data-home] .atlas-profile-search-shortcuts>button {flex:0 0 auto; display:flex; align-items:center; gap:6px; height:34px; min-height:34px; padding:0 12px 0 8px; border:1px solid var(--f-line); border-radius:99px; background:var(--f-paper); color:var(--f-ink); font-size:13.5px; font-weight:600; width:auto}
  .country-view .national-sidebar[data-home] .atlas-profile-search-shortcuts>button i {width:18px; height:18px; display:grid; place-items:center; background:none!important; color:var(--f-blue)}
  .country-view .national-sidebar[data-home] .atlas-profile-search-shortcuts>button svg {width:16px; height:16px}
  .country-view .national-sidebar[data-home] .search-nearby-categories button {width:auto!important; min-width:0!important; flex-direction:row!important; justify-content:flex-start}
  .country-view .national-sidebar[data-home] .search-nearby-categories button {display:flex!important; align-items:center; gap:6px!important; height:34px!important; min-height:34px!important; padding:0 12px 0 8px!important; border:1px solid var(--f-line)!important; border-radius:99px!important; background:var(--f-paper)!important; color:var(--f-ink)!important; font-size:13.5px!important; font-weight:600}
  .country-view .national-sidebar[data-home] .search-nearby-categories button span {font-size:13.5px!important; font-weight:600; overflow:visible}
  .country-view .national-sidebar[data-home] .search-nearby-categories .atlas-categories-more {border-style:dashed!important; color:var(--f-muted)!important}
  .country-view .national-sidebar[data-home] .search-nearby-categories button i {width:18px; height:18px; display:grid; place-items:center; background:none!important; color:var(--f-blue)}
  .country-view .national-sidebar[data-home] .search-nearby-categories button i svg {width:16px; height:16px}
  .country-view .national-sidebar[data-home] .search-nearby-categories button.active {background:var(--f-ink); color:var(--f-paper); border-color:var(--f-ink)}
  .country-view .national-sidebar[data-home] .search-nearby-categories button.active i {color:inherit}
  /* Alignement strict : la ligne et la liste occupent toute la largeur du panneau, rien ne dépasse */
  .country-view .national-sidebar.search-hub[data-home] {align-items:stretch; box-sizing:border-box}
  .country-view .national-sidebar[data-home] .home-row {width:auto!important; max-width:none!important; margin:0!important; align-self:stretch; box-sizing:border-box; padding:8px 8px 8px 6px}
  .country-view .national-sidebar[data-home] .home-row .national-search>div {gap:20px!important; padding:0 4px 0 16px!important; border:0!important; outline:0!important; box-shadow:none!important; background:none!important}
  .country-view .national-sidebar[data-home] .home-row .national-search input {-webkit-appearance:none; appearance:none; outline:0!important; border:0!important; box-shadow:none!important; border-radius:0}
  .country-view .national-sidebar[data-home] .home-row .national-search input::-webkit-search-decoration,.country-view .national-sidebar[data-home] .home-row .national-search input::-webkit-search-cancel-button {-webkit-appearance:none}
  .country-view .national-sidebar[data-home] .desk-kbd {border:0!important; background:var(--f-chip)!important; padding:4px 8px; border-radius:8px}
  .country-view .national-sidebar[data-home]:focus-within .desk-kbd {display:none}
  .country-view .national-sidebar[data-home] .home-content {width:auto!important; max-width:none!important; margin:0!important; align-self:stretch; box-sizing:border-box; padding:0 8px 8px!important}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result {box-sizing:border-box; margin:0!important; max-width:100%; padding:8px 10px 8px 6px!important}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result+.atlas-search-result {border-top:0!important; box-shadow:inset 0 1px 0 var(--f-line)}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result:hover {box-shadow:none; border-radius:12px}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result-text {overflow:hidden}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result b {flex:0 0 auto; max-width:62%}
  .country-view .national-sidebar[data-home] #nationalSearchResults .atlas-search-result small {flex:1 1 0; min-width:0}
  /* Dock */
  .country-view .desk-dock {position:absolute; left:50%; bottom:16px; transform:translateX(-50%); display:flex; gap:4px; padding:6px; border-radius:18px; background:rgb(255 255 255 / .86); backdrop-filter:blur(22px) saturate(1.6); -webkit-backdrop-filter:blur(22px) saturate(1.6); box-shadow:0 12px 34px rgb(16 24 40 / .16); z-index:29; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
  html[data-atlas-theme=night] .country-view .desk-dock {background:rgb(23 27 34 / .88)}
  .country-view .desk-dock[hidden] {display:none}
  /* L'invitation à la bêta et « Reprendre le dernier trajet » se posent au-dessus du dock. */
  .country-view:has(> .desk-dock:not([hidden])) :is(.atlas-beta-offer, .atlas-resume-route) {bottom:88px}
  .country-view .desk-dock button {display:flex; align-items:center; gap:8px; height:40px; padding:0 14px; border:0; border-radius:13px; background:none; color:var(--f-ink); font-size:14px; font-weight:600; font-family:inherit; cursor:pointer}
  .country-view .desk-dock button svg {width:18px; height:18px}
  .country-view .desk-dock button.active {background:var(--f-ink); color:var(--f-paper)}
  /* Contrôles à droite, en pile */
  .country-view .public-map-controls {position:absolute; right:16px; top:50%; bottom:auto; left:auto; transform:translateY(-50%); display:flex; flex-direction:column; gap:10px; z-index:28}
  .country-view .public-map-controls button,.country-view .public-map-controls .atlas-map-zoom {border:0; border-radius:14px; background:rgb(255 255 255 / .94); box-shadow:0 6px 18px rgb(0 0 0 / .12); color:var(--f-ink)}
  html[data-atlas-theme=night] .country-view .public-map-controls button,html[data-atlas-theme=night] .country-view .public-map-controls .atlas-map-zoom {background:rgb(23 27 34 / .92)}
  .country-view .public-map-controls>button {width:44px; height:44px; min-height:44px; padding:0; display:grid; place-items:center; font-size:0}
  .country-view .public-map-controls>button svg {width:20px; height:20px}
  .country-view .public-map-controls>button b,.country-view .public-map-controls>button span:not([aria-hidden]) {display:none}
  .country-view .public-map-controls #atlasMapTilt span {font-size:13px; font-weight:800}
  .country-view .public-map-controls .atlas-map-zoom {display:flex; flex-direction:column; overflow:hidden; width:44px; padding:0}
  .country-view .public-map-controls .atlas-map-zoom button {width:44px!important; min-width:44px!important; height:44px; min-height:44px; border:0!important; border-radius:0; background:none!important; box-shadow:none; display:grid; place-items:center; padding:0}
  .country-view .public-map-controls .atlas-map-zoom button+button {border-top:1px solid var(--f-line)!important; border-inline-start:0!important}
  .country-view .public-map-controls .atlas-map-zoom button svg {width:18px; height:18px}
  /* Une seule famille de boutons : 44 × 44, icône centrée au pixel */
  .country-view .public-map-controls {align-items:center}
  .country-view .public-map-controls>button {display:flex!important; align-items:center; justify-content:center; box-sizing:border-box; width:44px!important; min-width:44px!important; max-width:44px; border:0!important; outline:0}
  .country-view .public-map-controls>button>svg {display:block; margin:0!important; flex:0 0 20px}
  .country-view .public-map-controls>button>b,.country-view .public-map-controls>button>small {display:none!important}
  .country-view .public-map-controls #atlasMapTilt span {display:block; margin:0; text-align:center; line-height:1; letter-spacing:.02em}
  .country-view .public-map-controls .atlas-map-zoom {box-sizing:border-box; border-radius:14px}
  .country-view .public-map-controls .atlas-map-zoom button {display:flex!important; align-items:center; justify-content:center}
  .country-view #locateMap {color:var(--f-blue)}
  .country-view .atlas-weather {left:auto; right:16px; bottom:16px; top:auto}
  .country-view .atlas-weather[data-failed=true] {display:none}
  .country-view .atlas-weather #atlasWeatherToggle {border:0; border-radius:14px; height:40px; min-height:40px; background:rgb(255 255 255 / .94); box-shadow:0 6px 18px rgb(0 0 0 / .12); font-size:14px}
  /* Nuit : sans cette règle, texte clair sur fond blanc (température invisible). */
  html[data-atlas-theme=night] .country-view .atlas-weather #atlasWeatherToggle {background:rgb(23 27 34 / .92); box-shadow:0 6px 18px rgb(0 0 0 / .4)}
  /* Fiche lieu (Desk3Fiche) : panneau ancré à gauche, la carte libre à droite */
  .country-view #regionPreview[data-fiche] {position:absolute; left:16px; top:16px; bottom:auto; right:auto; transform:none; width:440px; max-height:calc(100dvh - 32px); box-sizing:border-box; padding:22px 22px 0; border:0; border-radius:24px; background:var(--f-paper); box-shadow:0 18px 50px rgb(16 24 40 / .18), 0 0 0 1px rgb(16 24 40 / .04); overflow:auto; scrollbar-width:none; transform-origin:left top}
  html[dir=rtl] .country-view #regionPreview[data-fiche] {left:auto; right:16px; transform-origin:right top}
  .country-view #regionPreview[data-fiche]:not([hidden]) {animation:fiche-in .34s cubic-bezier(.2,.9,.25,1) both}
  @keyframes fiche-in {from {opacity:0; transform:translateX(-18px) scale(.985)} to {opacity:1; transform:none}}
  html[dir=rtl] .country-view #regionPreview[data-fiche]:not([hidden]) {animation-name:fiche-in-rtl}
  @keyframes fiche-in-rtl {from {opacity:0; transform:translateX(18px) scale(.985)} to {opacity:1; transform:none}}
  .country-view #regionPreview[data-fiche] .atlas-sheet-handle {display:none}
  .country-view #regionPreview[data-fiche] h2 {font-size:24px; margin-inline-end:44px}
  .country-view #regionPreview[data-fiche] .preview-close {position:absolute; top:18px; inset-inline-end:18px}
  .country-view #regionPreview[data-fiche] .region-preview-secondary-title {display:block; font-size:14px; text-align:left; margin-top:2px}
  html[dir=rtl] .country-view #regionPreview[data-fiche] .region-preview-secondary-title {text-align:right}
  /* Une rangée : « Y aller » en bleu, puis les actions en ronds (icône seule, nom en infobulle) */
  .country-view #regionPreview[data-fiche] .fiche-row {display:flex; align-items:center; gap:10px; margin:16px 0 0}
  .country-view #regionPreview[data-fiche] .fiche-row #regionRouteAction {flex:1; display:flex; align-items:center; justify-content:center; gap:10px; height:46px; min-height:46px; margin:0; padding:0 18px; border:0; border-radius:23px; background:var(--f-blue); color:#fff; font-size:15.5px; font-weight:700; box-shadow:none; cursor:pointer}
  .country-view #regionPreview[data-fiche] .fiche-row #regionRouteAction[hidden] {display:none}
  .country-view #regionPreview[data-fiche] .fiche-row .fiche-actions {flex:none; margin:0; gap:8px}
  .country-view #regionPreview[data-fiche] .fiche-row .fiche-action {flex:none; width:46px; height:46px; min-height:46px; padding:0; gap:0; border-radius:50%; font-size:0}
  .country-view #regionPreview[data-fiche] .fiche-row .fiche-action>span:not(:first-child),.country-view #regionPreview[data-fiche] .fiche-row .fiche-action>span:only-child {display:none}
  .country-view #regionPreview[data-fiche] .fiche-row .fiche-action svg {width:19px; height:19px}
  .country-view #regionPreview[data-fiche] .fiche-row #regionSaveAction::before,.country-view #regionPreview[data-fiche] .fiche-row #regionShareAction::before {width:19px; height:19px}
  .country-view #regionPreview[data-fiche] .fiche-go:empty {display:none}
  /* Liens discrets en bas : tous du même style (plus de pastille 3D bleue) */
  .country-view #regionPreview[data-fiche] .fiche-links {order:9; margin:18px 0 0; padding-top:12px; border-top:1px solid var(--f-line); gap:2px 20px}
  .country-view #regionPreview[data-fiche] .fiche-links>* {background:none!important; color:var(--f-blue)!important; border:0!important; box-shadow:none!important; padding:0!important; min-height:34px!important; height:auto!important; border-radius:0!important; font-size:13.5px!important; font-weight:600!important}
  .country-view #regionPreview[data-fiche] .fiche-links>button>span:first-child {display:none}
  .country-view #regionPreview[data-fiche] .atlas-place-sources {margin-bottom:18px}
  /* La barre de commande se décale quand la fiche occupe la gauche */
  html[data-atlas-fiche=open] .country-view .national-sidebar.search-hub[data-home] {left:calc(472px + (100% - 472px) / 2)!important; width:min(560px, calc(100% - 520px))!important}
  html[dir=rtl][data-atlas-fiche=open] .country-view .national-sidebar.search-hub[data-home] {left:calc((100% - 472px) / 2)!important}
  /* Panneaux secondaires (Mon Atlas, Enregistrés, Menu, Affichage) : carte flottante à gauche */
  .country-view .secondary-panel {left:16px; top:16px; bottom:auto; max-height:calc(100dvh - 32px); width:380px; border:0; border-radius:22px; box-shadow:0 18px 50px rgb(16 24 40 / .22)}
}

/* ---------- Gestes ---------- */
.country-view .atlas-user-location {pointer-events:auto; cursor:grab; touch-action:none}
.country-view .geste-ghost {position:absolute; left:0; top:0; width:28px; height:28px; margin:-14px 0 0 -14px; border-radius:50%; background:#1C6EF2; border:3px solid #fff; box-shadow:0 0 0 8px rgb(28 110 242 / .18), 0 6px 18px rgb(0 0 0 / .25); pointer-events:none; z-index:60}
.country-view .geste-hint {position:absolute; left:0; top:0; margin-left:-110px; width:220px; padding:10px 14px; border-radius:14px; background:#14171C; color:#fff; box-shadow:0 10px 24px rgb(16 24 40 / .3); pointer-events:none; z-index:61; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.country-view .geste-hint b {display:block; font-size:14px; font-weight:700}
.country-view .geste-hint p {margin:2px 0 0; font-size:12.5px; color:rgb(255 255 255 / .75); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.country-view .geste-hint[hidden] {display:none}
.geste-compris {margin:8px 0 4px; padding:12px 14px; border-radius:14px; background:var(--f-chip)}
.geste-compris p {font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--f-secondary,#4B5260); margin:0 0 8px}
.geste-compris div {display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px}
.geste-compris span {padding:6px 10px; border-radius:9px; background:var(--f-paper); box-shadow:0 0 0 1px var(--f-line) inset; font-size:13px; font-weight:600; color:var(--f-ink)}
.country-view .geste-compris button {min-height:40px; width:100%; border:0!important; border-radius:12px!important; background:var(--f-ink)!important; color:var(--f-paper)!important; font-size:14px!important; font-weight:700; padding:0 14px; box-shadow:none}

/* ---------- Lampadaires : réglage (LampesReglages) ---------- */
.lampes-settings {margin-top:14px; padding-top:12px; border-top:1px solid var(--f-line)}
.lampes-settings h4 {font-size:14px; font-weight:700; margin:0 0 8px}
.lampes-seg {display:flex; padding:3px; border-radius:12px; background:var(--f-chip)}
.lampes-seg button {flex:1; min-height:34px; border:0!important; border-radius:10px; background:transparent!important; color:var(--f-ink); font-size:13px; font-weight:500; padding:6px 4px; box-shadow:none!important}
.lampes-seg button[aria-pressed=true] {background:var(--f-ink)!important; color:var(--f-paper); font-weight:700}
.lampes-range {display:flex; align-items:center; gap:12px; margin-top:12px; font-size:14px}
.lampes-range span {flex:0 0 auto}
.lampes-range input {flex:1; accent-color:#F2A65A}
.lampes-switch {display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px}
.lampes-switch b {display:block; font-size:14px; font-weight:600}
.lampes-switch small {display:block; font-size:12px; color:var(--f-muted)}
.lampes-switch input {appearance:none; -webkit-appearance:none; position:relative; width:46px; min-width:46px; height:28px; border:0; border-radius:99px; background:#C9CDD5; margin:0}
.lampes-switch input:checked {background:#1C6EF2}
.lampes-switch input::after {content:""; position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 1px 3px #0003; transition:transform .18s}
.lampes-switch input:checked::after {transform:translateX(18px)}
.lampes-switch input:disabled,.lampes-range input:disabled {opacity:.4}

/* ---------- Mon Atlas, à plat (retour du 9 novembre : plus de tuiles ni de blocs) ---------- */
#atlasProfilePanel .ma-row {min-height:56px; gap:14px; padding:8px 0}
#atlasProfilePanel .ma-row i {width:24px!important; height:24px!important; min-width:24px!important; border-radius:0!important; background:none!important; box-shadow:none!important}
#atlasProfilePanel .ma-row i svg {width:22px; height:22px}
#atlasProfilePanel .ma-row b {font-size:16px; font-weight:600}
#atlasProfilePanel .ma-row small {font-size:13.5px}
#atlasProfilePanel .ma-row em {font-size:18px; opacity:.6}
#atlasProfilePanel .ma-title {font-size:12px; color:var(--f-muted); margin:20px 0 2px}
#atlasProfilePanel .atlas-profile-identity .atlas-profile-icon,#atlasProfilePanel .atlas-profile-icon {background:none!important; border:0!important; width:28px; height:28px; border-radius:0}
#atlasProfilePanel .atlas-profile-identity {padding-top:14px; border-top:1px solid var(--f-line); margin-top:10px}
#atlasProfilePanel .atlas-profile-identity b {font-size:17px; font-weight:700; letter-spacing:0}
#atlasProfilePanel .atlas-profile-distance {padding:0!important; border:0!important; border-radius:0!important; background:none!important}
#atlasProfilePanel .atlas-profile-period {display:inline-flex; padding:2px; border-radius:9px; background:var(--f-chip)!important; margin:4px 0 10px}
#atlasProfilePanel .atlas-profile-period button {flex:0 0 auto; min-height:30px!important; height:30px; padding:0 14px; border-radius:7px; font-size:13px; font-weight:600; background:transparent!important; color:var(--f-ink)!important; box-shadow:none}
#atlasProfilePanel .atlas-profile-period button[aria-pressed=true] {background:var(--f-paper)!important; box-shadow:0 1px 3px rgb(0 0 0 / .14)!important}
#atlasProfilePanel .atlas-profile-total strong {font-size:30px!important; color:var(--f-ink)}
#atlasProfilePanel .atlas-profile-total {color:var(--f-ink)!important}
html[data-atlas-theme=night] #atlasProfilePanel .atlas-profile-period button[aria-pressed=true] {background:#3A414D!important}

/* Domicile / Travail : pastilles sans carré intérieur */
.country-view .atlas-profile-search-shortcuts>button .atlas-profile-icon {width:18px!important; height:18px!important; min-width:18px; background:none!important; border:0!important; border-radius:0!important; box-shadow:none!important; padding:0; color:var(--f-blue)}
.country-view .atlas-profile-search-shortcuts>button .atlas-profile-icon svg {width:16px; height:16px}
.country-view .atlas-profile-search-shortcuts>button {border:1px solid var(--f-line)!important; background:var(--f-paper)!important; box-shadow:none!important}

/* Lieu sélectionné (à la Apple Plans) : le rond grandit en épingle avec un léger rebond */
.atlas-selected-pin {pointer-events:none; width:0; height:0}
.atlas-selected-pin .pin {position:absolute; left:-22px; bottom:2px; width:44px; height:54px; transform-origin:50% 100%; animation:pin-pop .42s cubic-bezier(.3,1.5,.5,1) both; filter:drop-shadow(0 6px 10px rgb(16 24 40 / .28))}
.atlas-selected-pin .pin svg {display:block; width:44px; height:54px}
.atlas-selected-pin .pin i {position:absolute; left:11px; top:10px; width:22px; height:22px; background:#fff; -webkit-mask:var(--g) center/contain no-repeat; mask:var(--g) center/contain no-repeat}
.atlas-selected-pin .dot {position:absolute; left:-4px; top:-4px; width:8px; height:8px; border-radius:50%; background:var(--c); box-shadow:0 0 0 2px #fff; animation:pin-dot .3s ease-out both}
.atlas-selected-pin.leaving .pin {animation:pin-out .16s ease-in both}
.atlas-selected-pin.leaving .dot {opacity:0}
@keyframes pin-pop {0% {transform:scale(.25) translateY(10px); opacity:0} 60% {transform:scale(1.08); opacity:1} 100% {transform:scale(1)}}
@keyframes pin-out {to {transform:scale(.3) translateY(8px); opacity:0}}
@keyframes pin-dot {from {transform:scale(0)} to {transform:scale(1)}}
@media (prefers-reduced-motion: reduce) {.atlas-selected-pin .pin,.atlas-selected-pin .dot,.country-view #regionPreview[data-fiche]:not([hidden]) {animation:none!important}}

/* ---------- Fiche (Desk3Fiche / V3Fiche) : état, horaires, photos, entrée ---------- */
.country-view #regionPreview[data-fiche] .fiche-meta {margin:6px 0 0; font-size:14px; line-height:1.4; color:var(--f-muted)}
.country-view #regionPreview[data-fiche] .fiche-meta b.open {color:#1f8a4c; font-weight:700}
.country-view #regionPreview[data-fiche] .fiche-meta b.closed {color:#c0392b; font-weight:700}
html[data-atlas-theme=night] .country-view #regionPreview[data-fiche] .fiche-meta b.open {color:#5fd08f}
html[data-atlas-theme=night] .country-view #regionPreview[data-fiche] .fiche-meta b.closed {color:#ff8a7a}
.country-view #regionPreview[data-fiche].fiche-has-meta #regionPreviewText {display:none}
.country-view #regionPreview[data-fiche] .fiche-hours {margin:18px 0 0}
.country-view #regionPreview[data-fiche] .fiche-hours[hidden] {display:none}
.country-view #regionPreview[data-fiche] .fiche-hours h3 {margin:0 0 6px; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--f-ink)}
.country-view #regionPreview[data-fiche] .fiche-hours dl {margin:0}
.country-view #regionPreview[data-fiche] .fiche-hours div {display:flex; justify-content:space-between; gap:12px; padding:4px 0; font-size:14px; color:var(--f-ink); font-variant-numeric:tabular-nums}
.country-view #regionPreview[data-fiche] .fiche-hours dt {color:var(--f-muted); margin:0}
.country-view #regionPreview[data-fiche] .fiche-hours dd {margin:0; text-align:end}
.country-view #regionPreview[data-fiche] .fiche-hours .today dt,.country-view #regionPreview[data-fiche] .fiche-hours .today dd {color:var(--f-ink); font-weight:700}
.country-view #regionPreview[data-fiche] .fiche-hours small {display:block; margin-top:6px; font-size:12px; color:var(--f-muted)}
.country-view #regionPreview[data-fiche] .atlas-place-practical dt[hidden],.country-view #regionPreview[data-fiche] .atlas-place-practical dd[hidden] {display:none}
.country-view #regionPreview[data-fiche] .fiche-photos {display:grid; grid-template-columns:2fr 1fr; grid-template-rows:96px 96px; gap:5px; margin:0 0 16px; border-radius:16px; overflow:hidden}
.country-view #regionPreview[data-fiche] .fiche-photos[hidden] {display:none}
.country-view #regionPreview[data-fiche] .fiche-photos[data-count="1"] {grid-template-columns:1fr; grid-template-rows:190px}
.country-view #regionPreview[data-fiche] .fiche-photos[data-count="2"] {grid-template-columns:1fr 1fr; grid-template-rows:170px}
.country-view #regionPreview[data-fiche] .fiche-photos .ph {position:relative; display:block; background:var(--f-chip)}
.country-view #regionPreview[data-fiche] .fiche-photos[data-count="3"] .ph-0 {grid-row:1 / 3}
.country-view #regionPreview[data-fiche] .fiche-photos img {display:block; width:100%; height:100%; object-fit:cover}
.country-view #regionPreview[data-fiche] .fiche-photos .ph span {position:absolute; inset:0; display:grid; place-items:center; background:rgb(0 0 0 / .38); color:#fff; font-weight:700; font-size:14px}
.country-view #regionPreview[data-fiche] .fiche-photos .ph-credit {grid-column:1 / -1; font-size:11px; color:var(--f-muted); padding:3px 6px 0; background:var(--f-paper)}
.country-view #regionPreview[data-fiche] .fiche-photos:has(.ph-credit) {grid-template-rows:96px 96px auto}
.country-view #regionPreview[data-fiche] .fiche-photos[data-count="1"]:has(.ph-credit) {grid-template-rows:190px auto}
.country-view #regionPreview[data-fiche] .fiche-photos[data-count="2"]:has(.ph-credit) {grid-template-rows:170px auto}
.atlas-entrance-mark {display:flex; align-items:center; gap:6px; pointer-events:none}
.atlas-entrance-mark i {width:12px; height:12px; border-radius:50%; background:#14171c; box-shadow:0 0 0 2.5px #fff}
.atlas-entrance-mark b {font:700 12px/1 Inter,-apple-system,sans-serif; color:#14171c; text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 3px #fff}
html[data-atlas-theme=night] .atlas-entrance-mark i {background:#f2f4f7; box-shadow:0 0 0 2.5px #14171c}
html[data-atlas-theme=night] .atlas-entrance-mark b {color:#f2f4f7; text-shadow:0 0 3px #14171c,0 0 3px #14171c}
@media (min-width:781px) and (pointer:fine), (min-width:1025px) {
  .country-view #regionPreview[data-fiche]:has(.fiche-photos:not([hidden])) .preview-close {top:30px; inset-inline-end:30px; z-index:3; background:rgb(255 255 255 / .92); color:#14171c; box-shadow:0 2px 8px rgb(0 0 0 / .18)}
}

/* ---------- Résultats par catégorie (Desk3Explorer ; téléphone : pastilles numérotées V3Resultats) ---------- */
.atlas-nearby-pin .g,.atlas-nearby-pin b {display:none}
.country-view .atlas-nearby-row .atlas-nearby-thumb {display:none}
.country-view .atlas-nearby-row>span:not([class]) {flex:1}
.country-view .atlas-nearby-row .atlas-nearby-dist {flex:none; margin-inline-start:auto; font-size:13px; font-weight:600; color:var(--f-muted,#6b7280); white-space:nowrap}
.country-view .atlas-nearby-row small em {font-style:normal; font-weight:700}
.country-view .atlas-nearby-row small em.open {color:#1f8a4c}
.country-view .atlas-nearby-row small em.closed {color:#c0392b}
html[data-atlas-theme=night] .country-view .atlas-nearby-row small em.open {color:#5fd08f}
html[data-atlas-theme=night] .country-view .atlas-nearby-row small em.closed {color:#ff8a7a}
@media (min-width:781px) and (pointer:fine), (min-width:1025px) {
  .country-view .atlas-nearby-panel:not([hidden]) {position:absolute; left:16px!important; top:16px!important; bottom:auto!important; width:408px!important; max-height:calc(100dvh - 32px)!important; box-sizing:border-box; padding:20px 20px 12px!important; border:0!important; border-radius:24px!important; background:var(--f-paper)!important; box-shadow:0 18px 50px rgb(16 24 40 / .18), 0 0 0 1px rgb(16 24 40 / .04)!important; overflow:auto; scrollbar-width:none; animation:fiche-in .3s cubic-bezier(.2,.9,.25,1) both}
  .country-view .atlas-nearby-panel h2 {font-size:22px!important; font-weight:800; letter-spacing:-.02em; margin:0}
  .country-view .atlas-nearby-panel #atlasNearbyCount {font-size:13.5px; color:var(--f-muted); margin:3px 0 0}
  .country-view .atlas-nearby-panel .atlas-nearby-actions {order:9; margin:6px 0 0; gap:16px}
  .country-view .atlas-nearby-panel .atlas-nearby-actions button {border:0!important; background:none!important; padding:0!important; min-height:32px!important; color:var(--f-blue)!important; font-size:13.5px!important; font-weight:600}
  .country-view .atlas-nearby-panel #atlasNearbyOrigin {font-size:12px; margin:4px 0 8px}
  .country-view .atlas-nearby-row {gap:12px!important; min-height:0!important; padding:10px 10px!important; margin:0 -10px; width:calc(100% + 20px)!important; border-bottom:0!important; border-radius:14px!important}
  .country-view .atlas-nearby-row>i {display:none!important}
  .country-view .atlas-nearby-row .atlas-nearby-thumb {display:block; flex:none; position:relative; width:52px; height:52px; border-radius:12px; overflow:hidden; background:var(--c)}
  .country-view .atlas-nearby-row .atlas-nearby-thumb::after {content:""; position:absolute; inset:14px; background:#fff; -webkit-mask:var(--g) center/contain no-repeat; mask:var(--g) center/contain no-repeat}
  .country-view .atlas-nearby-row .atlas-nearby-thumb.photo::after {display:none}
  .country-view .atlas-nearby-row .atlas-nearby-thumb img {display:block; width:100%; height:100%; object-fit:cover}
  .country-view .atlas-nearby-row b {font-size:15px!important; font-weight:700!important}
  .country-view .atlas-nearby-row:hover,.country-view .atlas-nearby-row.hot {background:var(--f-sel,#eef4ff)!important}
  html[data-atlas-theme=night] .country-view .atlas-nearby-row:hover,html[data-atlas-theme=night] .country-view .atlas-nearby-row.hot {background:#1f2a3d!important}
  .atlas-nearby-pin {position:relative; width:22px!important; height:22px!important; min-height:22px!important; padding:0!important; border:0!important; background:none!important; box-shadow:none!important; transition:transform .15s ease}
  .atlas-nearby-pin .n {display:none}
  .atlas-nearby-pin .g {display:block; position:absolute; inset:0; border-radius:50%; background:var(--c); box-shadow:0 0 0 2px #fff, 0 2px 6px rgb(16 24 40 / .3)}
  html[data-atlas-theme=night] .atlas-nearby-pin .g {box-shadow:0 0 0 2px #14181d, 0 2px 6px rgb(0 0 0 / .5)}
  .atlas-nearby-pin .g::after {content:""; position:absolute; inset:5px; background:#fff; -webkit-mask:var(--g) center/contain no-repeat; mask:var(--g) center/contain no-repeat}
  .atlas-nearby-pin.named b,.atlas-nearby-pin.hot b {display:block; position:absolute; left:28px; top:50%; transform:translateY(-50%); white-space:nowrap; font:700 12px/1 Inter,-apple-system,sans-serif; color:var(--c); filter:brightness(.72); text-shadow:0 0 2px #fff,0 0 3px #fff,0 0 3px #fff}
  html[data-atlas-theme=night] .atlas-nearby-pin.named b,html[data-atlas-theme=night] .atlas-nearby-pin.hot b {filter:brightness(1.5); text-shadow:0 0 2px #14181d,0 0 3px #14181d}
  .maplibregl-marker:has(.atlas-nearby-pin.hot) {z-index:5}
  .atlas-nearby-pin.hot {transform:scale(1.3)}
  .atlas-nearby-preview-holder {pointer-events:none}
  .atlas-nearby-preview {pointer-events:none; width:220px; border-radius:14px; overflow:hidden; background:var(--f-paper,#fff); box-shadow:0 12px 30px rgb(16 24 40 / .22); font-family:Inter,-apple-system,sans-serif; animation:fiche-in .18s ease-out both}
  .atlas-nearby-preview img {display:block; width:100%; height:96px; object-fit:cover}
  .atlas-nearby-preview b {display:block; padding:10px 12px 0; font-size:14px; font-weight:700; color:var(--f-ink,#14171c)}
  .atlas-nearby-preview small {display:block; padding:3px 12px 10px; font-size:12.5px; color:var(--f-muted,#6b7280)}
  html[data-atlas-nearby=open] .country-view .national-sidebar.search-hub[data-home] {left:calc(440px + (100% - 440px) / 2)!important; width:min(560px, calc(100% - 500px))!important}
}

/* Quartier (Desk3Quartier) */
.country-view #regionPreview[data-fiche].fiche-is-area #regionPreviewType {display:block; margin:0 0 4px; font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--f-muted)}
.country-view #regionPreview[data-fiche] .fiche-area {margin:16px 0 0}
.country-view #regionPreview[data-fiche] .fiche-area[hidden] {display:none}
.country-view #regionPreview[data-fiche] .fiche-facts {margin:0 0 14px}
.country-view #regionPreview[data-fiche] .fiche-facts div {display:flex; justify-content:space-between; gap:14px; padding:10px 0; border-bottom:1px solid var(--f-line); font-size:14px}
.country-view #regionPreview[data-fiche] .fiche-facts dt {margin:0; color:var(--f-muted); flex:none}
.country-view #regionPreview[data-fiche] .fiche-facts dd {margin:0; text-align:end; font-weight:650; color:var(--f-ink)}
.country-view #regionPreview[data-fiche] .fiche-area h3 {margin:4px 0 6px; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--f-ink)}
.country-view #regionPreview[data-fiche] .fiche-highlight {display:flex; align-items:center; gap:12px; width:100%; min-height:0; padding:8px 0; border:0; background:none; color:inherit; font:inherit; text-align:start; cursor:pointer; box-shadow:none}
.country-view #regionPreview[data-fiche] .fiche-highlight .th {flex:none; position:relative; width:44px; height:44px; border-radius:11px; overflow:hidden; background:var(--c)}
.country-view #regionPreview[data-fiche] .fiche-highlight .th::after {content:""; position:absolute; inset:12px; background:#fff; -webkit-mask:var(--g) center/contain no-repeat; mask:var(--g) center/contain no-repeat}
.country-view #regionPreview[data-fiche] .fiche-highlight .th.photo::after {display:none}
.country-view #regionPreview[data-fiche] .fiche-highlight .th img {display:block; width:100%; height:100%; object-fit:cover}
.country-view #regionPreview[data-fiche] .fiche-highlight .tx {flex:1; min-width:0; display:flex; flex-direction:column}
.country-view #regionPreview[data-fiche] .fiche-highlight b {font-size:14.5px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.country-view #regionPreview[data-fiche] .fiche-highlight small {font-size:12.5px; color:var(--f-muted)}
.country-view #regionPreview[data-fiche] .fiche-highlight .ds {flex:none; font-size:13px; font-weight:600; color:var(--f-muted)}
.country-view #regionPreview[data-fiche] .fiche-highlight:hover b {color:var(--f-blue)}

/* Entourer une zone (CercleZone) */
.atlas-zone-draw {position:absolute; inset:0; z-index:40; cursor:crosshair; touch-action:none; background:rgb(28 110 242 / .04)}
.atlas-zone-draw svg {position:absolute; inset:0; width:100%; height:100%; pointer-events:none}
.atlas-zone-draw path {fill:rgb(28 110 242 / .12); stroke:#1c6ef2; stroke-width:3.5; stroke-linejoin:round; stroke-linecap:round}
.atlas-zone-draw p {position:absolute; left:50%; top:84px; transform:translateX(-50%); margin:0; padding:9px 14px; border-radius:999px; background:#14171c; color:#fff; font:600 13.5px/1 Inter,-apple-system,sans-serif; white-space:nowrap; pointer-events:none}
