/* Onglet Météo — refonte (hero, bandes, cartes carpe) */
.wx-tab-root { display: flex; flex-direction: column; gap: 0.55rem; }
.wx-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 0.35rem; flex-wrap: wrap; min-height: 0; }
.wx-session-chip {
  font-size: 0.6rem; font-weight: 800; color: #86efac;
  background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(134, 239, 172, 0.35);
  border-radius: 999px; padding: 0.2rem 0.45rem; max-width: 72%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin: 0 0 0.15rem;
}
.wx-refresh-btn { font-size: 0.72rem !important; padding: 0.35rem 0.5rem !important; margin-left: auto; min-width: 2.4rem; min-height: 2.4rem; }
.wx-card-kicker { font-size: 0.8rem; font-weight: 800; color: #86efac; }
.wx-location-card { padding-bottom: 0.65rem; }
.wx-location-card--compact {
  padding: 0.45rem 0.55rem !important;
  margin-bottom: 0 !important;
}
.wx-location-bar--compact {
  display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.35rem !important;
}
.wx-location-name--sr,
.wx-source-label--sr {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0) !important; border: 0 !important;
}
.wx-source-label { display: block; font-size: 0.58rem; color: var(--text-muted); font-weight: 600; margin-top: 0.35rem; }
.wx-search-go { width: auto !important; padding: 0.4rem 0.75rem !important; font-size: 0.72rem !important; min-height: 2.4rem; }
.wx-gps-btn { font-size: 0.62rem !important; padding: 0.3rem 0.5rem !important; min-height: 2rem; }

.wx-hero-wrap { border-radius: 16px; overflow: hidden; border: 1px solid rgba(74, 110, 60, 0.45); box-shadow: 0 8px 28px rgba(0,0,0,0.35); }
.wx-hero-scene {
  position: relative; min-height: 200px; display: flex; align-items: flex-end;
  border-radius: 16px; overflow: hidden; padding: 0;
}
button.wx-hero-scene--interactive {
  width: 100%; border: none; background: transparent; color: inherit; font: inherit;
  text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
button.wx-hero-scene--interactive:focus-visible {
  outline: 2px solid #86efac; outline-offset: 2px;
}
.wx-hero-tap-hint {
  margin-left: auto; font-size: 0.58rem; font-weight: 800; color: #86efac;
  opacity: 0.85; letter-spacing: 0.02em;
}
.wx-hero-mode-line { display: flex; align-items: center; gap: 0.45rem; }
.wx-hero-scene .wx-pill-bg { position: absolute; inset: 0; border-radius: 0; }
.wx-hero-scene .wx-pill-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border-radius: 0; }
.wx-hero-content {
  position: relative; z-index: 2; width: 100%; padding: 1.1rem 1rem 1.25rem;
  background: linear-gradient(to top, rgba(8, 16, 8, 0.88) 0%, rgba(8, 16, 8, 0.35) 55%, transparent 100%);
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.wx-hero-place { font-size: 0.72rem; font-weight: 700; color: #cbd5e1; }
.wx-hero-date { font-size: 0.65rem; color: #86efac; font-weight: 700; margin-top: 0.15rem; }
.wx-hero-main-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.35rem; }
.wx-hero-temp { font-size: 3.2rem; font-weight: 900; line-height: 1; color: #f0fdf4; letter-spacing: -0.03em; }
.wx-hero-emoji { font-size: 2.4rem; line-height: 1; }
.wx-hero-condition { font-size: 1rem; font-weight: 800; color: #ecfccb; margin-top: 0.15rem; }
.wx-hero-feels, .wx-hero-minmax { font-size: 0.72rem; color: #d1fae5; font-weight: 600; margin-top: 0.2rem; }

.wx-section-title { font-size: 0.78rem; font-weight: 900; color: #86efac; margin: 0 0 0.45rem; }
.wx-section-hint { font-size: 0.58rem; color: var(--text-muted); font-weight: 600; }
.wx-daily-strip { display: flex; gap: 0.45rem; overflow-x: auto; padding-bottom: 0.15rem; scrollbar-width: none; }
.wx-daily-strip::-webkit-scrollbar { display: none; }
.wx-daily-chip {
  flex: 0 0 4.6rem; border: 1px solid rgba(74, 110, 60, 0.45); border-radius: 12px;
  background: rgba(12, 22, 11, 0.88); padding: 0.45rem 0.35rem; text-align: center; cursor: pointer; color: inherit; font: inherit;
}
.wx-daily-chip.is-active { border-color: #86efac; background: rgba(34, 197, 94, 0.14); box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.25); }
.wx-daily-chip-name { display: block; font-size: 0.62rem; font-weight: 800; color: #ecfccb; }
.wx-daily-chip-icon { display: block; font-size: 1.1rem; margin: 0.15rem 0; }
.wx-daily-chip-temps { display: block; font-size: 0.58rem; color: #a8b5a4; font-weight: 700; }

.wx-hourly-strip {
  padding: 0.35rem 0.15rem 0.55rem !important;
  /* proximity : le marqueur de jour en tête ne doit pas être éjecté par un snap obligatoire sur la pastille */
  scroll-snap-type: x proximity !important;
}
.wx-hourly-pill.is-active { border-color: #86efac !important; box-shadow: 0 0 0 2px rgba(134, 239, 172, 0.35); }

.wx-panel {
  background: rgba(12, 22, 11, 0.85); border: 1px solid rgba(74, 110, 60, 0.4);
  border-radius: 14px; padding: 0.75rem 0.85rem;
}
.wx-details-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem;
}
@media (min-width: 720px) {
  .wx-details-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.wx-detail-tile {
  background: rgba(8, 16, 8, 0.75); border: 1px solid var(--surface-border); border-radius: 10px; padding: 0.5rem 0.55rem;
}
.wx-detail-tile-label { font-size: 0.58rem; color: var(--text-muted); font-weight: 700; }
.wx-detail-tile-value { font-size: 0.92rem; font-weight: 900; color: #f0fdf4; margin-top: 0.15rem; }
.wx-detail-tile-sub { font-size: 0.58rem; color: #a8b5a4; margin-top: 0.12rem; line-height: 1.3; }

.wx-pressure-panel .wx-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.wx-pressure-value { font-size: 1.15rem; font-weight: 900; color: #f0fdf4; }
.wx-pressure-trend { font-size: 0.72rem; font-weight: 800; margin-bottom: 0.35rem; }
.wx-pressure-trend.trend-up { color: #4ade80; }
.wx-pressure-trend.trend-down { color: #fb923c; }
.wx-pressure-trend.trend-stable { color: #94a3b8; }
.wx-pressure-trend.trend-na { color: var(--text-muted); }
.wx-pressure-hint { font-size: 0.58rem; color: var(--text-muted); line-height: 1.35; margin: 0.45rem 0 0; }

.wx-duo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
@media (max-width: 520px) { .wx-duo-row { grid-template-columns: 1fr; } }

.wx-moon-art, .wx-season-art {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; margin-bottom: 0.35rem;
  box-shadow: inset -6px -4px 12px rgba(0,0,0,0.35);
}
.wx-moon-art {
  background: radial-gradient(circle at 35% 35%, #f8fafc 0%, #cbd5e1 55%, #64748b 100%);
}
.wx-moon-new { background: radial-gradient(circle at 50% 50%, #334155 0%, #0f172a 100%); box-shadow: inset 0 0 0 2px #475569; }
.wx-moon-wax-crescent { background: radial-gradient(circle at 28% 50%, #f8fafc 0%, #f8fafc 22%, #1e293b 23%, #0f172a 100%); }
.wx-moon-first-q { background: linear-gradient(90deg, #f8fafc 50%, #1e293b 50%); border-radius: 50%; }
.wx-moon-wax-gibbous { background: radial-gradient(circle at 72% 50%, #0f172a 0%, #0f172a 18%, #f8fafc 19%, #cbd5e1 100%); }
.wx-moon-full { background: radial-gradient(circle at 40% 35%, #ffffff 0%, #e2e8f0 100%); }
.wx-moon-wan-gibbous { background: radial-gradient(circle at 28% 50%, #0f172a 0%, #0f172a 18%, #f8fafc 19%, #cbd5e1 100%); }
.wx-moon-last-q { background: linear-gradient(270deg, #f8fafc 50%, #1e293b 50%); border-radius: 50%; }
.wx-moon-wan-crescent { background: radial-gradient(circle at 72% 50%, #f8fafc 0%, #f8fafc 22%, #1e293b 23%, #0f172a 100%); }

.wx-season-art.season-spring { background: linear-gradient(145deg, #86efac 0%, #4ade80 40%, #166534 100%); }
.wx-season-art.season-summer { background: linear-gradient(145deg, #fde047 0%, #facc15 45%, #15803d 100%); }
.wx-season-art.season-autumn { background: linear-gradient(145deg, #fb923c 0%, #ea580c 35%, #713f12 100%); }
.wx-season-art.season-winter { background: linear-gradient(145deg, #e2e8f0 0%, #94a3b8 40%, #334155 100%); }
.wx-moon-phase, .wx-season-name { font-size: 0.82rem; font-weight: 900; color: #f0fdf4; }
.wx-moon-meta, .wx-season-period { font-size: 0.62rem; color: #a8b5a4; margin-top: 0.2rem; line-height: 1.35; }
.wx-season-advice { font-size: 0.65rem; color: #d1fae5; line-height: 1.4; margin: 0.45rem 0 0; }

.wx-charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
@media (max-width: 520px) { .wx-charts-grid { grid-template-columns: 1fr; } }
.wx-chart-block span { font-size: 0.62rem; color: var(--text-muted); font-weight: 700; }
.wx-mini-chart { width: 100%; display: block; border-radius: 8px; background: rgba(8, 16, 8, 0.65); touch-action: none; }
.wx-chart-readout { font-size: 0.62rem; color: #86efac; font-weight: 700; min-height: 1rem; margin-top: 0.15rem; }

.wx-rating-card { padding: 0.65rem 0.85rem !important; }
.wx-rating-title { font-size: 0.68rem; color: var(--text-muted); font-weight: 700; margin-bottom: 0.35rem; }

.wx-legacy-expand { font-size: 0.68rem; color: var(--text-muted); }
.wx-legacy-expand summary { cursor: pointer; font-weight: 800; color: #86efac; margin-bottom: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  .wx-hero-scene .wx-pill-fx { animation: none !important; }
}

/* Favoris */
.wx-fav-toggle { font-size: 0.65rem !important; padding: 0.3rem 0.55rem !important; }
.wx-fav-toggle.is-active { color: #facc15 !important; border-color: rgba(250,204,21,0.45) !important; }
.wx-favorites-strip {
  display: flex; gap: 0.4rem; overflow-x: auto; margin-top: 0.45rem; padding-bottom: 0.1rem; scrollbar-width: none;
}
.wx-favorites-strip::-webkit-scrollbar { display: none; }
.wx-fav-chip {
  flex: 0 0 auto; border: 1px solid rgba(74,110,60,0.45); border-radius: 12px;
  background: rgba(8,16,8,0.75); padding: 0.4rem 0.65rem; text-align: left; color: inherit; font: inherit; cursor: pointer;
}
.wx-fav-chip-name { display: block; font-size: 0.7rem; font-weight: 800; color: #ecfccb; }
.wx-fav-chip-meta { display: block; font-size: 0.55rem; color: #94a3b8; margin-top: 0.1rem; }
.wx-fav-empty { font-size: 0.6rem; color: var(--text-muted); padding: 0.25rem 0; }

/* Hero extras */
.wx-hero-temp { font-size: 4rem; font-weight: 200; letter-spacing: -0.04em; }
.wx-hero-stars { margin-top: 0.35rem; }
.wx-hero-summary { font-size: 0.68rem; color: #d1fae5; line-height: 1.4; margin: 0.45rem 0 0; max-width: 36rem; }

/* Liste 7 jours */
.wx-daily-list { display: flex; flex-direction: column; gap: 0.2rem; }
.wx-day-row {
  display: grid; grid-template-columns: 2.4rem 1.6rem 2.2rem 2rem 1fr 2rem;
  align-items: center; gap: 0.25rem; width: 100%;
  background: rgba(8,16,8,0.55); border: 1px solid rgba(74,110,60,0.3);
  border-radius: 10px; padding: 0.45rem 0.5rem; color: inherit; font: inherit; cursor: pointer;
}
.wx-day-row.is-active { border-color: #86efac; background: rgba(34,197,94,0.12); }
.wx-day-row-name { font-size: 0.72rem; font-weight: 800; color: #f0fdf4; text-align: left; }
.wx-day-row-icon { font-size: 1rem; text-align: center; }
.wx-day-row-rain { font-size: 0.58rem; color: #7dd3fc; font-weight: 700; }
.wx-day-row-lo, .wx-day-row-hi { font-size: 0.68rem; font-weight: 800; color: #cbd5e1; }
.wx-day-row-bar {
  height: 5px; border-radius: 999px; background: rgba(148,163,184,0.2); overflow: hidden;
}
.wx-day-row-bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #facc15);
}

/* Glass cards */
.wx-glass-panel {
  background: rgba(12, 22, 11, 0.72); border: 1px solid rgba(74, 110, 60, 0.4);
  border-radius: 16px; padding: 0.75rem 0.85rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.wx-glass-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
}
.wx-glass-card {
  text-align: left; background: rgba(8,16,8,0.72); border: 1px solid rgba(74,110,60,0.35);
  border-radius: 14px; padding: 0.65rem 0.7rem; color: inherit; font: inherit; cursor: pointer;
}
.wx-glass-card.wx-glass-wide { grid-column: 1 / -1; }
.wx-glass-kicker { font-size: 0.58rem; font-weight: 800; color: #94a3b8; letter-spacing: 0.04em; text-transform: uppercase; }
.wx-glass-value { font-size: 1.35rem; font-weight: 800; color: #f0fdf4; margin-top: 0.2rem; line-height: 1.15; }
.wx-glass-sub { font-size: 0.62rem; color: #a8b5a4; margin-top: 0.25rem; line-height: 1.35; }
.wx-wind-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.wx-compass-svg, .wx-gauge-svg, .wx-sun-path { width: 72px; height: auto; display: block; }
.wx-sun-path { width: 100%; height: 42px; margin-top: 0.25rem; }
.wx-uv-bar {
  position: relative; height: 5px; border-radius: 999px; margin-top: 0.45rem;
  background: linear-gradient(90deg, #22c55e, #facc15, #f97316, #ef4444, #a855f7);
}
.wx-uv-bar i {
  position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,0.35);
}

.wx-hour-date-break {
  flex: 0 0 auto; align-self: stretch; display: flex; align-items: center;
  padding: 0 0.35rem; font-size: 0.58rem; font-weight: 800; color: #86efac;
  border-left: 1px dashed rgba(134,239,172,0.45);
}

/* Analyse jour */
.wx-analysis-modal { max-width: 440px; width: 100%; max-height: 88vh; overflow-y: auto; }
.wx-analysis-day-picker {
  display: flex; gap: 0.35rem; overflow-x: auto; margin: 0.65rem 0; scrollbar-width: none;
}
.wx-analysis-hourly {
  margin: 0 0 0.75rem;
  padding: 0.45rem 0.2rem 0.15rem;
  border: 1px solid rgba(74, 110, 60, 0.35);
  border-radius: 12px;
  background: rgba(8, 16, 8, 0.45);
}
.wx-analysis-hourly .wx-hourly-strip {
  margin: 0;
}
.wx-analysis-day {
  flex: 0 0 2.6rem; border: none; background: transparent; color: #cbd5e1; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem; font: inherit; padding: 0.2rem;
}
.wx-analysis-day span { font-size: 0.58rem; font-weight: 700; }
.wx-analysis-day b {
  width: 1.85rem; height: 1.85rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800;
}
.wx-analysis-day.is-active b { background: #86efac; color: #052e16; }
.wx-analysis-chart-block { margin-top: 0.4rem; }
/* Barre compacte : condition + agrandir discret (pas de trait séparateur) */
.wx-analysis-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.35rem;
  margin: 0 0 0.2rem; min-height: 1.7rem;
}
.wx-analysis-param-wrap { display: inline-flex; min-width: 0; flex: 1 1 auto; }
.wx-analysis-param-wrap--ls { display: flex; justify-content: flex-end; margin-top: 0.25rem; }
.wx-analysis-param-pill {
  appearance: none; -webkit-appearance: none;
  font-size: 0.62rem; font-weight: 800; background: rgba(8,16,8,0.92); color: #ecfccb;
  border: 1px solid rgba(134,239,172,0.35); border-radius: 999px;
  padding: 0.22rem 1.45rem 0.22rem 0.55rem; max-width: 100%; width: auto;
  min-height: 1.55rem; cursor: pointer; line-height: 1.2;
  background-image: linear-gradient(45deg, transparent 50%, #86efac 50%),
    linear-gradient(135deg, #86efac 50%, transparent 50%);
  background-position: calc(100% - 12px) calc(50% - 2px), calc(100% - 7px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
/* Lecture curseur en haut du graphique (style Météo iOS) */
.wx-analysis-scrub {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0.15rem 0.35rem 0.05rem; min-height: 2.55rem;
  pointer-events: none; user-select: none;
}
.wx-analysis-scrub--ls { min-height: 2.7rem; padding: 0.1rem 0.25rem 0.05rem; }
.wx-analysis-scrub-time {
  font-size: 0.62rem; font-weight: 600; color: rgba(148,163,184,0.95);
  letter-spacing: 0.02em; line-height: 1.2;
}
.wx-analysis-scrub-main {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 0.28rem;
  margin-top: 0.05rem; line-height: 1;
}
.wx-analysis-scrub-icon {
  font-size: 1.05rem; line-height: 1; opacity: 0.95;
}
.wx-analysis-scrub-value,
.wx-analysis-hero-value {
  font-size: 1.55rem; font-weight: 900; color: #f0fdf4; line-height: 1.05;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.wx-analysis-scrub-hint,
.wx-analysis-hero-sub {
  margin-top: 0.12rem; font-size: 0.58rem; font-weight: 600; color: var(--text-muted);
  line-height: 1.25; max-width: 22rem;
}
.wx-analysis-hero { display: none !important; } /* legacy */
.wx-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* Legacy — masqués si encore présents dans d’anciennes coques */
.wx-analysis-chart-head, #wxAnalysisParamChips, #wxAnalysisChartTitle { display: none !important; }
.wx-analysis-param {
  font-size: 0.68rem; font-weight: 700; background: rgba(8,16,8,0.85); color: #ecfccb;
  border: 1px solid rgba(134,239,172,0.35); border-radius: 999px; padding: 0.25rem 0.55rem;
  max-width: 9.5rem;
}
.wx-analysis-card {
  background: rgba(8,16,8,0.75); border: 1px solid rgba(74,110,60,0.35);
  border-radius: 12px; padding: 0.65rem 0.75rem; font-size: 0.72rem; line-height: 1.45; color: #d1fae5;
}

/* Fonds nocturnes hero */
.wx-visual-clear-night .wx-pill-bg,
.wx-visual-cloudy-night .wx-pill-bg,
.wx-visual-rain-night .wx-pill-bg,
.wx-visual-thunder-night .wx-pill-bg {
  background: linear-gradient(180deg, #0b1220 0%, #152238 45%, #0f1a14 100%) !important;
}
.wx-visual-thunder-night .wx-pill-bg {
  background: linear-gradient(180deg, #070b14 0%, #1e293b 40%, #0a1620 100%) !important;
}
.wx-visual-rain-night .wx-pill-bg {
  background: linear-gradient(180deg, #0c1424 0%, #1a2740 50%, #0e1a22 100%) !important;
}
.wx-visual-thunder .wx-pill-bg {
  background: linear-gradient(180deg, #334155 0%, #475569 40%, #1e293b 100%) !important;
}

@media (min-width: 720px) {
  .wx-glass-grid { grid-template-columns: 1fr 1fr 1fr; }
  .wx-glass-card.wx-glass-wide { grid-column: span 2; }
}

/* Accès favoris compact */
.wx-fav-access {
  display: flex; align-items: center; gap: 0.35rem; margin-top: 0.3rem;
}
.wx-fav-icon-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(8,16,8,0.65); border: 1px solid rgba(134,239,172,0.35);
  color: #ecfccb; font-size: 0.65rem; font-weight: 800; border-radius: 999px;
  padding: 0.32rem 0.6rem; cursor: pointer; min-height: 2.2rem;
}
.wx-fav-add-btn {
  width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid rgba(250,204,21,0.4);
  background: rgba(8,16,8,0.65); color: #facc15; font-size: 1rem; cursor: pointer;
}
.wx-fav-add-btn.is-active { background: rgba(250,204,21,0.15); }
.wx-favorites-panel {
  margin-top: 0.45rem; background: rgba(8,16,8,0.95); border: 1px solid rgba(74,110,60,0.45);
  border-radius: 12px; padding: 0.55rem 0.65rem; max-height: 220px; overflow-y: auto;
}
.wx-favorites-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.68rem; font-weight: 800; color: #86efac; margin-bottom: 0.35rem;
}
.wx-fav-close {
  background: none; border: none; color: #86efac; font-size: 1.1rem; cursor: pointer; line-height: 1;
}
.wx-favorites-list { display: flex; flex-direction: column; gap: 0.35rem; }
.wx-fav-row { display: flex; align-items: center; gap: 0.35rem; }
.wx-fav-row .wx-fav-chip { flex: 1; text-align: left; }
.wx-fav-remove {
  background: none; border: none; color: #94a3b8; font-size: 0.75rem; cursor: pointer; padding: 0.35rem;
}

/* Sous le hero : lune + activité */
/* Ancien encart « Indice solunaire » au-dessus de la recherche — remplacé par .wx-under-hero.
   display:none conserve les nœuds #predScore/#predLevel/#predContext pour le moteur existant. */
.wx-activity-card--sr {
  display: none !important;
}

.wx-under-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0.45rem;
  background: rgba(12,22,11,0.78); border: 1px solid rgba(74,110,60,0.4);
  border-radius: 12px; padding: 0.45rem 0.6rem;
}
@media (max-width: 420px) {
  .wx-under-hero { grid-template-columns: 1fr 1fr; gap: 0.35rem; }
}
.wx-under-hero-solunar,
.wx-under-hero-moon {
  display: flex; align-items: center; gap: 0.45rem; min-width: 0;
}
.wx-moon-art-sm {
  width: 2.1rem !important; height: 2.1rem !important; flex-shrink: 0; margin: 0 !important;
}
.wx-moon-meta-compact { font-size: 0.52rem !important; }
.wx-moon-phase--compact { font-size: 0.62rem !important; font-weight: 700; margin-top: 0.05rem; }
.wx-solunar-value {
  font-size: 1.15rem; font-weight: 900; color: #86efac; line-height: 1.1;
}
.wx-under-hero-activity { min-width: 0; }
.wx-rating-kicker {
  font-size: 0.55rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 0.1rem;
}
.wx-under-hero .carp-day-stars { font-size: 0.9rem; }
.wx-under-hero .carp-star-word { font-size: 0.6rem; margin-left: 0.2rem; }
.wx-under-hero .wx-detail-muted { font-size: 0.52rem; margin: 0.1rem 0 0; }

/* Repères de la semaine — uniquement dans l’analyse détaillée (au-dessus de Heure par heure) */
.wx-week-markers-panel {
  padding: 0.55rem 0.65rem 0.5rem;
  margin: 0 0 0.55rem;
}
.wx-week-markers-panel--analysis {
  background: rgba(8, 16, 8, 0.35);
  border: 1px solid rgba(74, 110, 60, 0.28);
  border-radius: 12px;
  margin: 0.55rem 0 0.45rem;
}
.wx-week-markers-panel .wx-section-title { margin-bottom: 0.35rem; }
.wx-week-nav-row {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
}
.wx-week-nav-main { flex: 1 1 auto; min-width: 0; }
.wx-week-nav-btn {
  flex: 0 0 2rem;
  align-self: center;
  width: 2rem;
  height: 2.6rem;
  border-radius: 10px;
  border: 1px solid rgba(134, 239, 172, 0.35);
  background: rgba(10, 22, 12, 0.75);
  color: #86efac;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wx-week-nav-btn:disabled,
.wx-week-nav-btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
}
.wx-week-markers {
  display: flex;
  gap: 0.28rem;
  justify-content: space-between;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.1rem 0;
  touch-action: pan-x;
}
.wx-week-markers::-webkit-scrollbar { display: none; }
.wx-week-day {
  flex: 1 1 0;
  min-width: 2.35rem;
  max-width: 3.2rem;
  border: 1px solid transparent;
  background: rgba(8, 16, 8, 0.35);
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  font: inherit;
  padding: 0.28rem 0.15rem;
  border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
}
.wx-week-day-letter {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #94a3b8;
  line-height: 1;
}
.wx-week-day-num {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  color: #e2e8f0;
}
.wx-week-day.is-active {
  border-color: rgba(134, 239, 172, 0.65);
  background: rgba(34, 197, 94, 0.16);
  box-shadow: inset 0 0 0 1px rgba(134, 239, 172, 0.18);
}
.wx-week-day.is-active .wx-week-day-letter { color: #86efac; }
.wx-week-day.is-active .wx-week-day-num { color: #f0fdf4; }
.wx-week-day:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 2px;
}

.wx-analysis-chart-zone {
  touch-action: none; /* scrub curseur sans faire défiler la page */
  border-radius: 12px;
  background: rgba(8, 14, 8, 0.55);
  border: 1px solid rgba(74, 110, 60, 0.28);
  padding: 0.1rem 0.1rem 0.1rem;
  overflow: hidden;
}
.wx-analysis-chart-zone .wx-mini-chart {
  width: 100% !important; display: block;
}
.wx-chart-readout {
  font-size: 0.68rem !important; color: #bbf7d0 !important; font-weight: 700;
  min-height: 1.1rem; margin: 0.25rem 0.35rem 0.15rem; line-height: 1.3;
}
/* Lecture principale = scrub en haut ; bas masqué (conservé pour a11y / tests) */

/* Bande horaire : zone entière cliquable (pastilles gardent leur détail heure) */
.wx-hourly-panel--interactive {
  cursor: pointer;
  border: 1px solid rgba(134,239,172,0.28);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wx-hourly-panel--interactive:focus-visible {
  outline: 2px solid #86efac; outline-offset: 2px;
}
.wx-hourly-panel--interactive:active {
  border-color: rgba(134,239,172,0.55);
  box-shadow: 0 0 0 1px rgba(134,239,172,0.2);
}
.wx-pressure-panel--sr { display: none !important; }

/* Anciens marqueurs jour — masqués (remplacés par clic sur le panneau) */
button.wx-hour-date-break { display: none !important; }

/* Étoiles compactes quotidiennes */
.wx-day-row {
  grid-template-columns: 2.2rem 1.4rem 1.6rem 2rem 1.8rem 1fr 2rem !important;
}
.wx-day-row-stars { display: flex; align-items: center; justify-content: center; }
.wx-compact-stars {
  display: inline-grid; gap: 1px; font-size: 0.55rem; line-height: 1;
  text-shadow: 0 0 1px rgba(0,0,0,0.65);
}
/* 1★ rouge · 2★ orange · 3★ jaune · 4★ vert — strict */
.wx-compact-stars.stars-n-1 { grid-template-columns: 1fr; color: #ef4444; }
.wx-compact-stars.stars-n-2 { grid-template-columns: 1fr; color: #fb923c; }
.wx-compact-stars.stars-n-3 { grid-template-columns: 1fr; color: #facc15; }
.wx-compact-stars.stars-n-4 { grid-template-columns: 1fr 1fr; color: #4ade80; }
.wx-compact-stars.stars-n-1 span,
.wx-compact-stars.stars-n-2 span,
.wx-compact-stars.stars-n-3 span { display: block; text-align: center; }

/* Saison : animation intégrée dans le panneau (canvas derrière le texte, fond transparent) */
.wx-season-panel {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 7.5rem;
}
.wx-season-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; pointer-events: none; z-index: 0;
  background: transparent;
}
.wx-season-body { position: relative; z-index: 1; }
.wx-season-art-label { display: none !important; }
.wx-season-art { display: none !important; }
.wx-season-visual-wrap { display: none !important; }

.wx-analysis-day { min-width: 2.8rem; min-height: 3rem; }

/* ——— Onglet Stratégie de pêche ——— */
.wx-subtabs-bar .subtab-btn { font-size: 0.68rem; padding: 0.35rem 0.25rem; }
.wx-strategy-root { display: flex; flex-direction: column; gap: 0.65rem; }
.wx-strat-placeholder { margin: 0.15rem 0; font-size: 0.68rem; }
.wx-strat-section-hint { margin: -0.15rem 0 0.45rem; font-size: 0.62rem; line-height: 1.35; }
/* Annule la grille du sélecteur `header` (bandeau app) : empilement vertical clair */
.wx-strategy-root .wx-strategy-header,
.wx-strategy-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  grid-template-columns: none !important;
  column-gap: 0 !important;
  row-gap: 0.45rem;
  background: rgba(12,22,11,0.88);
  border: 1px solid rgba(74,110,60,0.45);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  position: relative;
  z-index: auto;
  min-width: 0;
  border-bottom: 1px solid rgba(74,110,60,0.45);
  backdrop-filter: none;
}
.wx-strategy-title-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  width: 100%;
}
.wx-strategy-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: #86efac;
  line-height: 1.25;
  flex: 1;
  min-width: 0;
  display: block;
}
.wx-strategy-tagline {
  margin: 0.1rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: #94a3b8;
  font-weight: 600;
  width: 100%;
  max-width: 42rem;
}
.wx-strategy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-top: 0.2rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(74,110,60,0.28);
  font-size: 0.72rem;
  font-weight: 700;
  width: 100%;
}
.wx-strategy-place { color: #f0fdf4; }
.wx-strategy-date { color: #86efac; }
.wx-strategy-season { color: #fde68a; }
.wx-strat-milieu {
  margin-top: 0.5rem;
  padding: 0.55rem 0.55rem 0.5rem;
  border-top: 1px solid rgba(74,110,60,0.28);
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(18, 30, 16, 0.92), rgba(10, 18, 10, 0.88));
  border: 1px solid rgba(74, 110, 60, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.wx-strat-milieu-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a7f3d0;
  margin-bottom: 0.4rem;
}
.wx-strat-milieu-btns {
  display: flex;
  gap: 0.3rem;
  width: 100%;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}
.wx-strat-milieu-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(74, 110, 60, 0.55);
  background: rgba(12, 22, 12, 0.95);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 0.45rem 0.35rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(134, 239, 172, 0.2);
  pointer-events: auto;
  position: relative;
  z-index: 4;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.wx-strat-milieu-btn:hover {
  border-color: rgba(134, 239, 172, 0.45);
  color: #f0fdf4;
  background: rgba(20, 36, 18, 0.98);
}
.wx-strat-milieu-btn:active {
  transform: translateY(1px);
  background: rgba(34, 197, 94, 0.12);
}
.wx-strat-milieu-btn:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 2px;
}
.wx-strat-milieu-btn.is-active {
  border-color: rgba(134, 239, 172, 0.85);
  background: linear-gradient(160deg, rgba(34, 197, 94, 0.28), rgba(22, 101, 52, 0.35));
  color: #ecfccb;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(134, 239, 172, 0.2);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}
.wx-strat-milieu-btn.is-active::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: #86efac;
  pointer-events: none;
}
.wx-strat-milieu-hint {
  margin: 0.4rem 0 0;
  font-size: 0.58rem;
  line-height: 1.35;
  color: #94a3b8;
  font-weight: 600;
}
@media (max-width: 360px) {
  .wx-strat-milieu-btn { font-size: 0.66rem; padding: 0.4rem 0.2rem; }
}
.wx-strat-primary-card {
  border-color: rgba(250,204,21,0.4);
  background: linear-gradient(165deg, rgba(28,36,14,0.95), rgba(12,22,11,0.92));
}
.wx-strat-plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.45rem;
}
.wx-strat-plan-meta span {
  font-size: 0.58rem;
  font-weight: 800;
  color: #fde68a;
  background: rgba(120,53,15,0.35);
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
}
.wx-strategy-status {
  font-size: 0.68rem; font-weight: 700; color: #fde68a;
  background: rgba(120,53,15,0.35); border: 1px solid rgba(251,191,36,0.35);
  border-radius: 10px; padding: 0.5rem 0.65rem;
}
.wx-strategy-status.is-error { color: #fecaca; background: rgba(127,29,29,0.35); border-color: rgba(248,113,113,0.4); }
.wx-strategy-section {
  background: rgba(12,22,11,0.85); border: 1px solid rgba(74,110,60,0.4);
  border-radius: 14px; padding: 0.65rem 0.75rem;
}
.wx-strat-day-strip {
  display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.15rem 0 0.35rem !important;
  scroll-snap-type: x proximity;
}
.wx-strat-day {
  flex: 0 0 4.8rem; min-height: 5.2rem; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(74,110,60,0.45); background: rgba(8,16,8,0.75);
  color: inherit; font: inherit; padding: 0.4rem 0.3rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.12rem;
  scroll-snap-align: start;
}
.wx-strat-day.is-active {
  border-color: #86efac; background: rgba(34,197,94,0.14);
  box-shadow: 0 0 0 1px rgba(134,239,172,0.3);
}
.wx-strat-day-name { font-size: 0.68rem; font-weight: 900; color: #ecfccb; }
.wx-strat-day-date { font-size: 0.55rem; color: #94a3b8; font-weight: 700; }
.wx-strat-day-temps { font-size: 0.58rem; font-weight: 800; color: #d1fae5; }
.wx-strat-day-meta { font-size: 0.52rem; color: #a8b5a4; min-height: 0.9rem; }
.wx-strat-bilan-card { border-color: rgba(134,239,172,0.35); }
.wx-strat-bilan-head { display: flex; flex-direction: column; gap: 0.45rem; }
.wx-strat-bilan-stars-label { font-size: 0.62rem; color: #94a3b8; font-weight: 700; margin-top: 0.15rem; }
.wx-strat-bilan-summary { margin: 0; font-size: 0.72rem; line-height: 1.4; color: #d1fae5; }
.wx-strat-bilan-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; margin-top: 0.55rem;
}
@media (max-width: 380px) {
  .wx-strat-bilan-cols { grid-template-columns: 1fr; }
}
.wx-strat-bilan-cols ul {
  margin: 0.25rem 0 0; padding-left: 1rem; font-size: 0.65rem; line-height: 1.35; color: #cbd5e1;
}
.wx-strat-kicker {
  font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em;
}
.wx-strat-kicker.favor { color: #86efac; }
.wx-strat-kicker.risk { color: #fdba74; }
.wx-strat-priority {
  margin: 0.55rem 0 0.25rem; font-size: 0.7rem; line-height: 1.4; color: #ecfccb;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(134,239,172,0.28);
  border-radius: 10px; padding: 0.5rem 0.6rem;
}
.wx-strat-factors { display: flex; flex-direction: column; gap: 0.4rem; }
.wx-strat-factor {
  border: 1px solid rgba(74,110,60,0.4); border-radius: 10px;
  background: rgba(8,16,8,0.65); padding: 0.15rem 0.55rem;
}
.wx-strat-factor summary {
  cursor: pointer; font-size: 0.75rem; font-weight: 800; color: #ecfccb;
  padding: 0.45rem 0; list-style: none; display: flex; align-items: center; gap: 0.3rem;
}
.wx-strat-factor summary::-webkit-details-marker { display: none; }
.wx-strat-factor-body { padding: 0 0 0.55rem; font-size: 0.68rem; line-height: 1.4; color: #d1fae5; }
.wx-strat-factor-body p { margin: 0.35rem 0; }
.wx-strat-label {
  display: inline-block; font-size: 0.58rem; font-weight: 800; color: #86efac;
  text-transform: uppercase; letter-spacing: 0.03em; margin-right: 0.25rem;
}
.wx-strat-link, .wx-strat-link-row .btn-secondary {
  font-size: 0.65rem !important; padding: 0.35rem 0.55rem !important; min-height: 2.2rem;
}
.wx-strat-link {
  margin-top: 0.35rem; background: rgba(8,16,8,0.7); border: 1px solid rgba(134,239,172,0.35);
  color: #86efac; border-radius: 999px; cursor: pointer; font-weight: 800;
}
.wx-strat-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.wx-strat-tl-item {
  border-left: 3px solid rgba(134,239,172,0.45); padding: 0.35rem 0.55rem;
  background: rgba(8,16,8,0.55); border-radius: 0 10px 10px 0;
}
.wx-strat-tl-item.kind-wind { border-left-color: #38bdf8; }
.wx-strat-tl-item.kind-gust { border-left-color: #fbbf24; }
.wx-strat-tl-item.kind-rain { border-left-color: #60a5fa; }
.wx-strat-tl-item.kind-pressure { border-left-color: #4ade80; }
.wx-strat-tl-title { font-size: 0.72rem; font-weight: 900; color: #ecfccb; }
.wx-strat-tl-detail { font-size: 0.65rem; color: #cbd5e1; line-height: 1.35; margin-top: 0.15rem; }
.wx-strat-advice-list { display: flex; flex-direction: column; gap: 0.45rem; }
.wx-strat-advice-card {
  border: 1px solid rgba(74,110,60,0.4); border-radius: 12px;
  background: rgba(8,16,8,0.7); padding: 0.55rem 0.65rem;
}
.wx-strat-advice-card h4 { margin: 0 0 0.3rem; font-size: 0.78rem; color: #86efac; font-weight: 900; }
.wx-strat-advice-action { margin: 0; font-size: 0.72rem; font-weight: 700; color: #f0fdf4; line-height: 1.35; }
.wx-strat-advice-why { margin: 0.35rem 0 0.15rem; font-size: 0.65rem; color: #d1fae5; line-height: 1.35; }
.wx-strat-link-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.4rem; }

/* ——— Stratégie intelligente : recommandations ——— */
.wx-strat-plan-card { border-color: rgba(134,239,172,0.4); }
.wx-strat-plan-block { margin-bottom: 0.55rem; }
.wx-strat-plan-block ul {
  margin: 0.25rem 0 0; padding-left: 1.05rem;
  font-size: 0.68rem; line-height: 1.4; color: #d1fae5;
}
.wx-strat-plan-disclaimer { margin: 0.35rem 0 0; }
.wx-strat-reco-list { display: flex; flex-direction: column; gap: 0.4rem; }
.wx-strat-reco {
  border: 1px solid rgba(74,110,60,0.4); border-radius: 12px;
  background: rgba(8,16,8,0.7); padding: 0.2rem 0.55rem 0.15rem;
}
.wx-strat-reco summary {
  cursor: pointer; list-style: none; display: flex; flex-wrap: wrap;
  align-items: center; gap: 0.3rem; padding: 0.45rem 0; min-height: 2.4rem;
}
.wx-strat-reco summary::-webkit-details-marker { display: none; }
.wx-strat-reco-title {
  font-size: 0.75rem; font-weight: 900; color: #ecfccb; flex: 1 1 100%;
}
@media (min-width: 420px) {
  .wx-strat-reco-title { flex: 1 1 auto; }
}
.wx-strat-reco-body {
  padding: 0 0 0.55rem; font-size: 0.68rem; line-height: 1.4; color: #d1fae5;
}
.wx-strat-reco-body p { margin: 0.3rem 0; }
.wx-strat-badge {
  display: inline-block; font-size: 0.55rem; font-weight: 800;
  padding: 0.15rem 0.4rem; border-radius: 999px; letter-spacing: 0.02em;
  border: 1px solid transparent; white-space: nowrap;
}
.wx-strat-badge.interest-priority {
  color: #052e16; background: #86efac; border-color: #4ade80;
}
.wx-strat-badge.interest-secondary {
  color: #fef3c7; background: rgba(180,83,9,0.35); border-color: rgba(251,191,36,0.45);
}
.wx-strat-badge.interest-watch {
  color: #cbd5e1; background: rgba(51,65,85,0.45); border-color: rgba(148,163,184,0.35);
}
.wx-strat-badge.conf-solid {
  color: #d1fae5; background: rgba(6,78,59,0.55); border-color: rgba(52,211,153,0.4);
}
.wx-strat-badge.conf-test {
  color: #e0f2fe; background: rgba(12,74,110,0.45); border-color: rgba(56,189,248,0.4);
}
.wx-strat-badge.conf-uncertain {
  color: #fde68a; background: rgba(120,53,15,0.4); border-color: rgba(251,191,36,0.35);
}
.wx-strat-slots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.wx-strat-slot {
  border-left: 3px solid rgba(134,239,172,0.45);
  background: rgba(8,16,8,0.55); border-radius: 0 12px 12px 0;
  padding: 0.45rem 0.6rem; font-size: 0.68rem; line-height: 1.4; color: #d1fae5;
}
.wx-strat-slot.interest-priority { border-left-color: #4ade80; }
.wx-strat-slot.interest-secondary { border-left-color: #fbbf24; }
.wx-strat-slot.interest-watch { border-left-color: #94a3b8; }
.wx-strat-slot-head {
  font-size: 0.72rem; color: #ecfccb; font-weight: 800;
  display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center;
}
.wx-strat-slot-cond { font-size: 0.62rem; color: #94a3b8; margin: 0.2rem 0 0.3rem; }
.wx-strat-details > summary {
  cursor: pointer; list-style: none; margin: 0;
}
.wx-strat-details > summary::-webkit-details-marker { display: none; }
.wx-strat-details-body { margin-top: 0.45rem; }
.wx-strat-subhead {
  margin: 0.65rem 0 0.35rem; font-size: 0.7rem; font-weight: 800; color: #a7f3d0;
}

/* ——— Réorganisation des canevas (ordre uniquement, design inchangé) ——— */
.wx-layout-toolbar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem;
  margin: 0.05rem 0 0.1rem;
}
.wx-layout-btn {
  font-size: 0.62rem !important; padding: 0.22rem 0.5rem !important;
  min-height: 1.85rem;
}
.wx-layout-btn--done {
  color: #86efac !important; border-color: rgba(134, 239, 172, 0.45) !important;
}
.wx-layout-edit-actions { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.wx-layout-hint {
  font-size: 0.55rem; font-weight: 700; color: var(--text-muted);
  margin-left: auto;
}
.wx-canvas-stack { display: flex; flex-direction: column; gap: 0.55rem; }
.wx-canvas-block { touch-action: pan-y; }
.wx-layout-customizing .wx-canvas-block {
  outline: 1px dashed rgba(134, 239, 172, 0.35);
  outline-offset: 2px;
  cursor: grab;
}
.wx-layout-customizing .wx-canvas-block.wx-canvas--dragging,
.wx-canvas-block.wx-canvas--dragging {
  cursor: grabbing;
  outline: 2px solid rgba(134, 239, 172, 0.65);
  outline-offset: 2px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  opacity: 0.96;
}
.wx-canvas-placeholder {
  border: 1.5px dashed rgba(250, 204, 21, 0.55);
  border-radius: 12px;
  background: rgba(250, 204, 21, 0.06);
  box-sizing: border-box;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .wx-canvas-block.wx-canvas--dragging { box-shadow: none; }
}
