/* =====================================================================
   Orova — pages de Jade : Publications, Stratégie, Dépôt photos.
   Préfixe .jd- ; réutilise les tokens et composants de app.css.
   ===================================================================== */

/* couleurs de statut des publications (paires de app.css) */
.st-plan { --sb: var(--t-neutral-bg); --sc: var(--t-neutral); --sl: #8A9097; }
.st-a_valider { --sb: var(--t-orange-bg); --sc: var(--t-orange); --sl: #C24A12; }
.st-programme { --sb: var(--t-amber-bg); --sc: var(--t-amber); --sl: #C99A1C; }
.st-publie { --sb: var(--t-green-bg); --sc: var(--t-green); --sl: var(--green); }
.st-annule { --sb: var(--t-neutral-bg); --sc: var(--t-neutral); --sl: #B5AC98; }

.jd-mr-auto { margin-right: auto; }
.jd-warn { color: var(--t-amber); font-weight: 600; }
.jd-ok { display: flex; align-items: center; gap: 6px; color: var(--green-ink); font-weight: 600; font-size: 14px; }
.jd-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jd-tags { color: var(--t-violet); font-weight: 500; font-size: 14px; overflow-wrap: anywhere; }
.jd-txt-mob { display: none; }
.jd-mob-only { display: none !important; }

/* vignette média */
.jd-thumb { position: relative; display: block; width: 44px; height: 44px; border-radius: 9px; overflow: hidden; background: var(--cream-2); flex: none; }
.jd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jd-thumb__vide { display: grid; place-items: center; width: 100%; height: 100%; color: var(--text-3); }
.jd-thumb__video { position: absolute; right: 3px; bottom: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(12,17,22,.72); color: #fff; display: grid; place-items: center; }

/* indicateurs + prochain shooting */
.jd-stats { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: stretch; }
.jd-kpi--calme { --kb: var(--surface); --kc: var(--ink); border-color: var(--border); }
.jd-kpi-btn { text-align: left; font: inherit; cursor: pointer; transition: box-shadow .15s, transform .05s; }
.jd-kpi-btn:hover { box-shadow: var(--shadow-2); }
.jd-shoot { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.jd-shoot .eyebrow { color: #9AA1A8; }
.jd-shoot .strong { font: 700 17px/1.3 var(--font-title); }
.jd-shoot__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,107,44,.18); color: var(--orange); flex: none; }
.jd-shoot .badge { background: var(--orange); color: var(--ink); }

/* carte Pack Communication */
.jd-pack { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; background: linear-gradient(160deg, #FFF6F0, #fff 55%); border-color: #F1C9B3; }
.jd-pack__titre { font-size: 30px; }
.jd-pack__texte { color: var(--text-2); font-size: 16px; max-width: 60ch; }
.jd-pack__avantages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; margin: 6px 0; }
.jd-pack__avantages li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.jd-pack__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--ink); color: var(--orange); flex: none; }

/* « À valider » (Publications) */
.jd-aval { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.jd-aval__item { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px 14px; align-items: start; padding: 14px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface-2); }
.jd-aval__visuel { border: 0; padding: 0; background: none; cursor: pointer; border-radius: 12px; }
.jd-aval__visuel .jd-thumb { width: 96px; height: 96px; border-radius: 12px; }
.jd-aval__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.jd-aval__actions { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--border); }
.jd-busy { position: absolute; inset: 0; border-radius: inherit; background: rgba(255,255,255,.72); display: grid; place-items: center; color: var(--ink); }

/* calendrier */
.jd-cal { display: flex; flex-direction: column; gap: 14px; }
.jd-cal__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.jd-cal__mois { font-size: 22px; }
.jd-legende { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: var(--text-2); }
.jd-legende__item { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.jd-legende__item i { width: 12px; height: 12px; border-radius: 4px; background: var(--sb); box-shadow: inset 0 0 0 1.5px var(--sl); }
.jd-astuce { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--text-3); }
.jd-grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--r-md); overflow: visible; background: var(--border); gap: 1px; }
.jd-grille__jour { background: var(--surface-2); padding: 8px 10px; font: 700 12px/1.2 var(--font-text); text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.jd-grille__jour:first-child { border-top-left-radius: var(--r-md); }
.jd-grille__jour:nth-child(7) { border-top-right-radius: var(--r-md); }
.jd-case { position: relative; background: var(--surface); min-height: 118px; padding: 6px; display: flex; flex-direction: column; gap: 4px; min-width: 0; transition: background .1s; }
.jd-case.is-hors { background: var(--surface-2); }
.jd-case.is-pale > * { opacity: .55; }
.jd-case__num { align-self: flex-start; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 50%; font: 700 13px/1 var(--font-text); color: var(--text-2); }
.jd-case.is-hors .jd-case__num { color: #9AA1A8; }
.jd-case.is-auj .jd-case__num { background: var(--ink); color: #fff; }
.jd-case.is-auj--or { box-shadow: inset 0 0 0 2px var(--orange); }
.jd-case.is-cible { background: var(--t-amber-bg); outline: 2px dashed #C99A1C; outline-offset: -4px; }
.jd-case .menu { display: flex; width: 100%; }
.jd-vign { display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: auto auto; gap: 2px 6px; align-items: center; width: 100%; padding: 4px; border: 0; border-radius: 9px; background: var(--sb); color: var(--sc); text-align: left; cursor: pointer; font-size: 12px; box-shadow: inset 3px 0 0 var(--sl); }
.jd-vign[draggable="true"] { cursor: grab; }
.jd-vign:hover { filter: brightness(.97); box-shadow: inset 3px 0 0 var(--sl), var(--shadow-1); }
.jd-vign .jd-thumb { grid-row: span 2; width: 30px; height: 30px; border-radius: 7px; }
.jd-vign__txt { display: flex; gap: 4px; min-width: 0; color: var(--ink); font-weight: 600; }
.jd-vign__h { flex: none; color: var(--sc); }
.jd-vign__st { font-size: 11px; font-weight: 700; }
.jd-mliste { display: none; flex-direction: column; gap: 8px; }
.jd-mliste__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); text-align: left; cursor: pointer; }
.jd-mliste__item .grow { display: flex; flex-direction: column; gap: 1px; }
.jd-mliste__item .jd-thumb { width: 52px; height: 52px; }

/* aperçu publication (façon Instagram) */
.modal:has(.jd-ig) { max-width: 480px; }
.jd-ig { display: flex; flex-direction: column; min-height: 0; max-height: inherit; }
.jd-ig__head { display: flex; align-items: center; gap: 8px; padding: 12px 10px 12px 14px; border-bottom: 1px solid var(--border); }
.jd-ig__head .grow { min-width: 0; }
.jd-ig__body { overflow-y: auto; display: flex; flex-direction: column; }
.jd-ig__media { position: relative; aspect-ratio: 1 / 1; background: var(--cream-2); flex: none; }
.jd-ig__media img { width: 100%; height: 100%; object-fit: cover; }
.jd-ig__nophoto { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--text-3); font-weight: 600; }
.jd-ig__video { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(12,17,22,.75); color: #fff; font-size: 12px; font-weight: 700; }
.jd-ig__changer { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-pill); border: 0; background: rgba(255,255,255,.94); box-shadow: var(--shadow-2); font: 700 13px/1 var(--font-text); cursor: pointer; }
.jd-ig__changer:hover { background: #fff; }
.jd-ig__icons { display: flex; gap: 14px; padding: 12px 16px 4px; color: var(--ink); }
.jd-ig__texte { display: flex; flex-direction: column; gap: 10px; padding: 8px 16px 16px; font-size: 14.5px; }
.jd-ig__form { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.jd-ig__foot { justify-content: space-between; }
.jd-idee { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--border-strong); display: flex; flex-direction: column; gap: 3px; font-size: 14px; }

/* choisir une photo */
.jd-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.jd-pick__item { position: relative; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; }
.jd-pick__item .jd-thumb { width: 100%; height: 100%; border-radius: 12px; }
.jd-pick__item:hover { outline: 3px solid var(--orange); outline-offset: -3px; }
.jd-pick__etat { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--tb); color: var(--tc); font: 700 11px/1.5 var(--font-text); }

/* banque photo */
.jd-ajout { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 16px; }
.jd-drop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 18px; border: 2px dashed var(--border-strong); border-radius: var(--r-lg); background: var(--surface); cursor: pointer; color: var(--text-2); transition: border-color .15s, background .15s; }
.jd-drop:hover, .jd-drop.is-over { border-color: var(--orange); background: #FFF9F5; }
.jd-drop .ic { color: var(--orange-ink); }
.jd-drop .strong { color: var(--ink); }
.jd-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.jd-drop:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.jd-progress { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: var(--r-md); background: var(--t-amber-bg); color: var(--t-amber); margin-bottom: 16px; }
.jd-progress__bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.7); overflow: hidden; }
.jd-progress__bar span { display: block; height: 100%; background: var(--orange); border-radius: 4px; transition: width .3s; }
.jd-banque { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.jd-tuile { position: relative; aspect-ratio: 1 / 1; border: 0; padding: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: var(--cream-2); }
.jd-tuile img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.jd-tuile:hover img { transform: scale(1.04); }
.jd-tuile__badges { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; gap: 6px; justify-content: space-between; }
.jd-tuile__badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: var(--r-pill); background: rgba(12,17,22,.72); color: #fff; font: 700 11.5px/1.3 var(--font-text); }
.jd-tuile__badge.is-new { background: var(--orange); color: var(--ink); }
.jd-tuile__etat { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--tb); color: var(--tc); font: 700 11.5px/1.4 var(--font-text); }
.jd-tuile__survol { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 12px; text-align: left; color: #fff; background: linear-gradient(180deg, transparent 30%, rgba(12,17,22,.82)); opacity: 0; transition: opacity .15s; }
.jd-tuile__survol .ic { position: absolute; top: 10px; right: 10px; }
.jd-tuile:hover .jd-tuile__survol, .jd-tuile:focus-visible .jd-tuile__survol { opacity: 1; }
.jd-zoom { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--cream-2); max-height: 420px; }
.jd-zoom img { width: 100%; max-height: 420px; object-fit: contain; }

/* Stratégie */
.jd-jade { display: inline-flex; align-items: center; gap: 10px; }
.jd-strat-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: -8px; }
.jd-moisnav { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.jd-moisnav .h2 { min-width: 150px; text-align: center; }
.jd-alertes { display: flex; flex-direction: column; gap: 8px; }
.jd-alerte { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid; text-align: left; cursor: pointer; font: 600 14.5px/1.35 var(--font-text); }
.jd-alerte:hover { box-shadow: var(--shadow-1); }
.jd-alerte--rouge { background: var(--t-orange-bg); border-color: #F1C9B3; color: var(--t-orange); }
.jd-alerte--orange { background: var(--t-amber-bg); border-color: #F2D98E; color: var(--t-amber); }
.jd-alerte--bleu { background: var(--t-blue-bg); border-color: #CBDCF2; color: var(--t-blue); }
.jd-tf-band { display: block; padding: 2px 6px; border-radius: 6px; font: 700 11px/1.4 var(--font-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--tfb); color: var(--tfc); }
.tf-fete { --tfb: #FCE4F0; --tfc: #9D1F5C; --tfl: #E0457B; }
.tf-vacances { --tfb: var(--t-blue-bg); --tfc: var(--t-blue); --tfl: #38BDF8; }
.tf-promo { --tfb: var(--t-amber-bg); --tfc: var(--t-amber); --tfl: #C24A12; }
.tf-evenement { --tfb: var(--t-amber-bg); --tfc: var(--t-amber); --tfl: var(--ink); }
.jd-pc { display: flex; gap: 6px; align-items: flex-start; width: 100%; padding: 5px 6px; border: 1px solid var(--border); border-left: 3px solid var(--sl); border-radius: 8px; background: var(--surface); text-align: left; cursor: pointer; font-size: 12px; }
.jd-pc[draggable="true"] { cursor: grab; }
.jd-pc:hover, .jd-pc[aria-expanded="true"] { box-shadow: var(--shadow-1); border-color: var(--border-strong); border-left-color: var(--sl); }
.jd-pc .jd-thumb { width: 28px; height: 28px; border-radius: 6px; }
.jd-pc__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.jd-pc__meta { display: flex; align-items: center; gap: 4px; color: var(--text-3); font-weight: 700; font-size: 11px; }
.jd-pc__theme { font-weight: 600; color: var(--ink); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.jd-pc__photo { font-size: 10.5px; font-weight: 700; color: var(--t-amber); }
.jd-case .menu__list { min-width: 210px; }
.jd-liste { display: flex; flex-direction: column; gap: 14px; }
.jd-liste__tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.jd-liste__tools .chips { flex: 1 1 auto; min-width: 0; }
.jd-sem { display: flex; flex-direction: column; gap: 6px; }
.jd-sem__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 2px 4px; border-bottom: 1px solid var(--border); }
.jd-sem__prevus { font-size: 13px; font-weight: 700; color: var(--t-amber); white-space: nowrap; }
.jd-sem__prevus.is-ok { color: var(--green-ink); }
.jd-sem__prevus.is-vide { color: var(--red-ink); }
.jd-sem__vide { padding: 6px 2px; }
.jd-lignes { display: flex; flex-direction: column; gap: 6px; }
.jd-ligne { display: flex; align-items: center; gap: 12px; padding: 8px 6px 8px 12px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); box-shadow: inset 3px 0 0 var(--sl); }
.jd-ligne__date { display: flex; flex-direction: column; align-items: center; width: 44px; flex: none; line-height: 1.15; }
.jd-ligne__date strong { font: 800 20px/1.1 var(--font-title); }
.jd-ligne__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jd-ligne__txt .row { gap: 4px; flex-wrap: nowrap; min-width: 0; }
.jd-tfs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.jd-tf { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 16px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: inset 4px 0 0 var(--tfl); }
.jd-tf__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--tfb); color: var(--tfc); flex: none; }
.jd-tf .row { gap: 4px; }
.jd-tf__foot { margin-top: auto; padding-top: 4px; gap: 8px !important; }
.jd-charte-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; align-items: start; }
.jd-bientot { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jd-bientot__card { display: flex; align-items: center; gap: 14px; opacity: .85; }
.jd-bientot__card > div { flex: 1; }
.jd-compteurs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jd-compteur { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); }
.jd-compteur .qty span { font-size: 18px; }
.jd-compteur .qty button:disabled { opacity: .35; cursor: not-allowed; }
.jd-creneau { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font: 600 13.5px/1.2 var(--font-text); }
.jd-creneau button { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.jd-creneau button:hover { background: var(--red-ink); }
.jd-creneau-ajout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.jd-creneau-ajout .btn { grid-column: 1 / -1; justify-self: start; }
.jd-charte { display: flex; flex-direction: column; gap: 14px; }
.jd-charte__sec { margin: 0; padding: 14px 16px 16px; border: 1px solid var(--border); border-radius: var(--r-md); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.jd-charte__sec legend { padding: 0 6px; margin-left: -6px; }
.jd-switch { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.jd-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jd-switch__track { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--border-strong); flex: none; transition: background .15s; }
.jd-switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform .15s; }
.jd-switch input:checked + .jd-switch__track { background: var(--green); }
.jd-switch input:checked + .jd-switch__track::after { transform: translateX(18px); }
.jd-switch input:focus-visible + .jd-switch__track { outline: 3px solid var(--focus); outline-offset: 2px; }
.jd-swatch { width: 28px; height: 28px; border-radius: 8px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(12,17,22,.15); }
.jd-sugg__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.jd-sugg { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface-2); }

/* Dépôt photos (page publique) */
.jd-depot { align-items: start; padding-top: 48px; }
.jd-depot__card { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 20px; }
.jd-depot__sub { color: var(--text-2); font-size: 16px; }
.jd-depot__sub.is-erreur { color: var(--red-ink); font-weight: 600; }
.jd-depot__form { gap: 18px; }
.jd-depot__liste { display: flex; flex-direction: column; gap: 10px; }
.jd-depot__liste ul { max-height: 240px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--r-md); }
.jd-depot__liste li { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-top: 1px solid var(--border); font-size: 14px; }
.jd-depot__liste li:first-child { border-top: 0; }
.jd-depot__x { width: 30px; height: 30px; }
.jd-depot__ok { font: 700 18px/1.4 var(--font-title); }
.jd-depot__pied { border-top: 1px solid var(--border); padding-top: 14px; }

/* ================================================================== responsive */
@media (max-width: 1180px) {
  .jd-stats { grid-template-columns: minmax(0, 1fr); }
  .jd-charte-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .jd-grille, .jd-legende { display: none; }
  .jd-mliste { display: flex; }
  .jd-desk-only { display: none !important; }
  .jd-mob-only { display: flex !important; }
  .jd-pack__avantages { grid-template-columns: 1fr; }
  .jd-txt-desk { display: none; }
  .jd-txt-mob { display: inline; }
}
@media (max-width: 600px) {
  .jd-pack { padding: 22px 18px; }
  .jd-pack__titre { font-size: 24px; }
  .jd-aval { grid-template-columns: minmax(0, 1fr); }
  .jd-aval__item { grid-template-columns: 72px minmax(0, 1fr); }
  .jd-aval__visuel .jd-thumb { width: 72px; height: 72px; }
  .jd-aval__actions { grid-column: 1 / -1; }
  .jd-aval__actions .btn { flex: 1; }
  .jd-banque { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .jd-tuile__survol { display: none; }
  .jd-strat-bar { flex-direction: column; align-items: stretch; }
  .jd-moisnav { justify-content: space-between; }
  .jd-strat-bar__actions { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .jd-strat-bar__actions .btn { padding-left: 8px; padding-right: 8px; }
  .jd-compteurs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .jd-creneau-ajout { grid-template-columns: 1fr 1fr; }
  .jd-creneau-ajout .btn { grid-column: 1 / -1; }
  .jd-bientot { grid-template-columns: 1fr; }
  .jd-sugg__form { grid-template-columns: 1fr; }
  .jd-ligne { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; }
  .jd-ligne > .jd-thumb { display: none; }
  .jd-ligne__date { width: 40px; grid-row: span 2; }
  .jd-ligne > .badge { grid-column: 2; grid-row: 2; justify-self: start; }
  .jd-ligne > .menu { grid-column: 3; grid-row: 1 / span 2; }
  .jd-depot { padding-top: 16px; }
  .jd-ig__foot .btn { flex: 1 1 40%; }
  .jd-ig__foot .btn--secondary { order: 3; flex-basis: 100%; }
  .jd-astuce { display: none; }
}
.jd-shoot .badge { margin-top: 6px; }
.jd-ig__foot { flex-wrap: nowrap; }
@media (max-width: 600px) { .jd-ig__foot { flex-wrap: wrap; } }
.jd-ligne__txt .row { white-space: nowrap; overflow: hidden; }
