/* Final calibration: preserve the palette, keep the weather popover in view. */
html:not(#fc-audit):not(#fc-audit-2) body[data-fc-edition] {
 & .fc-pb-hero h1 {font:400 clamp(64px,7.9vw,126px)/.94 var(--f-display);letter-spacing:-.048em;color:#f4f6fa;margin:0 0 36px;text-wrap:balance;max-width:9ch;}
 & .fc-pb-hero h1 em {font-weight:400;}
 & .fc-climat {min-width:0!important;max-width:none!important;}
 & .fc-climat:not([data-ouvert="true"]) {width:44px!important;}
 & .fc-climat:not([data-ouvert="true"]) .fc-climat__identite {
  visibility:visible!important;position:absolute!important;width:1px!important;height:1px!important;
  overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;
 }
 & .fc-climat[data-ouvert="true"] {width:min(340px,calc(100vw - 24px))!important;right:max(12px,var(--zc))!important;}
 & .fc-climat .fc-climat__verre {overflow:visible!important;background:#f4f6fa!important;border-color:#a7aeb8!important;}
 & .fc-climat .fc-climat__detail {
  position:absolute;inset:auto 0 calc(100% + 8px) auto;
  width:min(340px,calc(100vw - 24px));max-height:calc(100svh - 160px);
  overflow-y:auto;overscroll-behavior:contain;
  background:linear-gradient(135deg,#fff,#f4f6fa 60%,#e4e8ef);
  color:#0b1e3b;border:1px solid #a7aeb8;
  box-shadow:0 18px 48px #0b1e3b30,inset 0 1px #fff;
  backdrop-filter:none;-webkit-backdrop-filter:none;
 }
 & .fc-climat:not([data-ouvert="true"]) .fc-climat__detail {visibility:hidden;pointer-events:none;}
 & .fc-climat[data-ouvert="true"] .fc-climat__detail {visibility:visible;pointer-events:auto;opacity:1;grid-template-rows:1fr;}
 & .fc-climat[data-ouvert="true"] .fc-climat__identite {
  position:static;width:auto;height:auto;clip:auto;clip-path:none;overflow:hidden;
  flex:1;display:flex!important;
 }
 & .fc-climat[data-ouvert="true"] .fc-climat__ligne {padding:0 12px;gap:12px;flex-direction:row;min-height:44px;}
 & .fc-climat__mesures {padding:18px 18px 10px;gap:10px;}
 & .fc-climat__mesure b {font-size:23px;color:#0b1e3b;}
 & .fc-climat__mesure span {font-size:10px;letter-spacing:.08em;color:#46536b;}
 & .fc-climat__bas {padding:10px 18px 18px;display:grid;gap:10px;}
 & .fc-climat__actions {display:grid;grid-template-columns:1fr 1fr;gap:10px;}
 & .fc-climat :is(.fc-climat__changer,.fc-climat__localiser) {
  min-height:44px;padding:8px 10px;font-size:10px;letter-spacing:.05em;
  border:1px solid #8d99ac;color:#0b1e3b;background:#f4f6fa;
 }
 & .fc-climat__localiser::before {display:none;}
 & .fc-climat__source {min-height:30px;display:inline-flex;align-items:center;font-size:10px;color:#46536b;}
 & .fc-climat__source[hidden] {display:none;}
 & .fc-climat :is(button,a):focus-visible {outline:2px solid #7a1220;outline-offset:3px;}
 & .fc-cabinet .fc-mobnav__langues a {min-width:36px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;}
}
@media(max-width:760px){
 html:not(#fc-audit):not(#fc-audit-2) body[data-fc-edition] .fc-pb-hero h1 {font-size:clamp(54px,15.7vw,80px);max-width:10ch;margin-bottom:24px;}
}
@media(prefers-reduced-motion:reduce){
 html:not(#fc-audit):not(#fc-audit-2) body[data-fc-edition] .fc-climat * {animation:none!important;transition:none!important;}
}
/* Weather layers were inadvertently suppressed by the general DA reset.
   Restore only the existing weather layers, not the old global colour veil. */
@media screen and (prefers-reduced-motion:no-preference){
 html:not(.fc-privacy-open):not(#fc-audit):not(#fc-audit-2) body[data-fc-edition]:not(.fc-luxe-paused):not(:has(.fc-mobnav.est-ouverte)) :is(.fc-meteo-ciel,.fc-climat-ciel,.fc-climat-lumiere){display:block!important;pointer-events:none!important;}
 html:not(#fc-audit):not(#fc-audit-2) body[data-fc-edition] .fc-meteo-ciel {opacity:.65;filter:saturate(.22);}
 html:not(#fc-audit):not(#fc-audit-2) body[data-fc-edition] .fc-climat-lumiere {background:radial-gradient(ellipse at 78% 8%,#c9ccd422,transparent 43%),linear-gradient(118deg,transparent 20%,#142b4d0b 58%,transparent 82%)!important;}
 html.fc-privacy-open:not(#fc-audit):not(#fc-audit-2) body[data-fc-edition] :is(.fc-meteo-ciel,.fc-climat-ciel,.fc-climat-lumiere),
 html:not(#fc-audit):not(#fc-audit-2) body[data-fc-edition]:has(.fc-mobnav.est-ouverte) :is(.fc-meteo-ciel,.fc-climat-ciel,.fc-climat-lumiere){display:none!important;}
}

/* 04/10/2026 — une vraie zone de lecture, même avec tous les sujets. */
html:not(#fc-audit):not(#fc-audit-2) .fc-concierge__panel {
 height:min(640px,calc(100svh - 48px));max-height:calc(100svh - 48px);
 grid-template-rows:auto minmax(120px,1fr) auto minmax(0,128px) auto;
 gap:12px;padding:20px;
}
html:not(#fc-audit):not(#fc-audit-2) .fc-concierge__log {
 min-height:120px;min-width:0;overflow-y:auto;overscroll-behavior:contain;
}
html:not(#fc-audit):not(#fc-audit-2) .fc-concierge__chips {
 min-height:0;overflow-y:auto;align-content:start;overscroll-behavior:contain;
 padding-right:4px;scrollbar-width:thin;
}
@media(max-width:1100px) {
 html:not(#fc-audit):not(#fc-audit-2) .fc-concierge__panel {
  max-height:calc(100svh - 132px);height:min(640px,calc(100svh - 132px));
 }
}
@media(max-height:600px) {
 html:not(#fc-audit):not(#fc-audit-2) .fc-concierge__panel {
  grid-template-rows:auto minmax(64px,1fr) auto minmax(0,64px) auto;
  gap:8px;padding:12px;
 }
 html:not(#fc-audit):not(#fc-audit-2) .fc-concierge__log {min-height:64px;}
}

@media(max-width:560px) {
 html:not(#fc-audit):not(#fc-audit-2) .fc-concierge__panel {
  position:fixed!important;left:12px!important;right:12px!important;bottom:64px!important;
  width:auto;max-width:none;max-height:calc(100svh - 88px);height:min(640px,calc(100svh - 88px));
 }
}
@media(max-height:600px) {
 html:not(#fc-audit):not(#fc-audit-2) .fc-concierge__panel {
  position:fixed!important;right:12px!important;bottom:16px!important;
  max-height:calc(100svh - 32px);height:calc(100svh - 32px);
 }
}
@media(max-height:480px) {
 html:not(#fc-audit):not(#fc-audit-2) .fc-concierge__panel>header :is(small,.fc-concierge__status) {display:none;}
}
