/* PickmyPlant : style des pages (accueil, fiches, listes). Direction « Herbier ». */
:root {
  --bg: #EDF0E8; --surface: #F8FAF5; --ink: #1D2A21; --text: #2C3830; --muted: #586457; --line: #D3D9CB; --soft: #E1E7D9;
  --moss: #2F4A35; --pollen: #D9B44A; --water: #3E7393; --warn: #7A3019; --warnbg: #F6E3DA; --est: #F6E9B8;
  /* Mode clair et mode sombre (23/11/2026) : toute couleur passe par une variable ci-dessous. Les valeurs sombres sont
     plus bas, dans « Mode sombre » (bloc :root[data-theme="dark"]). Une nouvelle couleur s'ajoute aux deux endroits. */
  --card: #fff; --sub: #46524A; --ph: #D9DFD2; --foot: #E3E8DC; --tiles: #E2E7DB; --soft-2: #D5DDCB; --cal-off: #E8ECE2;
  --moss-hover: #243A2A; --on-moss: #fff; --on-pollen: #1D2A21; --on-water: #fff; --on-warn: #fff;
  /* Grands bandeaux vert foncé (accueil, comparateur, « Aide-moi à choisir ») : restent foncés dans les deux modes */
  --forest: #2F4A35; --forest-2: #436B4C;
  /* Toxicité et dangers */
  --dg: #8A3B22; --dg-ink: #3E2A22; --dg-bg: #FBEFE9; --dg-line: #E7C6B6; --dg-sub: #7D6A60; --dg-bg2: #FBF6F2;
  --tip-bg: #1D2A21; --tip-ink: #F8FAF5; --gold-bg: #F4EBCB; --est-line: #E6D28A; --sky-bg: #DDEAF1; --leaf-hi: #EAF2E1;
  --ok-bg: #E6EDDF; --ok-line: #CDDAC2; --ko-bg: #F8E9E1; --ko-line: #EDD0C2;
  /* Couleurs des rubriques (pictogrammes et repères des fiches) */
  --k-feuille: #3E7A4F; --k-bois: #7A6540; --k-fleur: #94467F; --k-soleil: #A8750F; --k-chaleur: #B4471F; --k-vent: #5F7484; --k-climat: #1F7486; --k-ph: #6A5A93;
  /* « Mon projet » (site/css/projet.css, 26/11/2026) : sélection, pastilles et bandeaux posés sur les photos, ombres */
  --sel-sub: #C9D3C1; --on-photo: #fff; --photo-scrim: rgba(29, 42, 33, .35); --chip-bg: rgba(248, 250, 245, .95); --chip-bg-2: rgba(248, 250, 245, .88);
  --tip-danger: #F2B9A3; --scrim: rgba(20, 30, 22, .45); --ko-bg-2: #FBF1EC; --gold-hover: #EEDC98; --bar-line: transparent; --print-ink: #555;
  /* Vue en coupe de « Mon projet » (27/11/2026) : fond, eau, maçonnerie, terre, gravier d'un filtre, ombre portée, contour des fleurs */
  --cp-ciel: #F3F6EF; --cp-eau: rgba(62, 115, 147, .30); --cp-pierre: #CFC6B4; --cp-pierre-line: #A99F8B; --cp-terre: #8E7656; --cp-gravier: #B9B2A2; --cp-ombre: rgba(29, 42, 33, .16); --cp-fleur-line: rgba(29, 42, 33, .35);
  --band-ko: rgba(122, 48, 25, .92); --band-autre: rgba(217, 180, 74, .95); --band-aucune: rgba(29, 42, 33, .85);
  /* Graphiques de l'administration (page Audience, 01/12/2026) : deux couleurs de séries validées (daltonisme, contraste) */
  --graph-1: #257DE0; --graph-2: #D9601F; --graph-1-voile: rgba(37, 125, 224, .10);
  --shadow-pop: 0 14px 34px rgba(20, 30, 22, .18); --shadow-bar: 0 16px 40px rgba(0, 0, 0, .3); --shadow-chip: 0 1px 4px rgba(0, 0, 0, .15);
  --shadow-drawer: -18px 0 40px rgba(0, 0, 0, .2); --shadow-drawer-up: 0 -18px 40px rgba(0, 0, 0, .2); --shadow-doc: 0 10px 30px rgba(20, 30, 22, .08); --shadow-go: 0 10px 26px rgba(20, 30, 22, .3);
  --ui: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--ui); }
a { color: var(--moss); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--pollen); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
mark.est { background: var(--est); color: inherit; padding: 0 3px; border-radius: 3px; }

/* En-tête */
.top { max-width: 1240px; margin: 0 auto; padding: 18px 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 26px; letter-spacing: -0.035em; font-weight: 400; }
.brand b { font-weight: 800; }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { text-decoration: none; color: var(--ink); padding: 10px 14px; border-radius: 999px; font-weight: 500; }
.top nav a:first-child { background: var(--moss); color: var(--surface); }
main { max-width: 1200px; margin: 0 auto; padding: 0 28px 64px; }
main.wide { max-width: 1240px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 4px 0 18px; }
h1.page { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.035em; line-height: 1; margin: 6px 0 8px; font-weight: 800; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 26px; }

/* Accueil : bannière avec la recherche (13/11/2026, à la place de la grande photo) */
.banner { position: relative; border-radius: 28px; overflow: hidden; background: var(--forest); color: #F8FAF5; }
.banner .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner picture { position: absolute; inset: 0; }
.banner .shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(24,38,28,.9) 0%, rgba(24,38,28,.72) 55%, rgba(24,38,28,.45) 100%); }
.banner .in { position: relative; padding: clamp(28px, 6vw, 84px) clamp(18px, 4vw, 56px) clamp(34px, 5vw, 72px); }
.banner h1 { margin: 0; font-size: clamp(32px, 6.4vw, 80px); line-height: 1; letter-spacing: -0.035em; font-weight: 800; }
.banner h1 span { color: var(--pollen); white-space: nowrap; }
.banner .sub { margin: 14px 0 26px; font-size: clamp(14.5px, 1.7vw, 21px); color: #E3EADC; }
.banner .search { margin: 0; max-width: none; width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.banner .search label { color: var(--ink); }
.banner .search input::-webkit-search-cancel-button { display: none; }
.banner .cr { position: absolute; right: 16px; bottom: 5px; margin: 0; max-width: calc(100% - 32px); font-size: 11px; line-height: 1.3; color: #D5DDCF; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner .cr a { color: inherit; }
.compris { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 14px; }
.compris[hidden] { display: none; }
.compris b { font-weight: 600; background: var(--pollen); color: var(--on-pollen); border-radius: 999px; padding: 3px 10px; }
.compris i { font-style: normal; color: #E3EADC; }
.chips.row { margin: 16px 0 0; }
/* Trois entrées compactes, cliquables en entier : le comparateur (promesse « au meilleur prix »), le mois, les sélections */
/* Positionnement (19/11/2026) : deux produits en tête, le comparateur et la recherche, côte à côte (Ce mois-ci et Sélections retirés : déjà dans le menu) */
.start { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 6px; }
.startcard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s, border-color .15s; }
.startcard:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(29,42,33,.12); border-color: var(--moss); }
.startcard .t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.startcard .k { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6A5512; }
.startcard b { font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.startcard .d { color: var(--muted); font-size: 14.5px; line-height: 1.35; }
.startcard .go { font-weight: 700; font-size: 20px; color: var(--moss); }
.startcard.prix { background: var(--gold-bg); border-color: #E8D9A2; }
.startcard.prix .i { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--pollen); color: var(--on-pollen); display: grid; place-items: center; }
.startcard.prix .d { color: #4E4A33; }
.startcard.trouve { background: #E3EEDF; border-color: #C5DABE; }
.startcard.trouve .i { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--moss); color: var(--on-moss); display: grid; place-items: center; }
.startcard.trouve .i svg { width: 24px; height: 24px; }
.startcard.trouve .k { color: #2F5A34; }
@media (prefers-reduced-motion: reduce) { .startcard { transition: none; } .startcard:hover { transform: none; } }
@media (max-width: 900px) { .startcard.prix, .startcard.trouve { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .banner { border-radius: 22px; }
  .banner .in { padding: 18px 14px 28px; }
  .banner .sub { margin: 8px 0 14px; }
  .banner .search { border-radius: 999px; flex-wrap: nowrap; padding: 5px; }
  .banner .search label { padding: 4px 6px 4px 14px; }
  .banner .search label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .banner .search input { padding: 0; height: 40px; text-overflow: ellipsis; }
  .banner .search button { width: 46px; height: 46px; padding: 0; flex: none; justify-content: center; }
  .banner .search button span { display: none; }
  .chips.row::-webkit-scrollbar { display: none; }
  /* Sélections : une seule ligne à faire défiler, au lieu de quatre lignes de boutons */
  .chips.row { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin: 12px -16px 0; padding: 0 16px 2px; scrollbar-width: none; }
  .chips.row a { flex: none; padding: 6px 13px 6px 7px; font-size: 14.5px; }
  .chips.row a span { width: 20px; height: 20px; }
  .chips.row a.all { padding-left: 13px; }
  .start { gap: 8px; margin-top: 12px; }
  .startcard { padding: 11px 12px; border-radius: 16px; gap: 10px; }
  .startcard b { font-size: 16.5px; }
  .startcard .d { font-size: 13px; }
  .startcard .go { font-size: 17px; }
  .startcard.prix .i, .startcard.trouve .i { width: 38px; height: 38px; }
  .startcard.prix .k, .startcard.trouve .k { font-size: 11.5px; }
  .startcard.month .go, .startcard.sels .go { display: none; }
}
.search { position: relative; margin: -40px auto 0; max-width: 760px; background: var(--surface); border-radius: 999px; box-shadow: 0 16px 40px rgba(29,42,33,.16); padding: 8px; display: flex; align-items: center; gap: 6px; }
.search label { flex: 1; padding: 6px 22px; display: flex; flex-direction: column; font-size: 13px; font-weight: 700; }
.search input { border: 0; background: transparent; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); padding: 2px 0 0; min-width: 0; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 3px var(--pollen), 0 16px 40px rgba(29,42,33,.16); }
.search button { height: 56px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--moss); color: var(--surface); font: inherit; font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.guide { text-align: center; color: var(--muted); font-size: 15px; margin: 14px 0 0; }
.guide a { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 10px; }
.chips a { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px 9px 10px; font-weight: 500; }
.chips a span { width: 26px; height: 26px; border-radius: 999px; }
.chips a:hover { border-color: var(--moss); }
.sel { margin-top: 36px; }
.sel .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.sel h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; }
.sel .head a { font-weight: 700; }

/* Vignettes */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px; }
.card { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.card .ph { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 1; background: var(--ph); margin-bottom: 8px; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .ph img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .card .ph img { transition: none; } }
.card .badge { position: absolute; left: 10px; bottom: 10px; background: var(--surface); color: var(--dg); font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.card b { font-size: 18px; letter-spacing: -0.01em; }
.card i { font-family: var(--serif); color: var(--muted); font-size: 16px; }
.mini { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; margin-top: 6px; }
.mini > span { display: flex; align-items: center; gap: 3px; }
.ico { width: 22px; height: 22px; flex: none; }
.ico.s { width: 18px; height: 18px; }
.drop { width: 13px; height: 16px; }

/* Fiche : tête */
/* Tête de fiche (12/11/2026) : sur grand écran, photos à gauche, nom puis repères à droite ; sur téléphone, le nom d'abord, puis les photos, puis les repères */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "g h" "g b"; gap: 10px 36px; }
.hero > .gallery { grid-area: g; }
.hero > .idhead { grid-area: h; }
.hero > .id { grid-area: b; }
@media (max-width: 900px) { .hero { display: flex; flex-direction: column; gap: 16px; } }
.idhead { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.gallery figure { margin: 0; }
.gallery .big { grid-column: 1 / -1; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--ph); }
.gallery .big img { aspect-ratio: 4 / 3; border-radius: 24px; }
/* Sous la photo principale : la deuxième photo en grand, flèches et compteur pour passer aux suivantes (une à la fois) */
.gstrip { grid-column: 1 / -1; position: relative; container-type: inline-size; margin-top: 6px; }
.gtrack { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gtrack::-webkit-scrollbar { display: none; }
.gtrack figure { margin: 0; flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.gallery .gtrack img { aspect-ratio: 4 / 3; border-radius: 24px; }
.gnav { position: absolute; top: calc(37.5cqw - 20px); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #1F2A22; font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.gnav[hidden] { display: none; }
.gnav.prev { left: 10px; }
.gnav.next { right: 10px; }
.gcount { position: absolute; top: calc(75cqw - 34px); left: 12px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; pointer-events: none; }
figcaption { font-size: 12.5px; line-height: 1.4; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }
.nophoto { grid-column: 1 / -1; aspect-ratio: 4 / 3; border-radius: 24px; background: var(--soft); display: grid; place-items: center; color: var(--muted); }
.id { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.kicker { margin: 0; color: var(--muted); font-weight: 500; }
.idhead h1 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: .95; letter-spacing: -0.04em; font-weight: 800; overflow-wrap: anywhere; }
.latin { margin: 0; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--sub); }
.aka { margin: 0; color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.tag { background: var(--soft); border-radius: 999px; padding: 4px 11px; font-size: 13.5px; font-weight: 500; }
.tag.alert { background: var(--warnbg); color: var(--warn); font-weight: 700; }
/* Repères : les traits entre les vignettes sont l'écart de la grille (plus de règles selon la position de chaque vignette) */
.tiles { background: var(--tiles); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; }
.tile { padding: 16px 18px; display: flex; gap: 12px; align-items: center; min-width: 0; background: var(--surface); }
.tile.wide { grid-column: 1 / -1; }
.tile .ico { width: 40px; height: 40px; }
.tile .drops { display: flex; gap: 2px; flex: none; }
.tile .drops .drop { width: 17px; height: 22px; }
.tile b { display: block; font-size: 18px; line-height: 1.25; }
.tile span:not(.drops):not(.drop) { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; }
.tile .size { width: 60px; height: 52px; flex: none; }
/* Vignette Entretien : trois barres, comme les jauges des rubriques */
.tile .lvl { display: flex !important; align-items: flex-end; gap: 4px; flex: none; width: 40px; height: 34px; padding: 0 4px; }
.tile .lvl i { flex: 1; border-radius: 3px; background: #DDE3D5; height: 40%; }
.tile .lvl i:nth-child(2) { height: 70%; }
.tile .lvl i:nth-child(3) { height: 100%; }
.tile .lvl i.on { background: var(--moss); }
/* « En bref » : deux ou trois phrases sous le nom de la plante */
.lede { margin: 2px 0 0; font-size: 17px; }
.lede p { margin: 0 0 6px; font-size: 1em; line-height: 1.5; color: var(--text); max-width: 62ch; }
.tile.temp { grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 0; }
.tile .row { display: flex; justify-content: space-between; gap: 10px; }
.tile .row.s span { font-size: 12.5px; }
.bar { position: relative; height: 14px; margin: 12px 0 6px; border-radius: 999px; background: linear-gradient(90deg, #6F9FBE 0%, #C9DCE6 38%, #E8E2C6 55%, #E9B66B 80%, #C8643B 100%); }
.bar span { position: absolute; top: -4px; bottom: -4px; border-radius: 999px; }
.bar .ep { border: 1.5px dashed #6B756A; background: repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 4px, transparent 4px 8px); }
.bar .dur { border: 2.5px solid var(--ink); background: rgba(255,255,255,.35); }
.tile .epi { font-size: 12.5px; color: var(--muted); text-align: right; }
.actions { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; height: 50px; padding: 0 22px; border-radius: 999px; background: var(--moss); color: var(--surface); text-decoration: none; font-weight: 700; }
.btn:hover { color: var(--surface); background: var(--moss-hover); }
button.btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; gap: 8px; }
.actions a.btn { gap: 8px; }
.btn.ghost { background: transparent; color: var(--moss); border: 1.5px solid var(--moss); height: 50px; padding: 0 18px; }
.btn.ghost:hover { background: var(--soft); color: var(--ink); }
/* Bouton « Comparer les prix » mis en avant en haut des fiches (10/11/2026) */
.pricecta { display: flex; align-items: center; gap: 14px; margin: 12px 0 2px; padding: 14px 18px 14px 14px; border-radius: 22px; background: var(--pollen); color: var(--on-pollen); text-decoration: none; box-shadow: 0 8px 22px rgba(185,138,20,.25); transition: transform .15s, box-shadow .15s; }
.pricecta:hover { color: var(--on-pollen); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(185,138,20,.32); }
.pricecta .pc-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--moss); }
.pricecta .pc-ico svg { width: 24px; height: 24px; }
.pricecta .pc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pricecta .pc-hook { font-size: 13.5px; font-weight: 500; color: #4A3A0E; }
.pricecta .pc-txt > b { font-size: 21px; letter-spacing: -0.01em; }
.pricecta .pc-from { font-size: 15px; margin-top: 2px; }
.pricecta .pc-from b { font-size: 17px; }
.pricecta .pc-go { flex: none; font-size: 24px; font-weight: 700; }
@media print { .pricecta { display: none; } }

/* Calendrier, alerte */
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 20px 22px; margin-top: 24px; }
.box h2 { margin: 0 0 12px; font-size: 22px; }
.calgrid { display: grid; grid-template-columns: 90px repeat(12, minmax(14px, 1fr)); gap: 4px; align-items: center; font-size: 13.5px; }
.calgrid .m { text-align: center; color: var(--muted); }
.calgrid .k { font-weight: 700; }
.calgrid .c { height: 22px; border-radius: 6px; background: #EEF1E9; }
/* Mois en cours : entouré dans chaque ligne, lettre en gras */
.calgrid .m.now { color: var(--ink); font-weight: 800; }
.calgrid .c.now { outline: 2px solid var(--ink); outline-offset: 1px; }
.cal-now { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.cal-now[hidden] { display: none; }
.cal-now span { width: 14px; height: 12px; border-radius: 4px; outline: 2px solid var(--ink); outline-offset: -2px; }
@media print { .cal-now { display: none; } .calgrid .c.now { outline: 0; } }
.cal .sexe { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #F6F1E6; font-size: 14px; }
.note { color: var(--muted); font-size: 14.5px; margin: 10px 0 0; }
.warn { margin-top: 24px; background: var(--warnbg); border-radius: 20px; padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start; }
.warn .ico { width: 28px; height: 28px; margin-top: 2px; }
.warn h2 { margin: 0 0 4px; font-size: 18px; color: var(--warn); }
.warn p { margin: 0 0 6px; color: var(--dg-ink); max-width: 75ch; }
/* « À savoir avant de planter » (scripts/danger.mjs) : par thème, ou résumé en pastilles + points */
.dg-in { flex: 1; min-width: 0; }
.dg-rows { display: grid; gap: 12px; }
.cb-row.dg-row { --c: var(--dg); }
.dg-row .cb-ic { background: var(--dg-bg); }
.dg-row .cb-lab { color: var(--dg); display: flex; align-items: center; gap: 8px; }
.dg-row .cb-txt p { color: var(--dg-ink); }
.dg-lvl { display: inline-flex; gap: 3px; }
.dg-lvl i { width: 16px; height: 6px; border-radius: 3px; background: var(--dg-line); }
.dg-lvl i.on { background: var(--dg); }
.dg-src { color: var(--dg-sub); font-size: 13px; }
/* Replié par défaut : titre + pastilles, « Lire » / « Masquer » */
.dg-fold > summary { list-style: none; cursor: pointer; display: grid; gap: 8px; }
.dg-fold > summary::-webkit-details-marker { display: none; }
.dg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dg .dg-top h2 { margin: 0; }
.dg-tog { flex: none; font-size: 15px; font-weight: 600; color: var(--dg); white-space: nowrap; }
.dg-tog::before { content: "Lire ›"; }
.dg-fold[open] .dg-tog::before { content: "Masquer"; }
.dg-fold > summary:hover .dg-tog { text-decoration: underline; }
.dg-body { margin-top: 14px; }
.dg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dg-chip { background: var(--dg-bg); border: 1px solid var(--dg-line); color: var(--dg-ink); border-radius: 999px; padding: 2px 10px; font-size: 13.5px; }
.dg-chip b { color: var(--dg); font-weight: 600; }
.dg-ref { background: var(--dg-bg2); border-radius: 14px; padding: 10px 14px; margin: 12px 0 0; }
.dg-ref-t, .dg .dg-sub { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--dg-sub); }
.dg .dg-sub { margin-top: 10px; }
.dg-ref ul { margin: 0; padding-left: 20px; color: var(--dg-ink); }
.dg-pts { margin: 0; padding-left: 20px; color: var(--dg-ink); display: grid; gap: 6px; max-width: 75ch; }
.dg-pts b { color: var(--dg); }
.dg-more { margin-top: 8px; }
.dg-more > summary { cursor: pointer; color: var(--dg); font-weight: 600; font-size: 15px; padding: 4px 0; }
.dg-more[open] > summary { margin-bottom: 6px; }
@media (max-width: 600px) {
  .warn.dg { display: block; padding: 16px; }
  .warn.dg > .ico { float: left; width: 24px; height: 24px; margin: 0 10px 0 0; }
  .dg h2 { line-height: 24px; }
  .dg-row .cb-ic { width: 32px; height: 32px; border-radius: 10px; }
}

/* Fiche : corps */
/* Sommaire en barre collée en haut de l'écran, au-dessus du texte : la fiche et ses photos prennent toute la largeur (10/11/2026) */
.body { margin-top: 44px; }
.toc { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 32px; padding: 10px 0; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 15px; }
.toc p { margin: 0; font-weight: 700; white-space: nowrap; }
.toc ul { list-style: none; margin: 0; padding: 2px 0; display: flex; gap: 6px; flex: 1 1 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.toc ul::-webkit-scrollbar { display: none; }
.toc li { flex: 0 0 auto; }
.toc a { display: block; padding: 6px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); white-space: nowrap; border: 1px solid var(--line); background: var(--surface); }
.toc a:hover { border-color: var(--moss); }
.toc li.on > a { background: var(--moss); border-color: var(--moss); color: var(--on-moss); }
.toc .toc-sub { display: none; }
.toc-row { flex: 1 0 100%; display: flex; gap: 2px 16px; overflow-x: auto; scrollbar-width: none; font-size: 14px; padding: 2px 0 0; }
.toc-row::-webkit-scrollbar { display: none; }
.toc .toc-row a { padding: 2px 0; border: 0; background: none; border-radius: 0; color: var(--muted); }
.toc .toc-row a:hover { color: var(--ink); text-decoration: underline; }
.text { min-width: 0; }
.text [id] { scroll-margin-top: 110px; }
.text article { margin-bottom: 40px; }
.text article::after, .chap-in::after { content: ""; display: table; clear: both; }
.text h2 { font-size: clamp(26px, 3vw, 30px); letter-spacing: -0.02em; margin: 0 0 8px; }
/* Grandes rubriques repliables (11/11/2026) : toucher le titre range ou déroule la rubrique */
.chap > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 8px; border-radius: 10px; }
/* Boutons des chapitres, à droite du titre (sous le titre sur téléphone) */
.chap-subs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: 1 1 260px; order: 2; }
.chap-subs a { font-family: var(--ui); font-size: 13.5px; font-weight: 600; color: var(--moss); text-decoration: none; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.chap-subs a:hover { background: var(--soft); }
@media (max-width: 700px) { .chap-subs { order: 4; flex-basis: 100%; justify-content: flex-start; } .chap-subs a { font-size: 13px; padding: 4px 10px; } }
.chap > summary::-webkit-details-marker { display: none; }
.chap > summary h2 { margin: 0; flex: 0 1 auto; order: 1; }
.chap > summary::after { content: ""; flex: none; order: 3; margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586457' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat; transform: rotate(180deg); transition: transform .2s; }
.chap:not([open]) > summary::after { transform: none; }
.chap > summary:hover::after { background-color: var(--line); }
.chap > summary:focus-visible { outline: 2px solid var(--moss); outline-offset: 4px; }
.text article:has(> .chap:not([open])) { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
/* Chaque paragraphe commence sous la photo du paragraphe précédent : deux photos flottantes ne se serrent plus contre le texte (10/11/2026) */
.text h3 { font-size: 17px; margin: 18px 0 2px; clear: both; }
.text p { font-family: var(--serif); font-size: 19px; line-height: 1.65; color: var(--text); margin: 0 0 10px; }
.text .note { font-family: var(--ui); font-size: 14.5px; }
.inset { float: right; width: 40%; min-width: 180px; margin: 6px 0 12px 22px; }
.inset img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
/* Plusieurs photos sur un même emplacement (jusqu'à 3) : côte à côte, au-dessus du texte */
.insets { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 6px 0 16px; clear: both; }
.insets .inset { float: none; width: auto; min-width: 0; margin: 0; }
.insets .inset img { aspect-ratio: 4 / 3; }
.inset figcaption { font-size: 13px; line-height: 1.45; }
@media (max-width: 640px) { .inset { float: none; width: 100%; margin: 6px 0 14px; } .inset img { aspect-ratio: 4 / 3; } .toc p { display: none; } }
.vars { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.var { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 8px; font-family: var(--ui); }
.var figure { margin: 0; }
.var img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.vcar { position: relative; container-type: inline-size; }
.vtrack { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 12px; }
.vtrack::-webkit-scrollbar { display: none; }
.vtrack figure { flex: 0 0 100%; scroll-snap-align: start; }
.vnav { position: absolute; top: calc(33.33cqw - 17px); width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #1F2A22; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.vnav[hidden] { display: none; }
.vnav.prev { left: 8px; }
.vnav.next { right: 8px; }
.vcount { position: absolute; top: 8px; right: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 10px; pointer-events: none; }
.var h3 { margin: 0; font-size: 17px; }
.text .var p { font-family: var(--ui); font-size: 15px; line-height: 1.5; margin: 4px 0 0; color: var(--sub); }
.var .tag b { font-weight: 700; }
.sources ol { font-family: var(--ui); font-size: 14.5px; color: var(--sub); padding-left: 22px; overflow-wrap: anywhere; }
.kind { color: var(--muted); }
/* Renvois numérotés vers les sources (« ¹ » → liste en bas de fiche) */
/* Renvois aux sources : masqués tant que le visiteur ne les demande pas (toujours imprimés) */
html:not(.srcs) sup.ref { display: none; }
@media print { html:not(.srcs) sup.ref { display: inline; } }
.srcsw { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin: -14px 0 26px; font-size: 14px; color: var(--muted); }
.srcsw button { font: inherit; font-weight: 600; color: var(--moss); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.srcsw button:hover { color: var(--ink); }
@media print { .srcsw { display: none; } }
/* Photo empruntée à une autre plante */
figure.shared { position: relative; }
.fig-tag { position: absolute; top: 10px; left: 10px; background: rgba(20, 30, 22, .78); color: #fff; font-family: var(--ui); font-size: 12.5px; font-weight: 600; line-height: 1.3; padding: 4px 10px; border-radius: 999px; pointer-events: none; max-width: calc(100% - 20px); }
/* Bouton « Ajouter à mon projet » */
.btn[data-pj] { gap: 8px; }
.btn[data-pj][aria-pressed="true"] { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--moss); }
.btn[data-pj][aria-pressed="true"] svg path { fill: currentColor; }
.pjok { margin: 2px 0 0; font-size: 15px; color: var(--text); }
.pjok[hidden] { display: none; }
.pjok a { font-weight: 600; }
/* Variétés : filtres, liste courte, pastilles de couleur à côté du nom */
.vfilter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; font-family: var(--ui); }
.vfilter button { font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.vfilter button small { font-weight: 400; color: var(--muted); }
.vfilter button[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--on-moss); }
.vfilter button[aria-pressed="true"] small { color: #DDE7D6; }
.vars.short > li:nth-child(n+5) { display: none; }
/* Variétés en haut de fiche, sous « À savoir avant de planter » */
.vtop { margin-top: 36px; }
.vtop > h2 { margin: 0 0 12px; }
.text .var p.vsub { font-size: 13.5px; color: var(--muted); margin: 2px 0 0; }
@media (max-width: 640px) {
  /* Téléphone : les premières cartes se font glisser sur le côté au lieu de s'empiler */
  .vars.short { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .vars.short::-webkit-scrollbar { display: none; }
  .vars.short > li { flex: 0 0 82%; scroll-snap-align: start; }
  .vfilter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .vfilter::-webkit-scrollbar { display: none; }
  .vfilter button { flex: none; }
}
/* Lexique : mot expliqué (pointillé) et sa bulle */
.gl { text-decoration: underline dotted; text-decoration-color: color-mix(in srgb, var(--moss) 60%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; cursor: help; border-radius: 3px; }
.gl:hover, .gl:focus-visible { background: color-mix(in srgb, var(--moss) 12%, transparent); outline: none; }
.gl-tip { position: absolute; z-index: 50; width: min(300px, calc(100vw - 16px)); background: var(--tip-bg); color: #F4F7F0; font: 14.5px/1.45 var(--ui); padding: 10px 14px 11px; border-radius: 14px; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); }
.gl-tip[hidden] { display: none; }
.gl-tip b { display: block; font-size: 13px; letter-spacing: .02em; color: #C9D8BE; margin-bottom: 2px; }
.gl-tip b::first-letter { text-transform: uppercase; }
.gl-tip a { display: inline-block; margin-top: 6px; color: #F0D68A; font-weight: 600; }
@media print { .gl { text-decoration: none; } .gl-tip { display: none !important; } }
/* Une seule police de lecture sur les fiches (12/11/2026) : le texte des rubriques passe dans la police du reste de la page ;
   l'écriture à empattements reste réservée au nom latin. */
.text { --serif: var(--ui); }
.text p { font-size: 17.5px; line-height: 1.6; }
.vars > li[hidden] { display: none; }
.vmore { margin: 14px 0 0; }
.text .vmore .btn { cursor: pointer; font-family: var(--ui); font-size: 16px; font-weight: 700; }
.vdots { display: inline-flex; gap: 3px; margin-right: 8px; vertical-align: middle; }
.vdots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.text .vsend { margin-top: 12px; }
@media print { .vfilter, .vmore, .vsend { display: none !important; } .vars.short > li:nth-child(n+5) { display: flex; } }
sup.ref { font-family: var(--ui); font-size: 0.68em; line-height: 0; margin-left: 1px; white-space: nowrap; }
sup.ref a { text-decoration: none; font-weight: 600; padding: 0 1px; }
sup.ref a:hover { text-decoration: underline; }
.sources li { scroll-margin-top: 90px; }
.sources li:target { background: var(--soft); border-radius: 6px; }
.scroll { overflow-x: auto; }
.cred { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); border-radius: 16px; }
.cred td, .cred th { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 10px; vertical-align: top; overflow-wrap: anywhere; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); background: var(--foot); }
.foot div { max-width: 1240px; margin: 0 auto; padding: 32px 28px; display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; font-size: 14px; color: var(--sub); }
.foot p { margin: 0; max-width: 60ch; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 560px) { .top, main { padding-left: 16px; padding-right: 16px; } .search { border-radius: 22px; flex-wrap: wrap; } .search button { width: 100%; justify-content: center; } }

/* Pages de texte (À propos, mentions) et page 404 */
.prose { max-width: 70ch; font-size: 17px; }
.prose h2 { font-size: 24px; letter-spacing: -0.01em; margin: 34px 0 8px; }
.prose p { margin: 0 0 14px; color: var(--text); }
.notfound { text-align: center; padding: 40px 0 70px; }
.notfound .code { margin: 0; font-size: clamp(72px, 14vw, 140px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--moss); }
.notfound .lead { max-width: 46ch; margin: 10px auto 34px; }
.notfound .search { margin: 0 auto; }
.prose ul { margin: 0 0 14px; padding-left: 20px; color: var(--text); }
.prose li { margin: 4px 0; }
.foot nav a.avis { font-weight: 700; }
.avisbox { margin: 34px 0 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.avisbox p { margin: 0; max-width: 60ch; color: var(--text); font: 16px/1.5 var(--ui); }
.avisbox a { text-decoration: none; background: var(--moss); color: var(--surface); padding: 10px 18px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.avisbox a:hover { background: var(--ink); color: var(--surface); }
/* Page de variété : tableau des différences avec l'espèce */
table.diff { border-collapse: collapse; width: 100%; max-width: 640px; font-size: 15px; background: var(--surface); border-radius: 14px; overflow: hidden; }
table.diff th, table.diff td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.diff thead th { font-size: 13px; color: var(--muted); font-weight: 700; background: var(--soft); }
table.diff tbody th { font-weight: 600; color: var(--text); width: 34%; }
table.diff td:last-child { color: var(--muted); }
table.diff tr:last-child th, table.diff tr:last-child td { border-bottom: 0; }
picture { display: contents; }

/* Impression d'une fiche : texte noir sur blanc, sans menus ni boutons */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .top nav, .foot, .toc, .actions, .avisbox, .crumbs, .gallery figure:not(.big), .gstrip, .vars figure, .vcar { display: none !important; }
  main { padding: 0; max-width: none; }
  .hero { display: grid; grid-template-columns: 36% minmax(0, 1fr); gap: 8px 18px; }
  .gallery { display: block; }
  .gallery .big img { border-radius: 8px; }
  .tile, .box, .warn, .var, table.diff { background: #fff !important; border: 1px solid #bbb !important; box-shadow: none !important; }
  .body { display: block; }
  .var, .tile, .box, .tiles, table, tr, figure, p, li, .tags, .cal, .calgrid { break-inside: avoid; page-break-inside: avoid; }
  h2, h3 { break-after: avoid; page-break-after: avoid; }
  p { orphans: 3; widows: 3; }
  .sources ol { break-inside: auto; }
  .body, .text, article { display: block; }
  a { color: #000; text-decoration: none; }
  .sources a::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
  .sources a { word-break: break-all; }
  h1 { font-size: 26pt; }
  h2 { font-size: 15pt; break-after: avoid; }
  .top { padding: 0 0 8px; }
}
.chips a.all { border-style: dashed; }
.chips a.now { background: var(--est); border-color: var(--est-line); }
/* Bouton « Aide-moi à choisir » de l'accueil */
.guide { margin-top: 26px; }
.helpcta { display: flex; align-items: center; gap: 16px; max-width: 520px; margin: 10px auto 0; padding: 14px 16px 14px 14px; border-radius: 22px; text-decoration: none; color: #F8FAF5; background: linear-gradient(135deg, var(--forest), var(--forest-2)); box-shadow: 0 12px 28px rgba(47,74,53,.25); transition: transform .15s, box-shadow .15s; }
.helpcta:hover { color: #F8FAF5; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(47,74,53,.3); }
.helpcta .i { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--pollen); color: var(--on-pollen); display: grid; place-items: center; }
.helpcta .t { flex: 1; min-width: 0; }
.helpcta b { display: block; font-size: 19px; line-height: 1.2; }
.helpcta small { display: block; font-size: 14px; opacity: .85; margin-top: 2px; }
.helpcta .go { flex: none; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 24px; line-height: 1; }
ul.when { margin: 0 0 14px; padding-left: 20px; }
ul.when li { margin: 4px 0; }

/* Au jardin en … : barre des mois */
.monthbar { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.monthbar .arrow { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--moss); font-weight: 700; font-size: 20px; }
.monthbar .arrow span { font-size: 15px; text-transform: capitalize; }
.monthbar .arrow:hover { background: var(--moss); color: var(--surface); border-color: var(--moss); }
.monthbar .months { flex: 1; min-width: 0; display: flex; gap: 4px; overflow-x: auto; padding: 4px; background: var(--soft); border-radius: 999px; scrollbar-width: none; }
.monthbar .months a { flex: 1 0 auto; text-align: center; padding: 8px 10px; border-radius: 999px; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; text-transform: capitalize; }
.monthbar .months a:hover { background: var(--surface); }
.monthbar .months a[aria-current] { background: var(--moss); color: var(--surface); }
@media (max-width: 760px) { .monthbar .arrow span { display: none; } .monthbar .arrow { padding: 0 14px; } }
/* Au jardin en … : choix (je cherche, hémisphère, climat) */
.moisopt { display: grid; gap: 14px; margin: 0 0 26px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.seg { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: start; }
.seg .lab { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 10px; }
.seg .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 14px; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.seg button small { font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.seg button:hover { border-color: var(--moss); }
.seg button[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--surface); }
.seg button[aria-pressed="true"] small { color: #D9E3D4; }
@media (max-width: 640px) { .seg { grid-template-columns: 1fr; gap: 6px; } .seg .lab { padding-top: 0; } }
.sel .head h2 small { font-size: .6em; font-weight: 700; color: var(--muted); background: var(--soft); padding: 2px 10px; border-radius: 999px; vertical-align: middle; }
#moislists.busy { opacity: .5; }
/* Ce mois-ci, sur téléphone : chaque rubrique (En fleur, En fruits…) défile sur le côté, pour voir toutes les rubriques
   sans faire défiler des écrans de vignettes (17/11/2026). Une seule rubrique choisie (« Je cherche ») : grille normale. */
@media (max-width: 640px) {
  #moislists:not(.seul) .grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 56%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: -16px; padding-right: 16px; }
  #moislists:not(.seul) .grid li { scroll-snap-align: start; }
  #moislists:not(.seul) .card b { font-size: 16px; }
  #moislists:not(.seul) .card i { font-size: 14px; }
  #moislists:not(.seul) .card .mini { gap: 6px; flex-wrap: wrap; font-size: 13px; }
  #moislists:not(.seul) .card .cprix { font-size: 13px; }
  #moislists:not(.seul) .card .cprix b { font-size: 15px; }
  #moislists:not(.seul) .sel h2 { font-size: 22px; }
  #moislists:not(.seul) .sel { margin-top: 26px; }
  #moislists:not(.seul) .sel .head { margin-bottom: 6px; }
}
@media (max-width: 640px) { .seg-c .opts { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; } .seg-c button { flex: none; } .moisopt { padding: 14px; } }

/* Accueil : « Par où commencer ? » (Aide-moi à choisir en grand, puis Ce mois-ci et Sélections) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Au jardin en … : saison tropicale, travaux, liens par climat */
h1.page .climh { display: block; font-size: .42em; letter-spacing: -0.01em; font-weight: 600; color: var(--muted); margin-top: 8px; }
h1.page .climh:empty { display: none; }
.season { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin: 0 0 14px; padding: 14px 18px; border-radius: 16px; font-size: 15.5px; }
.season b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.season.wet { background: var(--sky-bg); } .season.wet b { background: var(--water); color: var(--on-water); }
.season.dry { background: var(--gold-bg); } .season.dry b { background: var(--pollen); color: var(--on-pollen); }
/* Travaux du mois : une étiquette par travail (Plantation, Taille, Mise à l'abri…) ; le détail est dans la fiche */
.card .tasks { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.card .tasks span { font-size: 12.5px; font-weight: 700; line-height: 1.2; color: var(--moss); background: var(--soft); padding: 4px 9px; border-radius: 999px; }
.climlinks { margin: 40px 0 0; padding: 22px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.climlinks h2 { margin: 0 0 12px; font-size: 20px; }
.climlinks p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.climlinks a { text-decoration: none; padding: 7px 13px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 14.5px; font-weight: 600; }
.climlinks a small { font-weight: 400; color: var(--muted); }
.climlinks a:hover, .climlinks a[aria-current] { background: var(--moss); color: var(--surface); }
.climlinks a:hover small, .climlinks a[aria-current] small { color: #DCE5D6; }

/* Où l'acheter (comparateur v1) */
table.offres { width: 100%; border-collapse: collapse; font-size: 15px; }
table.offres th { text-align: left; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.offres td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.offres td.prix { font-weight: 800; font-size: 17px; white-space: nowrap; }
table.offres small { color: var(--muted); font-weight: 400; font-size: 12.5px; }
table.offres .btn.small { height: 40px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
table.offres .aff { margin-left: 2px; }
#acheter h2 .from { font-size: .55em; font-weight: 700; color: var(--moss); background: var(--soft); padding: 4px 10px; border-radius: 999px; vertical-align: middle; margin-left: 8px; }
@media print { #acheter { display: none; } }

/* Menu : compteur du projet */
.navpj { position: relative; }
.navpj .pjn { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--pollen); color: var(--on-pollen); font-size: 12px; font-weight: 800; }
.navpj .pjn[hidden] { display: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--moss); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn.danger { color: var(--warn); }
.btn.small { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.ghost { background: var(--surface); color: var(--moss); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--soft); color: var(--ink); }
/* Bouton « Comparer les prix » mis en avant en haut des fiches (10/11/2026) */
.pricecta { display: flex; align-items: center; gap: 14px; margin: 12px 0 2px; padding: 14px 18px 14px 14px; border-radius: 22px; background: var(--pollen); color: var(--on-pollen); text-decoration: none; box-shadow: 0 8px 22px rgba(185,138,20,.25); transition: transform .15s, box-shadow .15s; }
.pricecta:hover { color: var(--on-pollen); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(185,138,20,.32); }
.pricecta .pc-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--moss); }
.pricecta .pc-ico svg { width: 24px; height: 24px; }
.pricecta .pc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pricecta .pc-hook { font-size: 13.5px; font-weight: 500; color: #4A3A0E; }
.pricecta .pc-txt > b { font-size: 21px; letter-spacing: -0.01em; }
.pricecta .pc-from { font-size: 15px; margin-top: 2px; }
.pricecta .pc-from b { font-size: 17px; }
.pricecta .pc-go { flex: none; font-size: 24px; font-weight: 700; }
@media print { .pricecta { display: none; } }
.btn.danger { background: var(--warn); }
.hint { color: var(--muted); font-size: 14px; }

/* Encart « Où l'acheter » de la fiche */
.buybox { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; }
.buybox h2 { margin-top: 0; }
.buybox .buy { font-size: 17px; margin: 0 0 14px; }
.buybox .buy b { font-size: 26px; color: var(--moss); }
.buybox .note { margin: 12px 0 0; font-size: 13px; }

/* Mon projet */
.pj { display: grid; gap: 22px; }
.pjhead .kick { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pjhead h1.page { margin: 4px 0 12px; }
.pjnames { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--moss); color: var(--surface); border-color: var(--moss); }
.chip.add { border-style: dashed; color: var(--moss); }
.pjtools { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.pjform { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 12px; }
.pjform input, .pjadd input, .pjc input, .pjc select { font: inherit; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); min-width: 0; }
.pjform input { flex: 1 1 260px; }
.pjin { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--sky-bg); }
.pjin span { flex: 1 1 260px; }
.pjin.warn { background: var(--warnbg); }
.pjstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.pjhead .cmppays { margin-top: 12px; }
.pjstats div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.pjstats b { display: block; font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; }
.pjstats span { color: var(--muted); font-size: 14px; }
.pjadd label { display: block; font-weight: 700; margin-bottom: 6px; }
.pjadd > div { display: flex; gap: 8px; }
.pjadd input { flex: 1; }
.pjempty { text-align: center; padding: 40px 20px; background: var(--surface); border-radius: 22px; border: 1px dashed var(--line); }
.pjcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.pjc { display: grid; grid-template-columns: 110px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.pjc > img, .pjc > .ph { width: 110px; height: 100%; min-height: 160px; object-fit: cover; background: var(--soft); }
.pjc .bd { padding: 14px 16px; display: grid; gap: 10px; align-content: start; }
.pjc .ttl { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pjc h3 { margin: 0; font-size: 19px; } .pjc h3 a { color: var(--ink); text-decoration: none; }
.pjc i { font-family: var(--serif); color: var(--muted); }
.pjc .x { border: 0; background: var(--soft); width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); flex: none; }
.pjc .f { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pjc .f input, .pjc .f select { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; padding: 8px 10px; }
.pjc .row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.pjc .step { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.pjc .step button { border: 0; background: var(--soft); width: 34px; font-size: 18px; cursor: pointer; }
.pjc .step input { width: 52px; border: 0; border-radius: 0; text-align: center; }
.pjc .f small { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; }
.pjc .sugg { margin: 0; font-size: 14px; padding: 8px 10px; border-radius: 10px; background: var(--gold-bg); }
.pjc .price { margin: 0; font-size: 14px; } .pjc .price b { color: var(--moss); font-size: 16px; }
.pjbilan h2, .pjzones h2, .pjacts h2, .pjsave h2 { margin: 10px 0 12px; }
/* Étape 3 (13/11/2026) : pages de prix, catalogue des variétés, nouveautés, évolution des prix */
.pxlinks { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.pxsec { margin-top: 30px; scroll-margin-top: 16px; }
.pxsec h2 { margin: 0 0 10px; }
.pxsec h2 .from { font-size: .6em; font-weight: 600; color: var(--muted); white-space: nowrap; }
.pxsec h2 .tag { font-size: 12.5px; vertical-align: middle; white-space: nowrap; }
.pxmore { margin: 10px 0 0; font-size: 15px; }
table.offres tr.rupt td { color: var(--muted); }
table.offres tr.rupt td.prix { font-weight: 600; }
table.pxvar td:first-child .tag { font-size: 12px; padding: 2px 8px; white-space: nowrap; }
.evo { white-space: nowrap; }
.evo.down { color: var(--moss); font-weight: 700; }
.evo.up { color: var(--moss); font-weight: 700; }
.pxfind { display: grid; gap: 8px; margin: 0 0 14px; max-width: 560px; }
.pxfind label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.pxfind input { font: inherit; font-size: 17px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); }
.pxf { display: flex; flex-wrap: wrap; gap: 8px; }
.pxf button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 14px; cursor: pointer; }
.pxf button[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--on-moss); font-weight: 700; }
ul.pxlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
ul.pxlist a { display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; text-decoration: none; color: var(--ink); height: 100%; }
ul.pxlist a:hover { border-color: var(--moss); }
ul.pxlist i, ul.pxlist span { color: var(--muted); font-size: 14px; }
ul.pxlist span b { color: var(--moss); }
.vg { margin-top: 22px; }
.vg h2 { font-size: 19px; margin: 0 0 6px; }
.vg h2 i { font-weight: 400; color: var(--muted); font-size: 15px; }
ul.vlist, ul.nvlist { list-style: none; padding: 0; margin: 0; }
ul.vlist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
ul.vlist span { color: var(--muted); font-size: 14px; }
ul.nvlist li { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 10px 0; border-top: 1px solid var(--line); }
ul.nvlist span { grid-column: 1; color: var(--muted); font-size: 14.5px; }
ul.nvlist small { grid-column: 2; grid-row: 1; color: var(--muted); font-size: 13px; white-space: nowrap; }
/* Nouveautés (refonte du 17/11/2026) : résumé, annonces, filtres, cartes avec photo et mini-courbe */
.nvsum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 14px; }
.nvsum a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.nvsum a:hover { border-color: var(--moss); }
.nvsum b { font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.nvsum span { color: var(--muted); font-size: 14px; }
.nvmoi { background: var(--est); border-radius: 14px; padding: 10px 14px; margin: 0 0 12px; font-size: 15px; }
.nvpeps { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.nvpeps button { font: inherit; font-size: 14.5px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; text-align: left; }
.nvpeps button:hover { border-color: var(--moss); }
.nvbar { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nvbar label { display: grid; gap: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.nvbar select { font: inherit; font-size: 15px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; max-width: 100%; }
.nvbar button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 15px; cursor: pointer; }
.nvbar button[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--on-moss); font-weight: 700; }
ul.nvgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
li.nvwk { grid-column: 1 / -1; font-weight: 700; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; padding-top: 8px; }
li.nv { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
li.nv[hidden] { display: none; }
li.nv.neuf::before { content: ""; position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--pollen); }
li.nv.mien { border-color: var(--moss); box-shadow: inset 0 0 0 1px var(--moss); }
.nvph { display: block; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--soft); }
.nvph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nvb { min-width: 0; display: grid; align-content: start; gap: 3px; }
.nvt { font-weight: 700; color: var(--ink); line-height: 1.3; padding-right: 12px; }
.nvb p { margin: 0; }
.nvpx { font-size: 15px; }
.nvpx s { color: var(--muted); }
.nvpx b { font-size: 17px; }
.nvpct { display: inline-block; background: var(--pollen); color: var(--on-pollen); font-weight: 800; border-radius: 999px; padding: 1px 9px; font-size: 14px; font-variant-numeric: tabular-nums; }
.nvlab { display: inline-block; border-radius: 999px; padding: 1px 9px; font-size: 13px; font-weight: 700; }
.nvlab.r { background: var(--moss); color: var(--on-moss); }
.nvlab.n { background: var(--soft); color: var(--ink); }
.nvplus { color: var(--muted); font-size: 13px; }
.nvq { color: var(--muted); font-size: 13.5px; }
.nvq b { color: var(--text); font-weight: 600; }
.nvev { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 2px; }
.nvsp { display: block; overflow: visible; }
.nvsp path { fill: none; stroke: var(--moss); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.nvsp circle { fill: var(--moss); stroke: var(--surface); stroke-width: 2; }
.nvbas { font-size: 12px; padding: 2px 8px; background: var(--est); font-weight: 700; }
.nvd, .nvcr { color: var(--muted); font-size: 12px; }
.nvcr { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .nvsum { gap: 6px; } .nvsum a { padding: 10px; } .nvsum b { font-size: 24px; } .nvsum span { font-size: 12.5px; }
  .nvbar label { flex: 1 1 45%; } .nvbar select { width: 100%; }
  ul.nvgrid { grid-template-columns: 1fr; }
  li.nv { grid-template-columns: 76px 1fr; } .nvph { width: 76px; height: 76px; }
}
.pjvu { border: 1px solid var(--line); border-radius: 18px; background: var(--soft); padding: 12px 16px; margin: 0 0 16px; }
.pjvu h2 { font-size: 16px; margin: 0 0 6px; }
.pjvu ul { margin: 0; padding-left: 18px; font-size: 15px; }
.pjvu li b.down { color: var(--moss); }
@media print { .pxlinks, .pxmore, .pxfind, .pjvu, .nvbar, .nvpeps { display: none !important; } }
/* Étape 4 (13/11/2026) : Mon jardin */
.jdsec { margin-top: 30px; scroll-margin-top: 16px; }
.jdsec h2 { margin: 0 0 10px; }
.jdtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }
.jdtabs button, .jdcol .bt button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 14px; cursor: pointer; }
.jdtabs button[aria-pressed="true"], .jdcol .bt button[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--on-moss); font-weight: 700; }
.pjc.souhait > img { opacity: .6; }
.jd .pjc .row { grid-template-columns: 1fr 1fr; }
.jd .pjc .row input { min-width: 0; width: 100%; box-sizing: border-box; }
.pjadd > div { flex-wrap: wrap; }
.jdfroid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; max-width: 620px; }
.jdfroid .f { min-width: 0; display: grid; gap: 4px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.jdfroid input, .jdfroid select { min-width: 0; width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
.jdres { margin: 14px 0 8px; font-size: 16.5px; }
.jdres .jdw { color: var(--warn); }
ul.jdrisk, ul.jdmois, ul.jdvilles { list-style: none; padding: 0; margin: 0 0 8px; }
ul.jdrisk li { display: grid; gap: 2px; padding: 10px 14px; margin-bottom: 8px; border-radius: 14px; background: var(--warnbg); color: var(--warn); }
ul.jdrisk li span { font-size: 14.5px; }
ul.jdrisk li .tag { justify-self: start; background: var(--surface); font-size: 12px; padding: 2px 8px; }
ul.jdmois li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.jdan { margin: 12px 0; }
.jdan summary { cursor: pointer; font-weight: 700; margin-bottom: 10px; }
.jdcol { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin-bottom: 10px; padding: 0 14px; }
.jdcol summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 0; cursor: pointer; }
.jdcol summary > span:first-of-type { color: var(--muted); font-size: 14px; }
.jdcol .bar { flex: 1; min-width: 80px; height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.jdcol .bar i { display: block; height: 100%; background: var(--moss); }
.jdcol ul { list-style: none; margin: 0; padding: 0 0 8px; }
.jdcol li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.jdcol li.jvar .n { padding-left: 14px; }
.jdcol li.ai .n { font-weight: 700; }
.jdcol li .px { grid-column: 1; color: var(--muted); font-size: 13.5px; }
.jdcol li.jvar .px { padding-left: 14px; }
.jdcol li .bt { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; }
.jdcol .bt button { padding: 5px 10px; font-size: 13px; }
@media print { .jdtabs, .jdfroid, .jdcol .bt, .jd .pjadd { display: none !important; } }
.pjsave { margin-top: 26px; }
/* Étape 1 (12/11/2026) : suivi d'achat, remplacement, plan d'achat par pépinière, budget selon le format */
.pjc .suivi > div { display: flex; flex-wrap: wrap; gap: 6px; }
.pjc .suivi button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13.5px; cursor: pointer; }
.pjc .suivi button[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--on-moss); font-weight: 700; }
.pjc.fait > img { opacity: .55; }
.pjc .alt { margin: 6px 0 0; font-size: 14.5px; }
.pjstats .reste { font-size: inherit; display: inline; }
.pjplan, .pjbud { margin-top: 26px; }
.pjplan h2, .pjbud h2 { margin: 10px 0 12px; }
.planopts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.planopts button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 16px; padding: 10px 14px; font: inherit; font-size: 14.5px; cursor: pointer; text-align: left; }
.planopts button span { font-size: 13px; color: var(--muted); }
.planopts button[aria-pressed="true"] { border-color: var(--moss); box-shadow: inset 0 0 0 1px var(--moss); background: var(--soft); }
.planpep { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 6px 16px 10px; margin: 0 0 12px; }
.planpep .ph { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 10px 0 6px; }
.planpep .ph span { flex: 1; min-width: 120px; color: var(--muted); font-size: 13.5px; }
.planpep .ph > b:first-child { font-size: 17px; }
.planpep ul { list-style: none; margin: 0; padding: 0; }
.planpep li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 2px 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.planpep li .q { color: var(--muted); white-space: nowrap; }
.planpep li .n { min-width: 0; }
.planpep li .n small { display: block; color: var(--muted); font-size: 13px; }
.planpep li .u { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.planpep li .t { white-space: nowrap; }
.planpep li a { grid-column: 2 / -1; font-size: 14px; }
.plantot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 14px 2px 8px; font-size: 17px; }
.plantot b { font-size: 21px; }
.bud3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.bud { display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 12px 14px; }
.bud h3 { margin: 0; font-size: 15px; }
.bud > b { font-size: 22px; }
.bud span, .bud small { color: var(--muted); font-size: 13px; }
.bud .on { color: var(--moss); font-weight: 700; }
.bud .linkbtn { align-self: flex-start; margin-top: 4px; }
@media print { .planopts, .pjbud, .pjc .suivi, .pjc .alt, .planpep li a { display: none !important; } .planpep { break-inside: avoid; } }
.pjsave .acts { display: flex; flex-wrap: wrap; gap: 10px; }
/* Prix relevé il y a plus de 30 jours : signalé (12/11/2026) */
.vieux { color: var(--warn); font-weight: 700; white-space: nowrap; }
.pjc .price .rel { color: var(--muted); }
.pjb3 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.pjbilan .pjbk { border-radius: 20px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); }
.pjbilan .pjbk h3 { margin: 0 0 10px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.pjbilan .pjbk.okb { background: var(--ok-bg); border-color: var(--ok-line); } .pjbilan .pjbk.atb { background: var(--ko-bg); border-color: var(--ko-line); }
.pjbilan .pjbk ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; }
.pjbilan .pjbk small { color: var(--muted); }
.pjcal { display: grid; grid-template-columns: minmax(84px, 120px) repeat(12, 1fr); gap: 3px; align-items: center; font-size: 12px; overflow-x: auto; }
.pjcal .hd { text-align: center; font-weight: 800; color: var(--muted); padding: 2px 0; border-radius: 6px; }
.pjcal .hd.now { background: var(--moss); color: var(--surface); }
.pjcal .hd.hole { box-shadow: inset 0 -3px 0 var(--warn); }
.pjcal .pn { grid-column: 1 / -1; font-weight: 700; font-size: 13.5px; margin-top: 8px; }
.pjcal .lb { color: var(--muted); }
.pjcal .c { height: 12px; border-radius: 3px; background: var(--cal-off); }
.pjcal .c.now { background: var(--soft-2); }
.pjcal .c.pl[data-on] { background: #8FB27E; } .pjcal .c.fr[data-on] { background: #E9A23B; }
.pjcal .c.fl[data-on] { box-shadow: inset 0 0 0 1.5px rgba(29,42,33,.3); }
.zgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.zgrid .z { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.zgrid h3 { margin: 0 0 8px; font-size: 15.5px; }
.zgrid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.zgrid li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.zgrid img, .zgrid .ph { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; background: var(--soft); }
.pjacts .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.printfoot { display: none; }
.pjtoast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--tip-bg); color: var(--tip-ink); padding: 12px 18px; border-radius: 14px; z-index: 50; transition: opacity .4s; }
.pjtoast.out { opacity: 0; }
@media (max-width: 700px) { .pjstats { grid-template-columns: 1fr 1fr; } .pjstats div:last-child { grid-column: 1 / -1; } .pjb3 { grid-template-columns: 1fr; } .pjc { grid-template-columns: 90px 1fr; } .pjc > img, .pjc > .ph { width: 90px; } }
@media print {
  .pjnames, .pjtools, .pjadd, .pjacts, .pjsave, .pjc .x, .pjc .step button, .pjc .sugg button, .pjin, .crumbs, .linkbtn { display: none !important; }
  .pjc { break-inside: avoid; } .pjc input, .pjc select { border: 0; padding: 0; background: none; -webkit-appearance: none; appearance: none; }
  .pjcards { grid-template-columns: 1fr 1fr; } .pjbilan, .pjzones { break-inside: avoid; }
  .printfoot { display: block; font-size: 12px; color: #555; }
}

/* Comparateur, présentation du 14/11/2026 : bannière de recherche, onglets des gammes, filtres à gauche, une seule liste de lignes */
.cxhero { position: relative; background: var(--forest); color: #F8FAF5; border-radius: 28px; padding: clamp(22px, 4vw, 44px) clamp(18px, 4vw, 48px); margin-bottom: 20px;
  background-image: radial-gradient(900px 320px at 100% 0, rgba(217,180,74,.20), transparent 60%), radial-gradient(600px 300px at 0 100%, rgba(62,115,147,.25), transparent 60%); }
.cxhero h1 { margin: 0; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.cxhero .sub { margin: 10px 0 20px; font-size: clamp(15px, 1.5vw, 18px); color: #E3EADC; max-width: 60ch; }
.cxsearch { position: relative; display: flex; align-items: center; gap: 8px; max-width: 760px; background: var(--card); border-radius: 999px; padding: 6px 6px 6px 20px; color: var(--muted); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.cxsearch:focus-within { outline: 3px solid var(--pollen); outline-offset: 2px; }
.cxsearch svg { flex: none; }
.cxsearch input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 18px; color: var(--ink); padding: 12px 4px; outline: 0; -webkit-appearance: none; appearance: none; }
.cxsearch input::-webkit-search-cancel-button { display: none; }
.cxsearch > button { flex: none; border: 0; border-radius: 999px; height: 50px; padding: 0 28px; background: var(--pollen); color: #2A2410; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; }
.cxsearch > button:hover { background: #E6C465; }
.cxsug { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--card); color: var(--ink); border-radius: 20px; box-shadow: 0 18px 50px rgba(20,32,24,.28); max-height: min(70vh, 520px); overflow: auto; }
.cxsug li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 14px; cursor: pointer; }
.cxsug li[aria-pressed="true"], .cxsug li[data-i]:hover { background: var(--soft); }
.cxsug li.none { display: block; cursor: default; color: var(--muted); padding: 12px 14px; }
.cxsug img, .cxsug .ph { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--soft); }
.cxsug span b { display: block; line-height: 1.2; } .cxsug i { font-family: var(--serif); color: var(--muted); font-size: 14.5px; }
.cxsug small { color: var(--muted); font-size: 13.5px; text-align: right; white-space: nowrap; } .cxsug small b { color: var(--moss); font-size: 15px; }
.cxpop { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0 0; min-height: 34px; }
.cxpop span { font-size: 13.5px; color: #C9D4C3; margin-right: 2px; }
.cxpop button { border: 1px solid rgba(248,250,245,.35); background: rgba(248,250,245,.08); color: #F8FAF5; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.cxpop button:hover { background: rgba(248,250,245,.2); }
.cxtrust { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14.5px; color: #E3EADC; }
.cxtrust li { display: flex; align-items: center; gap: 8px; }
.cxtrust li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--pollen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%232A2410' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px; }
.cmp { display: grid; gap: 18px; margin-bottom: 26px; min-width: 0; }
.cmp > * { min-width: 0; }
.cxproj { display: flex; }
.cxpj { display: flex; align-items: center; gap: 12px; text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 16px; padding: 10px 18px 10px 14px; font: inherit; cursor: pointer; }
.cxpj:hover { border-color: var(--moss); } .cxpj.on { background: var(--moss); color: var(--surface); border-color: var(--moss); }
.cxpj svg { flex: none; color: var(--moss); } .cxpj.on svg { color: var(--pollen); }
.cxpj b { display: block; line-height: 1.25; } .cxpj small { color: var(--muted); font-size: 13.5px; } .cxpj.on small { color: #D5DFCF; }
/* Accueil du comparateur */
.cxsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cxsteps > div { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.cxsteps b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--moss); color: var(--surface); display: grid; place-items: center; font-size: 16px; }
.cxsteps p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; } .cxsteps strong { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 2px; }
.cxhome h2 { margin: 10px 0 14px; font-size: 26px; letter-spacing: -0.02em; }
.cxcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cxcards button { width: 100%; height: 100%; text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 18px; padding: 8px 8px 12px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 2px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.cxcards button:hover { border-color: var(--moss); box-shadow: 0 10px 24px rgba(29,42,33,.12); transform: translateY(-2px); }
.cxcards img, .cxcards .ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; background: var(--soft); margin-bottom: 8px; }
.cxcards b, .cxcards span, .cxcards small { padding: 0 6px; } .cxcards button > b { font-size: 16.5px; line-height: 1.25; }
.cxcards .px { color: var(--muted); font-size: 14px; margin-top: auto; padding-top: 4px; } .cxcards .px b { color: var(--moss); font-size: 19px; padding: 0; }
.cxcards small { color: var(--muted); font-size: 13px; }
.cxplus { justify-self: center; margin: 16px auto 0; display: flex; gap: 8px; } .cxplus small { font-weight: 500; opacity: .75; }
/* Une plante : résumé, onglets des gammes */
.cxplant { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.cxplant .top { display: flex; gap: 18px; align-items: center; padding: 14px 22px 14px 14px; }
.cxplant.pick .top { cursor: pointer; } .cxplant.pick:hover { border-color: var(--moss); }
.cxplant img { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; flex: none; }
.cxplant .t { flex: 1; min-width: 0; } .cxplant h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; line-height: 1.1; } .cxplant h2 span { font-weight: 600; }
.cxplant i { font-family: var(--serif); color: var(--muted); font-size: 17px; }
.cxplant .links { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14.5px; }
.cxplant .k { display: flex; gap: 0; margin: 0; flex: none; } .cxplant .k div { padding: 0 20px; border-left: 1px solid var(--line); text-align: center; }
.cxplant dt { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); } .cxplant dd { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.cxplant .k div:last-child dd { color: var(--moss); } .cxplant .k0 { margin: 0; max-width: 34ch; color: var(--muted); }
/* Choix de l'espèce type ou d'une variété : bouton sur la carte et liste qui se déplie (ordinateur), bande à faire défiler (téléphone) */
.cxvbtn { flex: none; position: relative; display: grid; text-align: left; min-width: 210px; max-width: 280px; border: 1.5px solid var(--moss); background: var(--card); color: var(--ink); border-radius: 14px; padding: 8px 40px 8px 14px; font: inherit; cursor: pointer; }
.cxvbtn small { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cxvbtn b { font-size: 17px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cxvbtn span { font-size: 12.5px; color: var(--muted); }
.cxvbtn::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.cxvbtn[aria-expanded="true"]::after { transform: translateY(-20%) rotate(225deg); }
.cxplant { position: relative; }
.cxplant .ph { display: block; background: var(--soft); }
.cxvars { display: none; position: absolute; z-index: 20; left: -1px; right: -1px; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(20,32,24,.28); padding: 12px; }
.cxplant.open .cxvars { display: block; }
.cxvars .cxvq { max-width: 320px; margin: 0 0 10px; }
.cxvars .l { display: grid; gap: 2px; max-height: min(440px, 60vh); overflow: auto; scrollbar-width: thin; }
.cxvars button { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; text-align: left; border: 0; background: none; color: var(--ink); border-radius: 14px; padding: 7px 14px 7px 7px; font: inherit; cursor: pointer; }
.cxvars button:hover { background: var(--soft); } .cxvars button[hidden] { display: none; }
.cxvars button[aria-pressed="true"] { background: var(--leaf-hi); box-shadow: inset 4px 0 0 var(--moss); }
.cxvars img, .cxvars .ph { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; } .cxvars .dim { opacity: .35; }
.cxvars button b { display: block; font-size: 16px; line-height: 1.25; } .cxvars button small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.cxvars em { font-style: normal; font-size: 13.5px; color: var(--muted); white-space: nowrap; text-align: right; } .cxvars em b { display: inline; color: var(--moss); font-size: 16px; }
.cxcar, .cxcarf, .cxrow .who .v { display: none; }
.cxbar .gd { font-size: 14px; }
.cxrow .cxcta span { display: contents; }
.cxgammes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.cxg { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-content: start; text-align: left; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 18px; padding: 12px 14px; font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.cxg:hover { border-color: var(--moss); }
.cxg svg { grid-row: 1 / 3; align-self: center; color: var(--moss); }
.cxg .n { font-weight: 800; font-size: 16.5px; line-height: 1.2; } .cxg .d { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.cxg .px { grid-column: 1 / -1; margin-top: 8px; font-size: 13.5px; color: var(--muted); } .cxg .px b { font-size: 21px; color: var(--ink); letter-spacing: -0.02em; }
.cxg .c { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.cxg[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--surface); box-shadow: 0 10px 24px rgba(47,74,53,.28); }
.cxg[aria-pressed="true"] svg { color: var(--pollen); } .cxg[aria-pressed="true"] .d, .cxg[aria-pressed="true"] .c, .cxg[aria-pressed="true"] .px { color: #D5DFCF; } .cxg[aria-pressed="true"] .px b { color: var(--on-moss); }
.cxg[aria-pressed="true"]::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; background: var(--moss); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.cxg:disabled { opacity: .55; border-style: dashed; cursor: default; }
.cxalt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 0; font-size: 14px; color: var(--muted); }
.cxalt button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 5px 13px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cxalt button small { color: var(--muted); font-weight: 500; } .cxalt button[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--surface); } .cxalt button[aria-pressed="true"] small { color: #D5DFCF; }
.cx-on .cxhero { padding-top: clamp(16px, 2.4vw, 26px); padding-bottom: clamp(16px, 2.4vw, 26px); } .cx-on .cxhero h1 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.cx-on .cxhero .sub, .cx-on .cxtrust, .cx-on .cxpop { display: none; }
/* Filtres et résultats */
.cxlayout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 4px; }
.cxside { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 6px 16px 14px; }
.cxsideh { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0 8px; font-size: 17px; } .cxsideh .linkbtn { font-size: 13.5px; }
.cxf { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 12px 0; min-width: 0; }
.cxf legend { float: left; width: 100%; padding: 0; margin-bottom: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cxflist { clear: both; display: grid; gap: 1px; max-height: 232px; overflow: auto; margin-right: -8px; padding-right: 4px; scrollbar-width: thin; }
.cxf label { clear: both; display: flex; align-items: center; gap: 9px; padding: 5px 6px; border-radius: 8px; font-size: 14.5px; cursor: pointer; line-height: 1.3; }
.cxf label:hover { background: var(--soft); } .cxf label[hidden] { display: none; }
.cxf label span { flex: 1; min-width: 0; overflow-wrap: anywhere; } .cxf label small { color: var(--muted); font-size: 12.5px; }
.cxf input[type="checkbox"], .cxf input[type="radio"] { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--moss); }
.cxf label:has(input:checked) span { font-weight: 700; }
.cxvq { clear: both; display: block; width: 100%; font: inherit; font-size: 14px; padding: 7px 12px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); }
.cxfok, .cxfbtn { display: none; }
.cxres { display: grid; gap: 12px; min-width: 0; }
.cxbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.cxbar p { margin: 0; font-size: 15.5px; color: var(--muted); } .cxbar p b { color: var(--ink); font-size: 18px; }
.cxtri { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.cxtri span { font-size: 13px; color: var(--muted); padding: 0 8px 0 12px; }
.cxtri button { border: 0; background: none; color: var(--ink); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.cxtri button[aria-pressed="true"] { background: var(--moss); color: var(--surface); }
.cxfbtn { align-items: center; gap: 8px; border: 1px solid var(--moss); background: var(--surface); color: var(--moss); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.cxfbtn span { background: var(--moss); color: var(--surface); border-radius: 999px; min-width: 20px; padding: 0 6px; font-size: 12.5px; text-align: center; }
.cxchoix { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.cxchoix button { border: 0; background: var(--soft); color: var(--ink); border-radius: 999px; padding: 5px 10px 5px 12px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; } .cxchoix button:hover { background: var(--line); }
.cxinfo { margin: 0; font-size: 14px; color: var(--muted); background: var(--soft); border-radius: 12px; padding: 8px 14px; }
/* La liste : un seul bloc, une ligne par pépinière, colonnes alignées */
.cxlist { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.cxrow { display: grid; grid-template-columns: minmax(170px, 1.05fr) minmax(0, 1.5fr) minmax(128px, .8fr) auto; gap: 4px 18px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.cxrow:first-child { border-top: 0; }
.cxrow.best { background: var(--leaf-hi); box-shadow: inset 4px 0 0 var(--moss); }
.cxrow.out { color: var(--muted); } .cxrow.out .p { text-decoration: line-through; font-weight: 600; }
.cxbadge { grid-column: 1 / -1; justify-self: start; background: var(--moss); color: var(--surface); font-size: 12px; font-weight: 800; letter-spacing: .02em; padding: 2px 10px; border-radius: 999px; margin-bottom: 4px; }
.cxrow .who { display: flex; align-items: center; gap: 12px; min-width: 0; } .cxrow .who b { display: block; line-height: 1.25; }
.cxav { flex: none; width: 42px; height: 42px; border-radius: 12px; color: #fff; display: grid; place-items: center; font-size: 14.5px; font-weight: 800; letter-spacing: .02em; }
.cxrow small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.cxrow .what { min-width: 0; } .cxrow .what > b { display: block; font-size: 15.5px; line-height: 1.3; margin-bottom: 5px; overflow-wrap: anywhere; }
.cxchips { display: flex; flex-wrap: wrap; gap: 5px; font-size: 13.5px; }
.cxchips span { background: var(--soft); border-radius: 8px; padding: 2px 9px; white-space: nowrap; }
.cxchips .dispo { border-radius: 999px; } .cxchips .dispo.ok { background: #D3E7C6; color: #1F4420; font-weight: 600; } .cxchips .dispo.no { background: var(--warnbg); color: var(--warn); font-weight: 600; }
.cxrow .how { text-align: right; } .cxrow .p { display: block; font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; white-space: nowrap; }
.cxrow .how .tot { color: var(--ink); font-weight: 700; font-size: 13.5px; } .cxrow .how .fr { white-space: nowrap; }
.cxrow .how .evo.down, .cxrow .how .evo.up { color: #1F5A24; font-weight: 700; }
.cxrow .go { display: grid; justify-items: center; gap: 4px; } .cxrow .go small { font-size: 12px; text-align: center; }
.cxcta { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--moss); color: var(--surface); text-decoration: none; font-weight: 700; white-space: nowrap; }
.cxcta::after { content: "→"; transition: transform .15s; } .cxcta:hover { background: var(--moss-hover); color: var(--surface); } .cxcta:hover::after { transform: translateX(3px); }
.cxmore { grid-column: 1 / -1; justify-self: start; margin: 4px 0 0 54px; border: 0; background: none; padding: 2px 0; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--moss); cursor: pointer; }
.cxmore::before { content: "+ "; } .cxmore[aria-expanded="true"]::before { content: "– "; }
.cxsub { grid-column: 1 / -1; list-style: none; margin: 6px 0 0 54px; padding: 0; border-top: 1px dashed var(--line); }
.cxsub li { display: grid; grid-template-columns: 1fr auto 64px; gap: 14px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--line); } .cxsub li:last-child { border-bottom: 0; }
.cxsub .sp { text-align: right; } .cxsub .sp b { font-size: 17px; white-space: nowrap; } .cxsub li.out .sp b { text-decoration: line-through; color: var(--muted); font-weight: 600; }
.cxlink { font-weight: 700; text-align: right; white-space: nowrap; }
.cxgr { margin-top: 10px; display: grid; gap: 8px; } .cxgr h3 { margin: 0; font-size: 19px; } .cxgr .hint { margin: 0; }
.cxres > .hint { margin: 0; }
@media (max-width: 900px) {
  .cxlayout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cxside { display: none; position: static; max-height: none; } .cxside.open { display: block; }
  .cxfbtn { display: inline-flex; } .cxside.open .cxfok { display: flex; width: 100%; justify-content: center; margin-top: 6px; }
  .cxplant .top { flex-wrap: wrap; } .cxvbtn { order: 3; }
  .cxsteps { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cxhero { border-radius: 22px; }
  .cxsearch { padding-left: 14px; } .cxsearch svg { display: none; } .cxsearch input { font-size: 16px; } .cxsearch > button { padding: 0 18px; font-size: 16px; }
  .cxsug li { grid-template-columns: 44px 1fr; } .cxsug small { grid-column: 2; text-align: left; }
  /* Téléphone : tout est resserré pour voir plus d'offres à l'écran */
  .cmp { gap: 12px; }
  .cxpj { padding: 8px 14px 8px 12px; border-radius: 14px; } .cxpj small { display: none; }
  .cxplant { border-radius: 18px; } .cxplant .top { padding: 10px 12px; gap: 12px; cursor: default !important; flex-wrap: nowrap; }
  .cxplant img { width: 54px; height: 54px; border-radius: 12px; } .cxplant i { font-size: 15px; } .cxplant .links { margin-top: 2px; font-size: 13.5px; gap: 2px 14px; }
  /* La carte de la plante devient une galerie : une carte par variété, à faire glisser */
  .cxplant .top, .cxvars { display: none !important; }
  .cxcar { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 10px; overscroll-behavior-x: contain; }
  .cxcar::-webkit-scrollbar { display: none; }
  .cxcar .s { flex: none; width: calc(100% - 44px); scroll-snap-align: start; scroll-snap-stop: always; display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; opacity: .6; transition: opacity .2s; }
  .cxcar .s[aria-current] { opacity: 1; border-color: var(--moss); }
  .cxcar .s:last-child { margin-right: 44px; }
  .cxcar img, .cxcar .ph { width: 92px; height: 92px; border-radius: 10px; object-fit: cover; flex: none; }
  .cxcar .s > div { min-width: 0; } .cxcar h2 { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
  .cxcar .vn { display: block; font-size: 19px; line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: anywhere; }
  .cxcar p { margin: 2px 0 0; font-size: 13px; color: var(--muted); line-height: 1.3; } .cxcar .m b { color: var(--moss); font-size: 15px; }
  .cxcar .d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cxcarf { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0; padding: 0 12px 9px; font-size: 13px; color: var(--muted); } .cxcarf .n { margin-right: auto; } .cxcarf .n b { color: var(--ink); }
  .cxgammes { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .cxg { padding: 7px 10px; border-radius: 14px; gap: 0 8px; align-items: center; } .cxg[aria-pressed="true"]::after { display: none; } .cxg[aria-pressed="true"] { box-shadow: none; }
  .cxg svg { width: 22px; height: 22px; grid-row: 1 / 3; } .cxg .n { font-size: 14.5px; } .cxg .d, .cxg .c { display: none; }
  .cxg .px { grid-column: 2; margin: 0; font-size: 12.5px; } .cxg .px b { font-size: 15px; }
  .cxalt { margin: 0; gap: 6px; font-size: 13px; } .cxalt span { display: none; } .cxalt button { font-size: 13px; padding: 4px 11px; }
  .cxbar p { font-size: 14px; flex-basis: 100%; } .cxbar p b { font-size: 16px; } .cxbar .gd { font-size: 13px; }
  .cxfbtn { padding: 6px 14px; font-size: 14px; } .cxtri span { display: none; } .cxtri button { padding: 6px 10px; font-size: 13px; }
  .cxinfo { display: none; }
  .cx-on .cxhero { padding: 10px; border-radius: 999px; margin-bottom: 12px; } .cx-on .cxhero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cx-on .cxsearch { box-shadow: none; padding: 4px 4px 4px 14px; } .cx-on .cxsearch input { padding: 8px 4px; } .cx-on .cxsearch > button { height: 40px; }
  .cxlist { border-radius: 16px; }
  .cxrow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "badge badge" "who how" "what go"; gap: 2px 10px; padding: 9px 12px; align-items: start; }
  .cxbadge { grid-area: badge; margin-bottom: 2px; font-size: 11px; } .cxrow .who { grid-area: who; gap: 8px; align-items: center; } .cxrow .how { grid-area: how; } .cxrow .what { grid-area: what; } .cxrow .go { grid-area: go; justify-items: end; align-self: end; }
  /* Deux lignes par offre : pépinière et variété, prix ; puis contenant, hauteur, stock et le bouton */
  .cxav { width: 26px; height: 26px; border-radius: 8px; font-size: 10.5px; } .cxrow .who small { display: none; }
  .cxrow .who > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 7px; min-width: 0; } .cxrow .who b { font-size: 15px; }
  .cxrow .who .v { display: inline; font-size: 13px; color: var(--muted); font-weight: 600; overflow-wrap: anywhere; } .cxlist.onev .who .v { display: none; }
  .cxrow .what { margin-top: 3px; min-width: 0; align-self: center; } .cxrow .what > b { display: none; }
  .cxchips { font-size: 12.5px; gap: 4px; flex-wrap: nowrap; overflow: hidden; } .cxchips span { padding: 1px 7px; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; } .cxchips .dispo { flex: none; }
  .cxrow .p { font-size: 19px; } .cxrow small { font-size: 11.5px; line-height: 1.3; }
  .cxrow .how small, .cxrow .go small { display: none; } .cxrow .how .evo.down, .cxrow .how .lot, .cxlist.tri-total .how .tot, .cxlist.tri-litre .how .lt, .cxrow .go small:has(.vieux) { display: block; }
  .cxcta { height: 30px; padding: 0 13px; font-size: 13.5px; gap: 6px; margin-top: 2px; } .cxrow .cxcta span { display: none; }
  /* Les autres tailles d'une pépinière ne se déplient pas sur téléphone : les filtres Contenant et Hauteur y mènent */
  .cxmore, .cxsub { display: none !important; }
  .cxcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media print { .cxhero form, .cxpop, .cxside, .cxtri, .cxfbtn, .cxproj, .cxcta, .cxplus { display: none !important; } .cxlayout { grid-template-columns: 1fr; } }
.cmppays { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cmppays > span { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cmppays div { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.cmppays button { border: 0; background: none; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; color: inherit; }
.cmppays button small { font-weight: 600; opacity: .7; }
.cmppays button[aria-pressed="true"] { background: var(--moss); color: var(--surface); }
.cmpempty { text-align: center; padding: 30px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: 22px; }
table.cmpt { width: 100%; border-collapse: collapse; font-size: 15px; }
table.cmpt th, table.cmpt td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
table.cmpt th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
table.cmpt small { color: var(--muted); }
table.cmpt tfoot td { font-weight: 700; border-bottom: 0; }
.peptot { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.peptot li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.peptot span { color: var(--muted); }
.peptot li > b:last-child { text-align: right; white-space: nowrap; }
.peptot li.inc { background: transparent; border-style: dashed; }
.peptot li.inc > b:last-child { color: var(--muted); font-weight: 600; }
.peptot small { display: block; font-weight: 400; color: var(--muted); }
.cmbo { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin: 8px 0; }
.cmbo summary, .cmbop p { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline; margin: 0; }
.cmbo summary { padding: 12px 16px; cursor: pointer; list-style-position: inside; grid-template-columns: auto 1fr auto; }
.cmbo summary span, .cmbop p span { color: var(--muted); }
.cmbop { padding: 10px 16px 12px; border-top: 1px solid var(--line); }
.cmbop ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14.5px; }
.cmbop li { display: grid; grid-template-columns: 1fr auto 52px; gap: 14px; }
.cmbop li span + span, .cmbop p b:last-child, .cmbo summary b:last-child { text-align: right; white-space: nowrap; }
@media (max-width: 560px) { .cmbo summary { grid-template-columns: 1fr auto; } .cmbo summary span { grid-column: 1 / -1; grid-row: 2; } }
.peptoth { margin: 18px 0 4px; font-size: 1rem; }
@media (max-width: 560px) { .peptot li { grid-template-columns: 1fr auto; } .peptot li > span { grid-column: 1 / -1; grid-row: 2; } }
ul.peps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
ul.peps li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: grid; gap: 4px; }
ul.peps span, ul.peps small { color: var(--muted); font-size: 14px; }

/* Froid et chaleur, en bref (07/11/2026) : une ligne par élément (feuilles, tronc, racines…), icône à gauche */
.clim .cbref { display: grid; gap: 14px; }
.cb-row { display: flex; gap: 12px; align-items: flex-start; --c: var(--water); }
.cb-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--c) 14%, var(--surface)); color: var(--c); }
.cb-svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cb-row.k-feuilles, .cb-row.k-aerien, .cb-row.k-jeunes { --c: var(--k-feuille); }
.cb-row.k-tronc, .cb-row.k-racines { --c: var(--k-bois); }
.cb-row.k-fleurs, .cb-row.k-fruits { --c: var(--k-fleur); }
.cb-row.k-soleil { --c: var(--k-soleil); }
.cb-row.k-chaleur { --c: var(--k-chaleur); }
.cb-row.k-vent { --c: var(--k-vent); }
.cb-row.k-climats { --c: var(--k-climat); }
.cb-txt { flex: 1; min-width: 0; }
.cb-lab { display: block; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 2px 0 2px; }
.cb-txt p { margin: 0 0 4px; font-size: 16px; line-height: 1.5; color: var(--text); }
.cb-txt p b { color: var(--c); white-space: nowrap; }
.cb-clims { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cbc { font-size: 14px; padding: 4px 11px; border-radius: 999px; font-weight: 600; background: #DCE9C4; color: #24401A; }
.cbc.part { background: #F6E9B8; color: #5C4500; }
.cbc.no { background: var(--warnbg); color: var(--warn); }
.cb-leg { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
/* « L'hiver, selon ton climat » : une ligne par réponse (dehors, à l'abri, à rentrer), climats et exemples de régions à la suite */
.cb-where { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.cb-where li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.cb-where li > b { font-size: 15.5px; margin-right: 2px; }
.cb-where li.ok > b { color: #24401A; }
.cb-where li.part > b { color: #5C4500; }
.cb-where li.no > b { color: var(--warn); }
.cb-where .cbc small { font-weight: 400; font-size: 12.5px; opacity: .85; }
/* Blocs remontés en haut de fiche : « Où la planter » et « Pour avoir des fruits » */
.box.plant { padding-bottom: 8px; }
.box.plant::after { content: ""; display: table; clear: both; }
.box.text h2 { font-size: 22px; letter-spacing: normal; margin: 0 0 6px; }
.box.plant .op-card { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; }
.topbox .rb-box { margin: 24px 0 0; padding: 20px 22px; border-radius: 24px; gap: 14px; }
.topbox h2.rb-box-t { font-family: var(--ui); font-size: 22px; line-height: 1.25; letter-spacing: normal; text-transform: none; color: var(--ink); margin: 0 0 8px; }
.topbox .rb-pts { margin-top: 0; }
@media (max-width: 640px) { .topbox .rb-box { padding: 16px; } .topbox .rb-box > .cb-ic { display: none; } }
/* Grand écran : les lignes de « Chez toi » sur deux colonnes (la ligne des climats garde toute la largeur) */
@media (min-width: 900px) { .box.clim .cbref { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; } .box.clim .cb-row.k-climats { grid-column: 1 / -1; } }
/* Téléphone : haut de fiche plus court */
@media (max-width: 640px) {
  /* Photos : une seule rangée qu'on fait glisser, la suivante dépasse à droite pour montrer qu'il y en a d'autres */
  .hero > .gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .hero > .gallery::-webkit-scrollbar { display: none; }
  .hero > .gallery > .big, .hero > .gallery > .gstrip { flex: 0 0 88%; min-width: 0; margin-top: 0; scroll-snap-align: start; }
  .hero > .gallery > .big:only-child { flex-basis: 100%; }
  /* Repères : deux par ligne, pictogramme au-dessus du texte */
  .tile { padding: 12px; gap: 8px; }
  .tile:not(.temp):not(.wide) { flex-direction: column; align-items: flex-start; }
  .tile .ico { width: 32px; height: 32px; }
  .tile .size { width: 46px; height: 40px; }
  .tile b { font-size: 16.5px; }
  .tile span:not(.drops):not(.drop) { font-size: 13.5px; }
  .tile .row:not(.s) { flex-direction: column; gap: 0; }
  .tile .epi { text-align: left; }
  .box { padding: 16px; margin-top: 18px; }
  /* « Où la planter » : le nom du critère à côté de son icône, l'échelle juste dessous */
  .box.plant .op-row { padding: 8px 0; }
  .box.plant .op-head { display: grid; grid-template-columns: 30px minmax(0, 1fr) 28px; column-gap: 10px; row-gap: 2px; align-items: center; min-height: 0; }
  .box.plant .op-head .cb-ic { width: 30px; height: 30px; border-radius: 9px; grid-row: 1 / span 2; align-self: start; }
  .box.plant .op-head .op-lab { grid-column: 2; }
  .box.plant .op-head .op-vis { grid-column: 2 / -1; grid-row: 2; gap: 6px; margin: 0; }
  .box.plant summary.op-head::after { grid-column: 3; grid-row: 1; margin: 0; width: 24px; height: 24px; }
  .box.plant .op-chip { margin: 0; }
  .lede { font-size: 16.5px; }
}
.clim .more { margin: 14px 0 0; font-weight: 600; }
.folds details { border-top: 1px solid var(--line); }
.folds details:last-child { border-bottom: 1px solid var(--line); }
.folds summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.folds summary::-webkit-details-marker { display: none; }
.folds summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.folds details[open] summary::after { content: "\2212"; }
.folds details > :last-child { margin-bottom: 14px; }

/* Accueil personnalisé (10/11/2026) : climat du visiteur, projet en cours, idées selon le climat */
.perso { margin-top: 30px; }
.perso [hidden] { display: none; }
#sunny[hidden] { display: none; }
.perso .sel .lead.sub { margin: -10px 0 20px; font-size: 16px; }
#persorows.busy { min-height: 120px; opacity: .6; }
.pjresume { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 14px 20px 14px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; text-decoration: none; color: var(--ink); }
.pjresume:hover { color: var(--ink); border-color: var(--moss); }
.pjresume .pjt { display: flex; flex-shrink: 0; }
.pjresume .pjt img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; border: 2px solid var(--surface); margin-left: -14px; background: var(--ph); }
.pjresume .pjt img:first-child { margin-left: 0; }
.pjresume .pjx { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pjresume .k { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pjresume b { font-size: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pjresume small { color: var(--muted); }
.pjresume .go { font-weight: 700; color: var(--moss); white-space: nowrap; }
@media (max-width: 640px) {
  .pjresume .pjt img:nth-child(n+4) { display: none; }
  /* Sur téléphone, chaque ligne d'idées défile sur le côté : une grande vignette et la moitié de la suivante (16/11/2026) */
  .perso .grid, .carou .grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: -16px; padding-right: 16px; }
  .perso .grid li, .carou .grid li { scroll-snap-align: start; }
  .perso .card b, .carou .card b { font-size: 16px; }
  .perso .card i, .carou .card i { font-size: 14px; }
  .perso .card .cprix b, .carou .card .cprix b { font-size: 16px; }
  /* Titres courts, sans lien « Toutes les… » ni longue phrase : les vignettes passent devant */
  .perso .sel .head, .carou .head { margin-bottom: 4px; }
  .perso .sel h2, .carou h2 { line-height: 1.15; }
  .perso .sel .head a, .carou .head a { display: none; }
  .perso .sel .lead.sub { margin: 0 0 14px; font-size: 15px; }
}

/* Rubriques des fiches (scripts/rubriques.mjs, 10/11/2026) : intro + « Lire la suite », lignes à icône, cartes, recettes */
.text .sub { scroll-margin-top: 16px; }
.text .sub::after { content: ""; display: table; clear: both; }
.text p.bref { font-weight: 500; }
details.fold { display: flex; flex-direction: column; margin: 0 0 10px; }
details.fold > summary { order: 2; align-self: flex-start; list-style: none; cursor: pointer; color: var(--moss); font-weight: 700; font-size: 15px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--soft); margin-top: 2px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: "+ "; }
details.fold[open] > summary::before { content: "\2212  "; }
details.fold > summary:hover { background: color-mix(in srgb, var(--moss) 14%, var(--soft)); }
details.fold .f-c, details.fold[open] .f-o { display: none; }
details.fold[open] .f-c { display: inline; }
details.fold[open] > summary { margin: 4px 0 6px; }
.rb-rows { display: grid; gap: 14px; margin: 6px 0 12px; }
.cb-row.k-cuisine { --c: var(--k-soleil); }
.cb-row.k-faune { --c: var(--k-fleur); }
.cb-row.k-culture { --c: var(--k-feuille); }
.cb-row.k-autre { --c: var(--moss); }
.text .rb-row .cb-txt p { font-family: var(--serif); font-size: 18px; line-height: 1.6; margin: 0 0 6px; }
.text .rb-row .cb-txt p b { white-space: normal; }
.rb-steps { margin: 6px 0 4px; padding-left: 24px; display: grid; gap: 6px; font-family: var(--serif); font-size: 17.5px; line-height: 1.55; color: var(--text); }
.rb-steps li::marker { color: var(--k-soleil); font-family: var(--ui); font-weight: 700; }
/* Liste à tirets sous une étiquette (« Que faire : » puis « - … ») (11/11/2026) */
.rb-list { margin: 4px 0 6px; padding-left: 20px; display: grid; gap: 4px; font-family: var(--serif); font-size: 17.5px; line-height: 1.55; color: var(--text); }
.rb-list li::marker { color: var(--muted); }
.rb-fields dd .rb-list { font-size: 17px; margin-bottom: 0; }
.rb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; padding: 0; list-style: none; font-size: 14.5px; }
.rb-chips li { background: #FBF3DF; border: 1px solid #EBD9A8; border-radius: 999px; padding: 4px 12px; color: #4A3B12; }
.rb-chips b { color: #8A620C; }
.rb-chips.v li { background: var(--soft); border-color: var(--line); color: var(--ink); }
.rb-chips li.src { background: none; border: 0; padding: 4px 2px; color: var(--muted); font-size: 13px; }
.rb-warn { display: flex; gap: 10px; align-items: flex-start; background: var(--warnbg); color: var(--dg-ink); border-radius: 14px; padding: 10px 14px; margin: 4px 0 14px; font-size: 15.5px; }
.text .rb-warn { font-family: var(--ui); font-size: 15.5px; line-height: 1.5; }
.rb-warn svg { flex: none; color: var(--dg); margin-top: 1px; }
.rb-warn b { color: var(--dg); }
.rb-recipe, .rb-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin: 0 0 12px; clear: both; display: flow-root; }
.rb-recipe > summary, .rb-card > summary, .rb-card > .sum { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; cursor: pointer; list-style: none; }
.rb-card > .sum { cursor: default; }
.rb-recipe > summary::-webkit-details-marker, .rb-card > summary::-webkit-details-marker { display: none; }
.rb-recipe > summary::after, .rb-card > summary::after { content: "+"; margin-left: auto; padding-left: 8px; font-size: 22px; line-height: 1; color: var(--muted); }
.rb-recipe[open] > summary::after, .rb-card[open] > summary::after { content: "\2212"; }
.rb-recipe .rt, .rb-card .rt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.rb-recipe .rt b, .rb-card .rt b { font-size: 17px; line-height: 1.3; }
.rb-recipe .rm { font-size: 14px; color: var(--muted); }
.rb-card .rl { font-size: 15px; line-height: 1.45; color: var(--text); }
.rb-recipe .cb-ic { --c: var(--k-soleil); }
.rb-card.k-pest .cb-ic { --c: var(--k-fleur); }
.rb-card.k-mal .cb-ic { --c: var(--k-bois); }
.rb-recipe > :not(summary), .rb-card > :not(summary):not(.sum) { margin-left: 16px; margin-right: 16px; }
.rb-recipe > :last-child, .rb-card > :last-child:not(summary):not(.sum) { margin-bottom: 16px; }
.text .rb-recipe p, .text .rb-card p { font-size: 17.5px; }
/* Photo dans une carte dépliée : contenue dans la carte (flow-root), avec la même marge que le texte (11/11/2026) */
.rb-recipe .inset, .rb-card .inset { width: 38%; min-width: 0; margin: 0 16px 16px 22px; }
/* Plusieurs photos dans une carte : à droite, l'une sous l'autre, comme une photo seule (11/11/2026) */
.rb-recipe > div.insets:not(summary), .rb-card > div.insets:not(.sum) { float: right; clear: right; width: 38%; grid-template-columns: 1fr; gap: 12px; margin: 0 16px 16px 22px; }
.rb-recipe .insets .inset, .rb-card .insets .inset { width: auto; margin: 0; }
.rb-meta { list-style: none; padding: 0; margin: 0 0 8px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.rb-fields { margin: 4px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; font-size: 16px; line-height: 1.5; }
.rb-fields dt { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.rb-fields dd { margin: 0; font-family: var(--serif); font-size: 17px; color: var(--text); }
.rb-cards { margin: 8px 0 14px; }
/* Carte repliée avec photo : miniature à droite, juste avant le « + », l'icône reste à gauche ; dépliée, la grande photo prend le relais (11/11/2026) */
.rb-recipe .cb-th, .rb-card .cb-th { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--line); }
.rb-recipe .cb-th picture, .rb-card .cb-th picture { display: block; height: 100%; }
.rb-recipe .cb-th img, .rb-card .cb-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rb-recipe[open] > summary > .cb-th, .rb-card[open] > summary > .cb-th { display: none; }
.rb-nutri { clear: both; border-top: 1px solid var(--line); padding-top: 12px; margin: 8px 0 12px; }
.rb-nutri .cb-lab { margin-bottom: 2px; }
.rb-box { display: flex; gap: 12px; background: #EEF3E8; border: 1px solid #CFDCC3; border-radius: 18px; padding: 14px 16px; margin: 8px 0 14px; clear: both; --c: var(--k-feuille); }
.rb-box > div { min-width: 0; }
.text .rb-box-t, .text .rb-ami-t { font-family: var(--ui); line-height: 1.4; margin: 2px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #2F5A3A; }
.rb-pts { margin: 0 0 6px; padding-left: 20px; display: grid; gap: 6px; font-family: var(--serif); font-size: 17.5px; line-height: 1.55; color: var(--text); }
.text .rb-box p, .text .rb-ami p, .text .rb-cmp p { font-size: 17px; margin: 0 0 6px; }
.text .rb-box p.rb-vlist { font-family: var(--ui); font-size: 15.5px; }
.text .rb-box .more, .text .rb-ami .more { font-family: var(--ui); font-size: 15px; font-weight: 600; margin: 6px 0 0; }
.rb-ami { background: #F7EEF4; border: 1px solid #E5CFDD; border-radius: 18px; padding: 14px 16px; margin: 8px 0 14px; clear: both; }
.text .rb-ami-t { color: #7A3768; }
.rb-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 10px; }
.rb-pair.n3 { grid-template-columns: 1fr 1fr 1fr; }
.rb-pair figure.s { margin: 0; min-width: 0; }
.rb-pair figure.s img, .rb-pair .nophoto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.rb-pair figcaption { font-size: 12.5px; }
.rb-cmp { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin: 8px 0 14px; clear: both; }
.rb-id { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 6px 0 12px; border-top: 1px solid var(--line); }
.rb-id dt, .rb-id dd { border-bottom: 1px solid var(--line); padding: 9px 0; }
.rb-id dt { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-right: 16px; padding-top: 12px; }
.rb-id dd { margin: 0; font-family: var(--serif); font-size: 17.5px; line-height: 1.55; color: var(--text); }
details.rb-syn > summary::before { content: "+ "; }
@media (max-width: 640px) {
  .rb-fields, .rb-id { grid-template-columns: 1fr; }
  .rb-fields dt { padding-top: 6px; }
  .rb-id dt { border-bottom: 0; padding: 10px 0 0; }
  .rb-id dd { padding-top: 2px; }
  .rb-recipe .inset, .rb-card .inset { width: auto; float: none; margin: 0 16px 14px; }
  .rb-recipe > div.insets:not(summary), .rb-card > div.insets:not(.sum) { width: auto; float: none; margin: 0 16px 14px; }
  .rb-recipe .insets .inset, .rb-card .insets .inset { margin: 0; }
  .rb-pair { gap: 8px; }
}
@media print {
  details > summary::after, details.fold > summary { display: none !important; }
  .chap > summary::after, .chap-subs { display: none !important; }
  .rb-recipe, .rb-card, .rb-box, .rb-ami, .rb-cmp { background: #fff !important; border: 1px solid #bbb !important; break-inside: avoid; }
}

/* « Où la planter » (scripts/ouplanter.mjs, 10/11/2026) */
.op-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 6px 18px; margin: 6px 0 14px; }
.op-row { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); --c: var(--moss); }
.op-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 40px; }
summary.op-head { list-style: none; cursor: pointer; border-radius: 12px; }
summary.op-head::-webkit-details-marker { display: none; }
summary.op-head::after { content: ""; flex: none; margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586457' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform .2s; }
.op-row[open] > summary.op-head::after { transform: rotate(180deg); }
summary.op-head:hover::after { background-color: var(--line); }
summary.op-head:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }
.op-head .op-vis { margin: 0; flex: 1 1 auto; min-width: 0; }
.op-body { padding: 8px 0 2px 50px; }
.op-row:last-child { border-bottom: 0; }
.op-row.k-lumiere { --c: var(--k-soleil); }
.op-row.k-sol, .op-row.k-racines { --c: var(--k-bois); }
.op-row.k-ph { --c: var(--k-ph); }
.op-row.k-eau { --c: var(--water); }
.text h3.op-lab { margin: 0; flex: 0 0 136px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); clear: none; }
.op-vis { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 6px; }
.op-scale { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 14px; }
.op-scale span { padding: 4px 12px; color: var(--muted); background: var(--bg); }
.op-scale span + span { border-left: 1px solid var(--line); }
.op-scale span.on { background: color-mix(in srgb, var(--c) 34%, var(--surface)); color: var(--ink); font-weight: 800; box-shadow: inset 0 -3px 0 var(--c); }
.op-scale span.tol { background: color-mix(in srgb, var(--c) 10%, var(--surface)); color: var(--ink); font-weight: 500; font-size: 13px; }
.op-scale span.off, .op-ph .off { color: #8A9388; text-decoration: line-through; text-decoration-thickness: 1px; background: repeating-linear-gradient(135deg, transparent 0 5px, color-mix(in srgb, var(--line) 70%, transparent) 5px 6px); opacity: .75; }
.op-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.op-chip { display: inline-block; background: var(--soft); border-radius: 999px; padding: 3px 11px; font-size: 14px; margin: 0 4px 4px 0; }
.op-chip mark.est { font-size: 12px; }
.op-g { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.op-ph { display: inline-grid; grid-template-columns: repeat(3, minmax(78px, 1fr)); border-radius: 12px; overflow: hidden; font-size: 13.5px; border: 1px solid var(--line); }
.op-ph span { display: flex; flex-direction: column; padding: 5px 10px; background: var(--bg); color: var(--muted); }
.op-ph small { font-size: 11.5px; }
.op-ph .on { font-weight: 700; box-shadow: inset 0 -3px 0 currentColor; }
.op-ph .g-acide.on { background: #F5DCC4; color: #6B3A0E; }
.op-ph .g-neutre.on { background: #DCEBD2; color: #2F4A35; }
.op-ph .g-alcalin.on { background: #D3E2EE; color: #234B66; }
.op-ph .g-alcalin.pale { background: repeating-linear-gradient(135deg, #E7EFF5 0 6px, #F4F8FB 6px 12px); color: #4A6478; }
.op-ph b { font-size: 14px; }
.op-rootbox { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.op-roots { width: 66px; height: 48px; }
.op-txt p, .text .op-txt p { font-size: 16.5px; line-height: 1.55; margin: 0 0 6px; }
.op-txt details.fold > summary { font-size: 14px; padding: 4px 12px; }
@media (max-width: 640px) { .text h3.op-lab { flex-basis: auto; } .op-head .op-vis { order: 3; flex-basis: 100%; } .op-body { padding-left: 0; } .op-card { padding: 4px 14px; } .op-ph { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; } .op-scale span { padding: 4px 9px; } }

/* Usages : pastilles en tête ; Biotope : origine */
.text .use-chips { font-family: var(--ui); }
.use-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.use-chips a { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; color: var(--moss); }
.use-chips a:hover { border-color: var(--moss); background: var(--soft); }
.text .rb-origin { font-family: var(--ui); font-size: 15px; margin: 2px 0 8px; }
.rb-origin b { margin-right: 6px; }

/* Médicinales : niveau de preuve */
.rb-proofs { display: grid; gap: 10px; margin: 6px 0 12px; }
.rb-proof { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.rb-proof-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; }
.rb-proof-h small { color: var(--muted); font-size: 13.5px; flex-basis: 100%; }
.text .rb-proof p { font-size: 17px; margin: 6px 0 0; }
.rb-dots { display: inline-flex; gap: 3px; }
.rb-dots i { width: 16px; height: 6px; border-radius: 3px; background: var(--line); }
.rb-dots i.on { background: var(--moss); }
.text .rb-note { font-family: var(--ui); font-size: 13.5px; color: var(--muted); margin: 4px 0 10px; }

/* Histoire : frise */
.rb-frise { list-style: none; margin: 8px 0 12px 7px; padding: 0; border-left: 2px solid var(--line); }
.rb-frise li { position: relative; padding: 0 0 12px 20px; }
.rb-frise li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--moss); }
.rb-date { display: block; font-weight: 700; font-size: 14.5px; color: var(--moss); }
.text .rb-frise p { margin: 2px 0 0; font-size: 17.5px; }

@media print { .use-chips { display: none; } }
.op-row.k-place { --c: var(--k-feuille); }
.op-space { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.op-sp { width: 64px; height: 28px; }
.text .op-more { font-family: var(--ui); font-size: 14.5px; font-weight: 600; margin: 2px 0 0; }

/* Photothèque des sujets (10/11/2026) : photo empruntée (sujet, même genre, même famille), portrait en médaillon, pages des sujets */
.inset.shared figcaption b a { color: var(--ink); }
.medal { float: right; clear: right; width: 132px; margin: 4px 0 12px 20px; text-align: center; font-family: var(--ui); }
.medal img { width: 112px; height: 112px; margin: 0 auto 6px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.medal figcaption { font-size: 13px; line-height: 1.35; }
.medal figcaption a { text-decoration: none; color: var(--ink); }
.medal small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.medal small a { color: var(--muted); }
@media (max-width: 640px) { .medal { width: 104px; margin-left: 14px; } .medal img { width: 88px; height: 88px; } }
.sj-gal { margin: 18px 0 30px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
main > h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.02em; margin: 34px 0 14px; }
main > .prose p { font-family: var(--serif); font-size: 19px; line-height: 1.65; max-width: 70ch; }
/* Cartes des variétés (11/11/2026) : lien vers le comparateur filtré sur la variété, vignette sans photo */
.var > div:not(.vnoph):not(.vcar) { flex: 1; }
.vbuy { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 4px; padding: 9px 12px; border-radius: 12px; background: #EEF3E8; color: #1F3A27; text-decoration: none; font-weight: 600; font-size: 15px; }
.vbuy:hover, .vbuy:focus-visible { background: #E0EAD5; }
.vbuy small { flex-basis: 100%; order: 3; font-weight: 400; font-size: 13.5px; color: var(--sub); }
.vbuy .go { margin-left: auto; }
.vnoph { display: flex; align-items: center; gap: 10px; border-radius: 12px; background: repeating-linear-gradient(135deg, #F4F6F0 0 12px, #EEF1E8 12px 24px); padding: 8px 12px; }
.vnoph svg { flex: 0 0 auto; width: 72px; height: 48px; }
.text .var .vnoph p { font-size: 13.5px; line-height: 1.4; margin: 0; color: #5B665E; }
.text .var p.vtodo { font-size: 14px; font-style: italic; color: #6B746D; }
@media print { .vbuy, .vnoph { display: none !important; } }
/* Carte de variété résumée (17/11/2026) : accroche courte, étiquettes, texte complet replié */
.var .tag { font-size: 13px; padding: 3px 10px; }
.var details.vplus { margin-top: 6px; }
.var details.vplus summary { cursor: pointer; font-size: 14px; font-weight: 600; color: #2E5B3A; list-style: none; }
.var details.vplus summary::-webkit-details-marker { display: none; }
.var details.vplus summary::after { content: " ›"; }
.var details.vplus[open] summary::after { content: " ‹"; }
.text .var details.vplus p { font-size: 14px; }
@media print { .var details.vplus > *:not(summary) { display: block; } }

/* Prix « dès » sur les cartes, tri par prix et filtre « Disponible à l'achat » (12/11/2026) */
.card .cprix:empty { display: none; }
.card .cprix { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.card .cprix b { font-size: 16px; color: var(--moss); }
.pxbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 18px 0 22px; font-size: 15px; font-weight: 600; }
.pxbar label { display: inline-flex; align-items: center; gap: 8px; }
.pxbar input { width: 18px; height: 18px; accent-color: var(--moss); }
.pxbar select { height: 38px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); padding: 0 8px; font: inherit; color: var(--ink); max-width: 62vw; }

/* Lot B1 (15/11/2026) : liens entre les fiches. Sélections de la plante, variétés sœurs, plantes proches. */
.liens-sel { margin: 34px 0 30px; }
.liens-sel h2 { flex-basis: 100%; margin: 0 0 2px; font-size: clamp(22px, 2.6vw, 26px); letter-spacing: -0.02em; }
.liens-sel a:not(:has(span)) { padding-left: 16px; }
.proches { margin: 34px 0 10px; }
.proches h2 { margin: 0 0 14px; font-size: clamp(22px, 2.6vw, 26px); letter-spacing: -0.02em; }
/* 17/11/2026 : une seule ligne ; 4 cartes visibles sur ordinateur avec flèches, glissement au doigt sur téléphone (comme les variétés) */
.prow { position: relative; container-type: inline-size; }
.proches .ptrack { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.proches .ptrack::-webkit-scrollbar { display: none; }
.proches .ptrack > li { flex: 0 0 calc((100% - 48px) / 4); min-width: 0; scroll-snap-align: start; }
.prow .gnav { top: calc((100cqw - 48px) / 8 - 20px); }
.prow .gnav.prev { left: -8px; }
.prow .gnav.next { right: -8px; }
@media (max-width: 640px) {
  .proches .ptrack { gap: 10px; margin-right: -16px; padding-right: 16px; }
  .proches .ptrack > li { flex-basis: 82%; }
  .prow .gnav { display: none; }
}
@media print { .prow .gnav { display: none; } .proches .ptrack { flex-wrap: wrap; overflow: visible; } }
.pxproches { margin: 30px 0 6px; }
.pxproches h2 { margin: 0 0 8px; font-size: 22px; }
.pxproches ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pxproches small { color: var(--muted); }
/* Pages de prix (26/11/2026) : la réponse en haut (le moins cher, taille par taille), le comparateur intégré, les tableaux repliés */
.pxbest { margin: 0 0 30px; }
.pxbest h2, .pxcmp h2 { margin: 0 0 12px; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; }
.pxbestl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pxbestl li { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.pxbestl p { margin: 0; }
.pxbestl .g b { display: block; font-size: 15px; }
.pxbestl .g small, .pxbestl .r small, .pxbestl .o small { color: var(--muted); font-size: 13.5px; }
.pxbestl .p { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--moss); line-height: 1.1; }
.pxbestl .p small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pxbestl .o { font-size: 15px; }
.pxbestl .r { flex: 1; }
.pxbestl .btn { justify-content: center; height: 46px; margin-top: 4px; }
.pxbestl .btn .aff { margin-left: 2px; }
.pxgo { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pxgo a { font-weight: 700; }
.pxgo small { color: var(--muted); font-size: 14px; }
.pxcmp { margin: 0 0 30px; scroll-margin-top: 12px; }
.pxcmp .cmp { margin-bottom: 0; min-height: 320px; }
details.pxtab { margin: 0 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 16px; scroll-margin-top: 12px; }
details.pxtab > summary { cursor: pointer; list-style: none; display: grid; gap: 2px; padding: 16px 28px 16px 0; position: relative; }
details.pxtab > summary::-webkit-details-marker { display: none; }
details.pxtab > summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--moss); }
details.pxtab[open] > summary::after { content: "−"; }
details.pxtab > summary b { font-size: 17px; }
details.pxtab > summary small { color: var(--muted); font-size: 14px; }
details.pxtab[open] { padding-bottom: 16px; }
details.pxtab .pxsec:first-of-type { margin-top: 6px; }
@media print { details.pxtab > summary::after { display: none; } .pxcmp { display: none; } }
/* Téléphone : une carte compacte par taille (taille et prix sur une ligne, pépinière et bouton sur la suivante) */
@media (max-width: 700px) {
  .pxbestl { gap: 8px; }
  .pxbestl li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 12px 14px; border-radius: 16px; }
  .pxbestl .g b { display: inline; font-size: 15px; } .pxbestl .g small { display: block; font-size: 12.5px; }
  .pxbestl .p { grid-column: 2; grid-row: 1; text-align: right; font-size: 24px; }
  .pxbestl .p small { font-size: 12px; }
  .pxbestl .o { grid-column: 1; grid-row: 2; font-size: 14.5px; }
  .pxbestl .btn { grid-column: 2; grid-row: 2; height: 40px; padding: 0 16px; margin: 0; font-size: 14.5px; }
  .pxbestl .r { grid-column: 1 / -1; grid-row: 3; }
  .pxbestl .r small { font-size: 12.5px; }
}

/* Lot B3 (15/11/2026) : calendrier en texte, questions fréquentes */
.caltxt { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }
/* Questions fréquentes (17/11/2026) : une carte par question, la réponse se déplie */
.faq { margin: 34px 0 10px; }
/* Le bloc entier se replie : le titre sert de bouton, flèche à droite comme les grandes rubriques */
.faq-head { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; border-radius: 10px; }
.faq-head::-webkit-details-marker { display: none; }
.faq-head h2 { flex: 1; }
.faq-head::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586457' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s; }
.faq[open] > .faq-head::after { transform: rotate(180deg); }
.faq-head:hover::after { background-color: var(--line); }
.faq-head:focus-visible { outline: 2px solid var(--moss); outline-offset: 4px; }
.faq:not([open]) { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.faq-tools { display: flex; justify-content: flex-end; margin: 10px 0 10px; }
.faq h2 { margin: 0; font-size: clamp(22px, 2.6vw, 26px); letter-spacing: -0.02em; }
.faq h2 small { display: block; font-family: var(--ui); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-top: 2px; }
.faq-all { font-family: var(--ui); font-size: 14px; font-weight: 700; color: var(--moss); background: var(--soft); border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.faq-all:hover { background: color-mix(in srgb, var(--moss) 14%, var(--soft)); }
.faq-list { display: grid; gap: 10px; }
.faq-it { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s; }
.faq-it[open] { border-color: color-mix(in srgb, var(--moss) 40%, var(--line)); }
.faq-it > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; }
.faq-it > summary::-webkit-details-marker { display: none; }
.faq-it > summary:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.faq-it h3 { margin: 0; flex: 1; font-size: 16.5px; line-height: 1.35; }
.faq-it > summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586457' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq-it[open] > summary::after { transform: rotate(180deg); }
.faq-it > summary:hover::after { background-color: var(--line); }
.faq-it > p { margin: 0; padding: 0 16px 16px; max-width: 66ch; color: var(--ink); }
@media print { .faq-all, .faq-head::after { display: none; } .faq-it > summary::after { display: none; } }

/* Lot B4 (15/11/2026) : lien suivi vers la page de prix, sous le bouton du comparateur */
.pxsuivi { margin: 12px 0 6px 6px; font-size: 15px; }

/* Lot C2 (15/11/2026) : page d'entrée des plantes (types, lettres, liste A à Z) et pages de variétés par lettre */
.sr-titre { margin: 30px 0 14px; font-size: clamp(22px, 2.6vw, 26px); letter-spacing: -0.02em; }
.grid.types { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px 16px; }
.lettres { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 18px; }
.lettres a, .lettres b { min-width: 38px; padding: 7px 0; text-align: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; }
.lettres b { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.az { margin: 0 0 18px; scroll-margin-top: 80px; }
.az h3 { margin: 0 0 6px; font-size: 22px; }
.azlist { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 28px; }
.azlist li { break-inside: avoid; padding: 3px 0; }
.azlist i { color: var(--muted); font-size: .9em; }
.suite { margin: 26px 0 0; text-align: center; }

/* Haut de fiche (17/11/2026) */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Boutons du haut de fiche : une icône seule (le nom est lu par les lecteurs d'écran et s'affiche au survol) */
.actions.icons { gap: 8px; }
.actions .ibtn { position: relative; width: 50px; height: 50px; padding: 0; justify-content: center; flex: none; }
.actions .ibtn svg { width: 22px; height: 22px; }
.actions .btn.ghost.ibtn { border: 1.5px solid var(--line); background: var(--surface); }
.actions .btn.ghost.ibtn:hover { border-color: var(--moss); }
.actions .ibtn[data-jd][aria-pressed="true"] { background: var(--soft); border-color: var(--moss); color: var(--ink); }
.actions .ibtn[data-jd][aria-pressed="true"] svg path:first-child { fill: currentColor; }
.actions .ibtn.copie::after { content: "Lien copié"; position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--ink); color: var(--surface); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 8px; z-index: 5; }
/* Autres noms et synonymes : une ligne chacun ; « En bref » : trois lignes, puis « Lire la suite » (classe posée par le script) */
.noms { display: grid; gap: 4px; min-width: 0; }
.noms.plie > .aka { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lede.plie { max-height: 4.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.plie-btn { align-self: flex-start; margin: -6px 0 0; padding: 2px 0; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--moss); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media print { .noms.plie > .aka { white-space: normal; } .lede.plie { max-height: none; -webkit-mask-image: none; mask-image: none; } .plie-btn { display: none; } }
/* Téléphone : crédit des photos du haut sur une ligne, en entier au toucher ; climats sans les villes d'exemple */
@media (max-width: 640px) {
  .hero .gallery figcaption { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
  .hero .gallery figcaption.ouvert { white-space: normal; overflow: visible; }
  .cb-where .cbc small { display: none; }
}
@media (max-width: 640px) and (hover: hover) { .hero .gallery figcaption:hover { white-space: normal; overflow: visible; } }
/* « L'hiver, selon ton climat » : le climat du visiteur mis en avant ; hachuré s'il faut rentrer la plante ou si la fiche n'en dit rien */
.cbc.moi { background: var(--moss); color: var(--surface); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--moss); }
.cbc.moi.part { background: #8A6A0F; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #8A6A0F; }
.cbc.moi.no, .cbc.moi.na { background: repeating-linear-gradient(135deg, #E4E6E0 0 6px, #D2D6CD 6px 12px); color: #5E665C; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #9AA197; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.cbc.moi.na { text-decoration: none; }
.cbc.moi { position: relative; cursor: pointer; }
.cbc.moi::after { content: "Chez toi : le climat choisi sur ce navigateur"; display: none; position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 5; width: max-content; max-width: 230px; padding: 6px 10px; border-radius: 10px; background: var(--ink); color: var(--surface); font-size: 13px; font-weight: 600; line-height: 1.35; white-space: normal; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.cbc.moi.bulle::after { display: block; }
.cbc.moi.droite::after { left: auto; right: 0; }
@media (hover: hover) { .cbc.moi:hover::after { display: block; } }
.cb-where li.na > b { color: #5E665C; }
.cb-where .moi-q { font: inherit; font-size: 14px; font-weight: 600; color: var(--moss); background: none; border: 1px dashed var(--moss); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
@media print { .cb-where .moi-q { display: none; } }
/* Page des sélections (17/11/2026) : chaque carte fait défiler les photos de ses plantes, nom et nom latin sur la photo.
   Au doigt sur téléphone ; flèches sur ordinateur (cachées sur les écrans tactiles). */
.selc { display: flex; flex-direction: column; min-width: 0; }
.scar { position: relative; container-type: inline-size; margin-bottom: 8px; }
.scar.vide { display: block; aspect-ratio: 1; border-radius: 22px; background: var(--ph); }
.strack { display: flex; aspect-ratio: 1; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 22px; background: var(--ph); }
.strack::-webkit-scrollbar { display: none; }
.sslide { position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; display: block; color: #fff; text-decoration: none; }
.sslide .ph, .sslide picture { display: block; width: 100%; height: 100%; }
.sslide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 1px; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .68)); text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.scap b { font-size: 17px; line-height: 1.25; }
.scap i { font-family: var(--serif); font-size: 15px; opacity: .92; }
.scap small { margin-top: 3px; font-size: 10px; line-height: 1.3; opacity: .72; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.snav { position: absolute; top: calc(50cqw - 20px); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #1F2A22; font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.snav[hidden] { display: none; }
.snav.prev { left: 10px; }
.snav.next { right: 10px; }
.snav:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; }
.scount { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; pointer-events: none; }
.selc .card:hover b { text-decoration: underline; }
@media (hover: none) and (pointer: coarse) { .snav { display: none; } }

/* Sujets (17/11/2026) : calendrier, symptômes, liens, recherche, diagnostic, pages « Ravageurs et maladies » */
.chips.sjsym, .chips.sjsym h2 { align-items: center; }
.chips.sjsym h2 { font-size: 16px; margin: 0 6px 0 0; }
.chips.sjsym a { padding: 7px 14px; font-size: 15px; }
.sjquand { margin: 22px 0 6px; }
.sjquand h2 { margin-bottom: 10px; }
.sjcal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; max-width: 560px; }
.sjcal span { text-align: center; font-size: 12px; font-weight: 700; line-height: 26px; border-radius: 6px; background: var(--soft); color: var(--muted); }
.sjcal span.a { background: #E8D9A6; color: var(--ink); }
.sjcal span.q { background: var(--warn); color: var(--on-warn); }
.sjcal.court { max-width: 360px; gap: 2px; }
.sjcal.court span { font-size: 10px; line-height: 18px; border-radius: 4px; }
.sjleg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.sjleg span { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 4px; }
.sjleg span.a { background: #E8D9A6; } .sjleg span.q { background: var(--warn); }
.ravcal { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 360px); gap: 6px 14px; align-items: center; }
.ravcal > a { font-weight: 600; font-size: 15px; }
.ravlien { margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ravlien a { font-weight: 700; }
.ravl { list-style: none; margin: 10px 0 26px; padding: 0; display: grid; gap: 14px; }
.ravc { display: grid; grid-template-columns: 120px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.ravc[hidden] { display: none; }
.ravc .ravph img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; display: block; background: var(--soft); }
.ravc h3 { margin: 0 0 6px; font-size: 18px; }
.ravc p { margin: 0 0 8px; }
.ravc .kicker { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.sjtools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 6px; }
.sjsearch { flex: 1 1 260px; }
.sjsearch input { width: 100%; height: 50px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; box-sizing: border-box; }
.diag .dgsym button { font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.diag .dgsym button[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--surface); }
.diag .dgpl select { font: inherit; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); max-width: 100%; }
@media (max-width: 640px) {
  .ravc { grid-template-columns: 84px 1fr; gap: 12px; }
  .ravc .ravph img { width: 84px; height: 84px; }
  .ravcal { grid-template-columns: 1fr; gap: 2px; }
  .ravcal > a { margin-top: 8px; }
  /* Sujets : deux cartes et demie par écran, qu'on fait défiler */
  .sjcat .grid, .sjmois .grid { grid-auto-columns: 42%; gap: 10px; }
  .sjcat .card b, .sjmois .card b { font-size: 15px; }
  .chips.row.dgsym { flex-wrap: wrap; overflow: visible; margin: 12px 0 0; padding: 0; gap: 6px; }
  .diag .dgsym button { font-size: 14px; padding: 6px 11px; }
}
.sjesp .vplus .note, .sjesp .vplus a { overflow-wrap: anywhere; }
.sjesp-q { display: block; margin: 0 0 12px; max-width: 520px; }
@media (max-width: 640px) {
  /* Espèces d'un groupe : une carte et le bord de la suivante, qu'on fait défiler (17/11/2026) */
  .sjesp .vars { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; align-items: start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: -16px; padding-right: 16px; }
  .sjesp .vars > li { scroll-snap-align: start; }
}
/* Calendrier sur les cartes de sujets et d'espèces (18/11/2026) */
.card .sjcal { margin-top: 8px; max-width: none; }
.card .sjcal span { font-size: 9px; line-height: 16px; }
.var .sjcal { max-width: none; }
.sjesp > .sjleg, #sjcats > .sjleg { margin: 0 0 12px; }

/* À propos : photo d'Ugo */
.apropos-photo { margin: 0 0 1rem; max-width: 300px; }
.apropos-photo img { display: block; width: 100%; height: auto; border-radius: 8px; }
.apropos-photo figcaption { font-size: .85rem; opacity: .75; margin-top: .3rem; }
/* Comparateur ouvert depuis « Mon projet » pour choisir une offre (24/11/2026, site/js/comparateur.js) */
.cxchoix { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 14px; padding: 12px 16px; border-radius: 16px; background: var(--est); }
.cxchoix span { flex: 1 1 260px; }
.cxchoix a { font-weight: 700; }
.cxpick { font: inherit; font-size: 14px; font-weight: 800; border: 0; background: var(--pollen); color: var(--on-pollen); border-radius: 999px; padding: 8px 16px; cursor: pointer; margin: 0 8px 6px 0; }
.cxpick:hover { background: #E6C766; }
/* « Pour mon projet » dans le comparateur (25/11/2026, comparateur.js) */
.cxpick.pj { background: var(--surface); border: 1.5px solid var(--moss); color: var(--moss); }
.cxpick.pj:hover { background: var(--moss); color: var(--surface); }
.cxpicked { display: inline-block; margin: 0 8px 6px 0; font-size: 13.5px; font-weight: 800; color: var(--moss); }
.cxpjsheet { position: fixed; z-index: 90; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(420px, calc(100vw - 24px)); display: grid; gap: 6px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(20, 30, 22, .25); }
.cxpjsheet p { margin: 0 0 4px; }
.cxpjsheet button { font: inherit; font-size: 14.5px; text-align: left; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.cxpjsheet button:hover { border-color: var(--moss); }
.cxpjsheet .nn { text-align: center; border: 0; background: var(--soft); }
.cxtoast { position: fixed; z-index: 95; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: calc(100vw - 24px); background: var(--tip-bg); color: var(--tip-ink); padding: 12px 16px; border-radius: 14px; font-size: 14.5px; transition: opacity .4s; }
.cxtoast a { color: var(--pollen); font-weight: 700; }
.cxtoast.out { opacity: 0; }

/* ======================================================================================================
   Mode sombre (23/11/2026, demande du propriétaire). Le thème est choisi par le visiteur (bouton dans
   l'en-tête : automatique, clair ou sombre ; voir « Thème » dans pmp-common.js). Un petit script en tête de
   page pose data-theme="dark" ou "light" sur <html> avant l'affichage, donc sans éclair blanc.
   Le mode clair reste celui d'origine. Ici : les valeurs sombres des variables, puis les quelques blocs qui
   gardent une couleur propre. L'impression reste toujours en clair (@media screen).
   ====================================================================================================== */
@media screen {
:root[data-theme="dark"] {
  --bg: #0E1511; --surface: #161F19; --ink: #E6ECE3; --text: #CDD6CC; --muted: #9AAA9E; --line: #2E3B32; --soft: #223027;
  --moss: #8FCB9F; --pollen: #D9B44A; --water: #7FB6E8; --warn: #F0A07C; --warnbg: #3A231B; --est: #4A3D14;
  --card: #1B2620; --sub: #B3BFB5; --ph: #1F2A23; --foot: #0B110D; --tiles: #2E3B32; --soft-2: #2C3B31; --cal-off: #212C25;
  --moss-hover: #A9D9B5; --on-moss: #0E1511; --on-pollen: #1D2A21; --on-water: #0E1511; --on-warn: #1A0F0B;
  --forest: #1C3023; --forest-2: #2A4733;
  --dg: #F0A07C; --dg-ink: #EBD7CD; --dg-bg: #33201A; --dg-line: #5A3426; --dg-sub: #C4AA9E; --dg-bg2: #271B16;
  --tip-bg: #2A382F; --tip-ink: #E6ECE3; --gold-bg: #342D16; --est-line: #6B5A22; --sky-bg: #1A2A35; --leaf-hi: #1E3024;
  --ok-bg: #1C2B20; --ok-line: #2F4733; --ko-bg: #33201A; --ko-line: #5A3426;
  --k-feuille: #7CC496; --k-bois: #C9B98F; --k-fleur: #D592C5; --k-soleil: #E2B052; --k-chaleur: #F08A5D; --k-vent: #A5B5C1; --k-climat: #66BFCD; --k-ph: #A9ADE0;
  --sel-sub: rgba(14, 21, 17, .72); --on-photo: #fff; --photo-scrim: rgba(29, 42, 33, .35); --chip-bg: rgba(14, 21, 17, .86); --chip-bg-2: rgba(22, 31, 25, .88);
  --tip-danger: #F2B9A3; --scrim: rgba(20, 30, 22, .45); --ko-bg-2: #2A1B16; --gold-hover: #5A4C1E; --bar-line: #3A4A3F; --print-ink: #555;
  --band-ko: rgba(122, 48, 25, .92); --band-autre: rgba(217, 180, 74, .95); --band-aucune: rgba(29, 42, 33, .85);
  --graph-1: #338CED; --graph-2: #E76624; --graph-1-voile: rgba(51, 140, 237, .12);
  --shadow-pop: 0 14px 34px rgba(20, 30, 22, .18); --shadow-bar: 0 16px 40px rgba(0, 0, 0, .3); --shadow-chip: 0 1px 4px rgba(0, 0, 0, .15);
  --shadow-drawer: -18px 0 40px rgba(0, 0, 0, .2); --shadow-drawer-up: 0 -18px 40px rgba(0, 0, 0, .2); --shadow-doc: none; --shadow-go: 0 10px 26px rgba(20, 30, 22, .3);
  --cp-ciel: #121B15; --cp-eau: rgba(127, 182, 232, .22); --cp-pierre: #3A3F37; --cp-pierre-line: #565D52; --cp-terre: #5C4C37; --cp-gravier: #4E4B43; --cp-ombre: rgba(0, 0, 0, .32); --cp-fleur-line: rgba(0, 0, 0, .45);
  color-scheme: dark;
}
/* Logo : version claire sur fond sombre */
.brand .lg-sombre { display: none; }
[data-theme="dark"] .brand .lg-clair { display: none; }
[data-theme="dark"] .brand .lg-sombre { display: block; }
/* Accueil : les deux entrées */
[data-theme="dark"] .startcard .k { color: #E3C873; }
[data-theme="dark"] .startcard.prix { border-color: #5A4C21; }
[data-theme="dark"] .startcard.prix .d { color: #D8D0AE; }
[data-theme="dark"] .startcard.trouve { background: #1C2B20; border-color: #2F4733; }
[data-theme="dark"] .startcard.trouve .k { color: #A8D5B2; }
/* Fiches : jauges, calendrier, rubriques */
[data-theme="dark"] .tile .lvl i { background: #2E3B32; }
[data-theme="dark"] .tile .lvl i.on { background: var(--moss); }
[data-theme="dark"] .calgrid .c { background: #212C25; }
[data-theme="dark"] .cal .sexe { background: #2A2619; }
[data-theme="dark"] .gl-tip { border: 1px solid #3A4A3F; }
[data-theme="dark"] .rb-chips li { background: #2E2814; border-color: #5A4C21; color: #EAD9A6; }
[data-theme="dark"] .rb-chips b { color: #E2B052; }
[data-theme="dark"] .rb-box { background: #1A2A1F; border-color: #2F4733; }
[data-theme="dark"] .text .rb-box-t { color: #A8D5B2; }
[data-theme="dark"] .rb-ami { background: #2C1D28; border-color: #523A4A; }
[data-theme="dark"] .text .rb-ami-t { color: #E0A6CF; }
[data-theme="dark"] .op-ph .g-acide.on { background: #43301E; color: #F3C79C; }
[data-theme="dark"] .op-ph .g-neutre.on { background: #1F3424; color: #A8D5B2; }
[data-theme="dark"] .op-ph .g-alcalin.on { background: #1B2E3D; color: #A9CBEA; }
[data-theme="dark"] .op-ph .g-alcalin.pale { background: repeating-linear-gradient(135deg, #1A252E 0 6px, #151D24 6px 12px); color: #8FB0C8; }
[data-theme="dark"] .vbuy { background: #1A2A1F; color: #CFE8D5; }
[data-theme="dark"] .vbuy:hover, [data-theme="dark"] .vbuy:focus-visible { background: #233629; }
[data-theme="dark"] .vnoph { background: repeating-linear-gradient(135deg, #1A221C 0 12px, #161E19 12px 24px); }
[data-theme="dark"] .text .var .vnoph p { color: #A3AEA5; }
[data-theme="dark"] .text .var p.vtodo { color: #9AA59C; }
[data-theme="dark"] .var details.vplus summary { color: var(--moss); }
[data-theme="dark"] .sjcal span.a:not(.q), [data-theme="dark"] .sjleg span.a { background: #5A4C21; }
/* Climat : pastilles « tient chez toi », « en partie », « non » */
[data-theme="dark"] .cbc { background: #263A1C; color: #CBE6A5; }
[data-theme="dark"] .cbc.part { background: var(--est); color: #F0D48A; }
[data-theme="dark"] .cb-where li.ok > b { color: #CBE6A5; }
[data-theme="dark"] .cb-where li.part > b { color: #F0D48A; }
[data-theme="dark"] .cb-where li.na > b { color: #A3ABA0; }
[data-theme="dark"] .cbc.moi.part { background: #E2B052; color: #1D2A21; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #E2B052; }
[data-theme="dark"] .cbc.moi.no, [data-theme="dark"] .cbc.moi.na { background: repeating-linear-gradient(135deg, #2A322C 0 6px, #232A25 6px 12px); color: #A3ABA0; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px #5E665C; }
/* Petit texte sur un bouton vert choisi */
[data-theme="dark"] .vfilter button[aria-pressed="true"] small, [data-theme="dark"] .seg button[aria-pressed="true"] small,
[data-theme="dark"] .climlinks a:hover small, [data-theme="dark"] .climlinks a[aria-current] small, [data-theme="dark"] .cxpj.on small,
[data-theme="dark"] .cxg[aria-pressed="true"] .d, [data-theme="dark"] .cxg[aria-pressed="true"] .c, [data-theme="dark"] .cxg[aria-pressed="true"] .px,
[data-theme="dark"] .cxalt button[aria-pressed="true"] small { color: rgba(14, 21, 17, .74); }
[data-theme="dark"] .cxg[aria-pressed="true"] svg { color: var(--on-moss); }
/* Comparateur */
[data-theme="dark"] .cxchips .dispo.ok { background: #1F3A22; color: #B5E0A6; }
[data-theme="dark"] .cxrow .how .evo.down, [data-theme="dark"] .cxrow .how .evo.up { color: #8FD19A; }
/* Styles écrits dans les pages par build-pages.mjs (lexique, stades des sujets) */
[data-theme="dark"] .lxnav a, [data-theme="dark"] .sjstade button { background: var(--card); }
[data-theme="dark"] .sjstade button { border-color: var(--line); }
[data-theme="dark"] .sjstade button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
[data-theme="dark"] .lx { border-bottom-color: var(--line); }
/* Pictogrammes dessinés dans les pages (scripts/build-pages.mjs, ouplanter.mjs) : traits plus clairs sur fond sombre */
[data-theme="dark"] svg [stroke="#3E7393"] { stroke: #7FB6E8; }
[data-theme="dark"] svg [fill="#3E7393"] { fill: #7FB6E8; }
[data-theme="dark"] svg [stroke="#8A3B22"] { stroke: #F0A07C; }
[data-theme="dark"] svg [fill="#F2D9CD"] { fill: #5A3426; }
[data-theme="dark"] svg [stroke="#B88A14"] { stroke: #E2B052; }
[data-theme="dark"] svg [fill="#E1E7D9"] { fill: var(--soft); }
[data-theme="dark"] svg [stroke="#2F4A35"] { stroke: var(--moss); }
[data-theme="dark"] svg [fill="#1D2A21"] { fill: var(--ink); }
[data-theme="dark"] svg [stroke="#1D2A21"] { stroke: var(--ink); }
[data-theme="dark"] svg [stroke="#B9C2AE"] { stroke: #56635A; }
[data-theme="dark"] svg [stroke="#6B5236"] { stroke: #A88B66; }
[data-theme="dark"] svg [stroke="#3E7A4F"] { stroke: #7CC496; }
[data-theme="dark"] svg [stroke="#586457"] { stroke: var(--muted); }
/* Les photos gardent leurs couleurs ; un très léger voile évite qu'elles éblouissent la nuit */
[data-theme="dark"] main img:not([src$=".svg"]) { filter: brightness(.94); }
}
