/* Fiches publiques des membres (/membres/*) et editeurs de contenus de
   l'espace membre (/compte/cv, /compte/blog, /compte/albums, /compte/moderation).
   S'ajoute a espace.css ; variables : css/site.css. Prefixe : f-.
   Mobile d'abord ; toute colonne de grille en minmax(0, 1fr). */

.f-page { padding: 18px 0 30px; }
.f-visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.f-page :focus-visible, .f-visionneuse :focus-visible, .f-dialogue :focus-visible, .e-espace :focus-visible {
	outline: 3px solid rgba(232, 89, 12, .55); outline-offset: 2px; border-radius: 6px;
}

/* ---------- en-tete de fiche ---------- */
.f-hero { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.f-hero-couverture {
	height: 150px; background: radial-gradient(circle at 15% 20%, #f79257 0%, transparent 45%),
		radial-gradient(circle at 85% 90%, #2b8a3e 0%, transparent 45%), linear-gradient(135deg, #e8590c, #7a2e08);
	background-size: cover; background-position: center;
}
@media (min-width: 768px) { .f-hero-couverture { height: 230px; } }
.f-hero-corps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 18px 18px; }
@media (min-width: 768px) { .f-hero-corps { grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; padding: 0 28px 22px; gap: 22px; } }
.f-hero .e-avatar-l { margin-top: -56px; width: 112px; height: 112px; font-size: 38px; }
@media (min-width: 768px) { .f-hero .e-avatar-l { margin-top: -64px; width: 136px; height: 136px; font-size: 46px; } }
.f-hero h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
@media (min-width: 768px) { .f-hero h1 { font-size: 32px; } }
.f-hero-titre { margin: 4px 0 0; font-size: 16.5px; color: #3d4752; font-weight: 600; }
.f-hero-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.f-hero-meta a { color: var(--muted); }
.f-hero-meta a:hover { color: var(--accent); }
.f-hero-meta .fa { margin-right: 5px; }
.f-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.f-onglets { display: flex; gap: 4px; overflow-x: auto; margin: 16px 0 18px; padding: 4px; background: var(--surface);
	border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); scrollbar-width: none; }
.f-onglets a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 9px; font-weight: 700;
	font-size: 14.5px; color: var(--ink); white-space: nowrap; }
.f-onglets a:hover { background: var(--soft); color: var(--ink); text-decoration: none; }
.f-onglets a[aria-current=page] { background: var(--accent-pale); color: #a8400a; }
.f-onglets a span { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 1px 8px; }
.f-onglets a[aria-current=page] span { background: #fff; color: #a8400a; }

.f-colonnes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 992px) { .f-colonnes { grid-template-columns: minmax(0, 1fr) 320px; } }
.f-section-titre { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.f-section-titre h2 { margin: 0; font-size: 19px; font-weight: 800; }
.f-section-titre a { font-weight: 700; font-size: 14px; }
.f-texte { font-size: 16px; line-height: 1.7; color: #2b3540; white-space: pre-line; overflow-wrap: anywhere; }
.f-bandeau { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; margin: 0 0 16px;
	background: #fff9db; border: 1px solid #ffe066; color: #7a5b00; font-size: 14.5px; }
.f-bandeau-modo { background: #fff5f5; border-color: #ffc9c9; color: #a51111; }

/* ---------- annuaire ---------- */
.f-recherche { display: flex; gap: 8px; margin: 0 0 18px; }
.f-recherche input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1px solid #cfd6de; border-radius: 12px; font-size: 15.5px; }
.f-recherche input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232, 89, 12, .12); outline: none; }
.f-membres { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.f-membre { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 16px 18px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
	transition: transform .15s, box-shadow .15s; color: var(--ink); }
.f-membre:hover { transform: translateY(-2px); box-shadow: var(--shadow-fort); }
.f-membre .e-avatar { width: 76px; height: 76px; font-size: 26px; margin-bottom: 12px; }
.f-membre b { font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.f-membre a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.f-membre a { color: inherit; }
.f-membre a:hover { text-decoration: none; }
.f-membre small { display: block; color: var(--muted); margin-top: 4px; font-size: 13.5px; overflow-wrap: anywhere; }
.f-membre .f-ville { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

.f-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 22px 0 6px; padding: 0; list-style: none; }
.f-pagination a, .f-pagination span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px;
	border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; color: var(--ink); }
.f-pagination a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.f-pagination [aria-current=page] { background: var(--accent); border-color: var(--accent); color: #fff; }
.f-pagination .f-ellipse { border: 0; background: none; min-width: 20px; }

/* ---------- cartes d'articles et d'albums ---------- */
.f-articles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.f-article { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface);
	border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .15s; }
.f-article:hover { box-shadow: var(--shadow-fort); }
@media (min-width: 640px) { .f-article.avec-image { grid-template-columns: 220px minmax(0, 1fr); } }
.f-article img { width: 100%; height: 100%; min-height: 150px; max-height: 220px; object-fit: cover; display: block; background: var(--soft); }
.f-article-corps { padding: 16px 18px; }
.f-article h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; line-height: 1.3; }
.f-article h3 a { color: var(--ink); }
.f-article h3 a::after { content: ""; position: absolute; inset: 0; }
.f-article h3 a:hover { color: var(--accent); text-decoration: none; }
.f-article p { margin: 0 0 10px; color: #3d4752; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.f-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 13px; }
.f-meta .fa { margin-right: 4px; }

.f-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.f-albums-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f-album { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--surface);
	border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); transition: transform .15s, box-shadow .15s; }
.f-album:hover { transform: translateY(-2px); box-shadow: var(--shadow-fort); color: var(--ink); text-decoration: none; }
.f-album-image { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #f1f3f5, #dee2e6); display: grid; place-items: center; overflow: hidden; }
.f-album-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.f-album:hover .f-album-image img { transform: scale(1.04); }
.f-album-image .fa { font-size: 38px; color: #adb5bd; }
.f-album-corps { padding: 12px 14px 14px; }
.f-album-corps b { display: block; font-size: 15.5px; line-height: 1.3; overflow-wrap: anywhere; }
.f-theme { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
	background: rgba(17, 24, 39, .72); color: #fff; backdrop-filter: blur(4px); }

/* ---------- article : lecture ---------- */
.f-lecture { max-width: 740px; margin: 0 auto; }
.f-lecture-tete { margin: 8px 0 22px; }
.f-etiquettes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.f-etiquettes li { padding: 3px 10px; border-radius: 999px; background: var(--accent-pale); color: #a8400a; font-size: 12.5px; font-weight: 700; }
.f-lecture h1 { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; margin: 0 0 12px; overflow-wrap: anywhere; }
@media (min-width: 768px) { .f-lecture h1 { font-size: 42px; } }
.f-chapo { font-size: 19px; line-height: 1.55; color: #3d4752; margin: 0 0 18px; }
.f-auteur { display: flex; align-items: center; gap: 12px; }
.f-auteur .e-avatar { width: 46px; height: 46px; }
.f-auteur b { display: block; }
.f-auteur a { color: var(--ink); }
.f-auteur span { color: var(--muted); font-size: 14px; }
.f-lecture-couverture { margin: 0 0 26px; border-radius: 16px; overflow: hidden; background: var(--soft); }
.f-lecture-couverture img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.f-prose { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.8; color: #1f2933; overflow-wrap: break-word; }
.f-prose p { margin: 0 0 1.15em; }
.f-prose h2 { font-family: inherit; font-size: 26px; font-weight: 700; margin: 1.6em 0 .6em; line-height: 1.25; }
.f-prose h3 { font-family: inherit; font-size: 21px; font-weight: 700; margin: 1.4em 0 .5em; }
.f-prose ul { margin: 0 0 1.15em; padding-left: 1.3em; }
.f-prose li { margin: .3em 0; }
.f-prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.1em; border-left: 4px solid var(--accent); color: #3d4752; font-style: italic; font-size: 20px; }
.f-prose blockquote p { margin: 0; }
.f-prose a { color: var(--accent-fonce); text-decoration: underline; text-underline-offset: 3px; }
.f-barre-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0; padding: 14px 0;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.f-barre-actions .f-espace { flex: 1; }

/* ---------- boutons d'interaction ---------- */
.f-aimer { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px;
	border: 1px solid #cfd6de; background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; transition: all .15s; }
.f-aimer:hover { border-color: #e03131; color: #e03131; }
.f-aimer .fa { font-size: 17px; }
.f-aimer[aria-pressed=true] { background: #fff0f0; border-color: #ffa8a8; color: #e03131; }
.f-aimer[aria-pressed=true] .fa::before { content: "\f004"; }
.f-aimer.f-pulse .fa { animation: f-pulse .35s ease; }
@keyframes f-pulse { 50% { transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .f-aimer.f-pulse .fa { animation: none; } .f-album:hover, .f-membre:hover { transform: none; } }
.f-bouton-rond { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px;
	border: 1px solid #cfd6de; background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; }
.f-bouton-rond:hover { background: var(--soft); color: var(--ink); text-decoration: none; }
.f-lien-discret { background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.f-lien-discret:hover { color: var(--accent); text-decoration: underline; }

/* ---------- commentaires ---------- */
.f-reactions { margin-top: 10px; }
.f-reactions > h2 { font-size: 21px; font-weight: 800; margin: 0 0 14px; }
.f-com-form { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin: 0 0 22px; }
.f-com-form textarea { width: 100%; min-height: 84px; padding: 10px 12px; border: 1px solid #cfd6de; border-radius: 12px;
	font-size: 15px; line-height: 1.5; resize: vertical; background: #fff; }
.f-com-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232, 89, 12, .12); outline: none; }
.f-com-form .e-actions { justify-content: space-between; }
.f-com-form .f-compteur { font-size: 12.5px; color: var(--muted); }
.f-invite { padding: 16px; border-radius: 12px; background: var(--soft); color: #3d4752; margin: 0 0 20px; font-size: 14.5px; }
.f-fil { display: grid; gap: 4px; }
.f-com { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 12px 0; }
.f-com + .f-com { border-top: 1px solid var(--line); }
.f-com .e-avatar { width: 38px; height: 38px; font-size: 14px; }
.f-com-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.f-com-tete a { color: var(--ink); font-weight: 700; }
.f-com-tete time, .f-com-tete em { color: var(--muted); font-size: 12.5px; font-style: normal; }
.f-com-texte { margin: 4px 0 6px; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.55; color: #2b3540; }
.f-com-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.f-com-reponses { margin-top: 6px; padding-left: 14px; border-left: 2px solid var(--line); }
.f-com-reponses .f-com { padding: 10px 0; }
.f-com-reponses .e-avatar { width: 30px; height: 30px; font-size: 12px; }
.f-com-edition textarea { width: 100%; min-height: 70px; padding: 8px 10px; border: 1px solid #cfd6de; border-radius: 10px; font-size: 15px; }
.f-com-nouveau { animation: f-apparait .5s ease; }
@keyframes f-apparait { from { background: var(--accent-pale); } to { background: transparent; } }

/* ---------- galerie et visionneuse ---------- */
.f-galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 22px; }
@media (min-width: 600px) { .f-galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
@media (min-width: 992px) { .f-galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.f-galerie a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--soft); }
.f-galerie img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s, filter .3s; }
.f-galerie a:hover img { transform: scale(1.05); filter: brightness(.92); }
.f-galerie .f-galerie-info { position: absolute; left: 6px; bottom: 6px; display: flex; gap: 6px; }
.f-galerie .f-galerie-info span { padding: 2px 8px; border-radius: 999px; background: rgba(17, 24, 39, .7); color: #fff; font-size: 11.5px; font-weight: 700; }

.f-visionneuse { position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
	background: rgba(8, 10, 14, .96); color: #fff; }
.f-visionneuse[hidden] { display: none; }
@media (min-width: 992px) { .f-visionneuse { grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: minmax(0, 1fr); } }
.f-scene { position: relative; display: grid; place-items: center; min-height: 0; padding: 56px 12px 12px; }
@media (min-width: 768px) { .f-scene { padding: 56px 70px 24px; } }
.f-scene img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); user-select: none; }
.f-scene-compteur { position: absolute; top: 16px; left: 18px; font-size: 14px; font-weight: 700; opacity: .8; }
.f-v-bouton { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center;
	background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; cursor: pointer; transition: background .15s; }
.f-v-bouton:hover { background: rgba(255, 255, 255, .25); }
.f-v-fermer { top: 8px; right: 10px; }
.f-v-prec { left: 12px; top: 50%; transform: translateY(-50%); }
.f-v-suiv { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) { .f-v-prec, .f-v-suiv { top: auto; bottom: 14px; transform: none; } }
.f-panneau { background: #fff; color: var(--ink); overflow-y: auto; padding: 18px; max-height: 42vh; }
@media (min-width: 992px) { .f-panneau { max-height: none; } }
.f-panneau h2 { font-size: 17px; font-weight: 800; margin: 0 0 6px; overflow-wrap: anywhere; }
.f-panneau .f-barre-actions { margin: 12px 0 16px; padding: 10px 0; }

/* ---------- boite de dialogue (signalement) et notification ---------- */
.f-dialogue { width: min(480px, calc(100vw - 32px)); border: 0; border-radius: 16px; padding: 0; box-shadow: var(--shadow-fort); color: var(--ink); }
.f-dialogue::backdrop { background: rgba(17, 24, 39, .55); }
.f-dialogue form { padding: 22px; }
.f-dialogue h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.f-dialogue fieldset { border: 0; padding: 0; margin: 14px 0; display: grid; gap: 6px; }
.f-dialogue label.f-motif { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; margin: 0; }
.f-dialogue label.f-motif:has(input:checked) { border-color: var(--accent); background: var(--accent-pale); }
.f-dialogue input[type=radio] { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; }
.f-dialogue textarea { width: 100%; min-height: 70px; padding: 8px 10px; border: 1px solid #cfd6de; border-radius: 10px; }
.f-toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); z-index: 3000; max-width: calc(100vw - 32px);
	padding: 12px 18px; border-radius: 12px; background: #1f2933; color: #fff; font-weight: 600; box-shadow: var(--shadow-fort);
	opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.f-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- CV ---------- */
.f-cv { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; }
@media (min-width: 768px) { .f-cv { padding: 36px 42px; } }
.f-cv-tete { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding-bottom: 20px; border-bottom: 3px solid var(--accent); margin-bottom: 22px; }
.f-cv-tete .e-avatar { width: 84px; height: 84px; font-size: 30px; }
.f-cv-tete h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.f-cv-tete p { margin: 4px 0 0; font-size: 17px; color: #3d4752; font-weight: 600; }
.f-cv-tete ul { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.f-cv-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
@media (min-width: 768px) { .f-cv-grille { grid-template-columns: minmax(0, 1fr) 240px; } }
.f-cv h2 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-fonce); margin: 0 0 12px; }
.f-cv section + section { margin-top: 24px; }
.f-cv-element { position: relative; padding: 0 0 16px 18px; border-left: 2px solid var(--line); break-inside: avoid; }
.f-cv-element::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.f-cv-element:last-child { padding-bottom: 0; }
.f-cv-element h3 { margin: 0; font-size: 16.5px; font-weight: 800; }
.f-cv-element .f-cv-org { font-weight: 600; color: #3d4752; }
.f-cv-element .f-cv-dates { font-size: 13px; color: var(--muted); margin: 2px 0 6px; }
.f-cv-element p { margin: 0; white-space: pre-line; line-height: 1.55; color: #3d4752; font-size: 14.5px; }
.f-niveau { display: flex; gap: 3px; }
.f-niveau i { width: 16px; height: 6px; border-radius: 3px; background: var(--line); }
.f-niveau i.is-on { background: var(--accent); }
.f-competences { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-competences li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; break-inside: avoid; }
.f-langues { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.f-langues span { color: var(--muted); }

@media print {
	@page { margin: 14mm 14mm 16mm; }
	body, .content-wrapper, .wrapper { background: #fff !important; }
	.main-header, .main-footer, .site-evitement, .f-onglets, .f-hero, .f-pas-imprimer, .e-alerte, .f-toast, .f-bandeau { display: none !important; }
	.content-wrapper > .container { width: auto !important; padding: 0 !important; }
	.f-page { padding: 0; }
	.f-cv { border: 0; box-shadow: none; padding: 0; font-size: 10.5pt; }
	.f-cv-tete { border-bottom-width: 2px; }
	.f-cv-grille { grid-template-columns: minmax(0, 1fr) 55mm; gap: 8mm; }
	.f-cv-element::before, .f-niveau i.is-on { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.f-cv h2 { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.f-cv a { color: inherit; text-decoration: none; }
	.f-cv a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: #555; }
}

/* =====================================================================
   Espace membre : editeurs
   ===================================================================== */
.f-liste-cv { list-style: none; margin: 0; padding: 0; }
.f-liste-cv > li { border-top: 1px solid var(--line); padding: 12px 0; }
.f-liste-cv > li:first-child { border-top: 0; padding-top: 0; }
.f-ligne-cv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.f-ligne-cv b { display: block; overflow-wrap: anywhere; }
.f-ligne-cv small { color: var(--muted); }
.f-outils { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.f-outils form { display: inline; margin: 0; }
.f-icone { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid var(--line);
	background: #fff; color: #3d4752; cursor: pointer; }
.f-icone:hover { background: var(--soft); color: var(--ink); }
.f-icone[disabled] { opacity: .35; cursor: default; }
.f-icone-danger:hover { background: #fff5f5; color: var(--rouge); border-color: #ffc9c9; }
details.f-edition > summary { list-style: none; cursor: pointer; }
details.f-edition > summary::-webkit-details-marker { display: none; }
details.f-edition[open] > summary .f-icone { background: var(--accent-pale); color: var(--accent); border-color: #ffd8bf; }
.f-formulaire-plie { margin-top: 12px; padding: 16px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.f-ajout > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; color: var(--accent); padding: 6px 0; list-style: none; }
.f-ajout > summary::-webkit-details-marker { display: none; }
.f-etoiles { display: flex; gap: 6px; flex-wrap: wrap; }
.f-etoiles label { margin: 0; }
.f-etoiles input { position: absolute; opacity: 0; }
.f-etoiles span { display: inline-grid; place-items: center; min-width: 40px; height: 36px; padding: 0 10px; border: 1px solid #cfd6de;
	border-radius: 9px; font-weight: 700; cursor: pointer; background: #fff; font-size: 13px; }
.f-etoiles input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.f-etoiles input:focus-visible + span { outline: 3px solid rgba(232, 89, 12, .55); outline-offset: 2px; }

.f-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.f-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.f-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.f-table tr:last-child td { border-bottom: 0; }
.f-table .f-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.f-table-titre { display: flex; gap: 12px; align-items: center; min-width: 0; }
.f-table-titre img, .f-table-titre .f-vignette-vide { width: 64px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; background: var(--soft); display: grid; place-items: center; color: #adb5bd; }
.f-table-titre b { display: block; overflow-wrap: anywhere; }
@media (max-width: 700px) {
	.f-table thead { display: none; }
	.f-table, .f-table tbody, .f-table tr, .f-table td { display: block; width: 100%; }
	.f-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.f-table td { border: 0; padding: 3px 0; text-align: left !important; }
	.f-table td[data-libelle]::before { content: attr(data-libelle) " : "; color: var(--muted); font-size: 12.5px; }
}

.f-editeur { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1200px) { .f-editeur { grid-template-columns: minmax(0, 1fr) 300px; } }
.f-titre-saisie { width: 100%; border: 0; border-bottom: 2px solid var(--line); font-size: 26px; font-weight: 800; padding: 6px 0 10px; outline: none; background: transparent; }
.f-titre-saisie:focus { border-color: var(--accent); }
.f-barre-outils { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border: 1px solid #cfd6de; border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--soft); }
.f-barre-outils button { min-width: 36px; height: 34px; border: 0; border-radius: 7px; background: transparent; color: #3d4752; font-weight: 700; cursor: pointer; }
.f-barre-outils button:hover { background: #fff; color: var(--ink); }
.f-barre-outils .f-sep { width: 1px; background: #cfd6de; margin: 4px 4px; }
.f-barre-outils .f-bascule { margin-left: auto; display: flex; gap: 2px; background: #e9ecef; border-radius: 8px; padding: 2px; }
.f-barre-outils .f-bascule button[aria-pressed=true] { background: #fff; color: var(--accent); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.f-editeur .e-champ textarea.f-zone { border-radius: 0 0 10px 10px; min-height: 420px; font-family: Consolas, Menlo, monospace; font-size: 14.5px; line-height: 1.65; }
.f-apercu { min-height: 420px; padding: 18px 20px; border: 1px solid #cfd6de; border-radius: 0 0 10px 10px; background: #fff; }
.f-apercu.f-prose { font-size: 17px; }
.f-aide-balisage { font-size: 13px; color: var(--muted); line-height: 1.6; }
.f-aide-balisage code { background: var(--soft); padding: 1px 5px; border-radius: 5px; color: var(--ink); }
.f-statistiques { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.f-depot { display: grid; place-items: center; text-align: center; padding: 26px 16px; border: 2px dashed #cfd6de; border-radius: 14px;
	background: var(--soft); transition: border-color .15s, background .15s; cursor: pointer; }
.f-depot.is-survol { border-color: var(--accent); background: var(--accent-pale); }
.f-depot .fa { font-size: 30px; color: var(--accent); margin-bottom: 6px; }
.f-depot input[type=file] { max-width: 100%; margin-top: 10px; }
.f-progression { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: 13.5px; }
.f-progression li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.f-progression li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-progression .f-barre { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.f-progression .f-barre i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.f-progression .is-erreur { color: var(--rouge); }
.f-progression .is-ok { color: var(--vert); }

.f-photos-gestion { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.f-photo-carte { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.f-photo-carte.is-couverture { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-pale); }
.f-photo-image { position: relative; aspect-ratio: 4 / 3; background: var(--soft); }
.f-photo-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.f-photo-image .e-case { position: absolute; top: 6px; left: 6px; margin: 0; padding: 4px; background: rgba(255, 255, 255, .9); border-radius: 7px; }
.f-photo-image .e-badge { position: absolute; top: 8px; right: 8px; }
.f-photo-carte input[type=text] { width: 100%; border: 0; border-top: 1px solid var(--line); padding: 9px 10px; font-size: 13.5px; outline: none; }
.f-photo-carte input[type=text]:focus { background: var(--accent-pale); }
.f-photo-carte .f-outils { justify-content: space-between; padding: 6px; border-top: 1px solid var(--line); }
.f-barre-collante { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between;
	padding: 10px 12px; margin-top: 14px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }

.f-filtres { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.f-filtres a.e-btn-clair[aria-current=page] { border-color: var(--accent); color: #a8400a; background: var(--accent-pale); }
.f-filtres select { min-height: 34px; border: 1px solid #cfd6de; border-radius: 8px; padding: 0 10px; max-width: 100%; }
.f-modo { list-style: none; margin: 0; padding: 0; }
.f-modo > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.f-modo > li:first-child { border-top: 0; }
.f-modo .e-case { margin: 2px 0 0; }
.f-modo-tete { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 14px; }
.f-modo-texte { margin: 6px 0 8px; white-space: pre-line; overflow-wrap: anywhere; color: #2b3540; }
.f-modo-cible { font-size: 13px; color: var(--muted); }
.f-contenus { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow-y: auto; }
.f-contenus li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.f-contenus li:first-child { border-top: 0; }
.f-contenus b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-contenus form { margin: 0; }
