/* Espace formateur — complète plaquette.css et espace.css */
.sfc-fm .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.sfc-fm .fm-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin-top:22px}
.sfc-fm .fm-tabs a{padding:12px 0;color:var(--muted);text-decoration:none;font-weight:bold;border-bottom:3px solid transparent;margin-bottom:-1px}
.sfc-fm .fm-tabs a:hover{color:var(--ink)}
.sfc-fm .fm-tabs a[aria-current]{color:var(--navy);border-bottom-color:var(--orange)}
.sfc-fm .fm-msg{margin:16px 0 0}
.sfc-fm .notice-err.fm-msg{background:#fdecea;color:var(--err);border-radius:var(--r);padding:10px 14px}

.sfc-fm .fm-bar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:6px}
.sfc-fm .fm-k{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:8px 14px;font-size:14px}
.sfc-fm .fm-k b{color:var(--navy);font-size:18px;margin-right:4px}
.sfc-fm .fm-search{flex:1;min-width:200px}
.sfc-fm .fm-search input{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r);font:inherit;background:var(--surface)}
.sfc-fm .fm-dom{font-size:15px;color:var(--muted);margin:22px 0 8px;font-family:var(--font-body);font-weight:bold}
.sfc-fm .fm-list{display:grid;gap:8px}
.sfc-fm .fm-row{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:10px 14px}
.sfc-fm .fm-row.is-on{border-color:var(--orange)}
.sfc-fm .fm-t{flex:1;min-width:220px;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}
.sfc-fm .fm-t a{color:var(--ink);text-decoration:none;font-weight:bold}
.sfc-fm .fm-t a:hover{text-decoration:underline}
.sfc-fm .fm-ref{font-size:12px;color:var(--muted);font-family:Consolas,"Courier New",monospace}
.sfc-fm .fm-st{font-size:12px;padding:2px 9px;border-radius:999px;white-space:nowrap}
.sfc-fm .fm-st.ok{background:#e3f3ea;color:var(--ok)}
.sfc-fm .fm-st.wait{background:#fff1df;color:var(--orange-ink)}
.sfc-fm .fm-st.ko{background:var(--tint);color:var(--muted)}
.sfc-fm .fm-lv{display:flex;gap:6px;border:0;margin:0;padding:0;flex-wrap:wrap}
.sfc-fm .fm-lv label,.sfc-fm .fm-seg label{position:relative;cursor:pointer}
.sfc-fm .fm-lv input,.sfc-fm .fm-seg input{position:absolute;opacity:0;width:1px;height:1px}
.sfc-fm .fm-lv span,.sfc-fm .fm-seg span{display:inline-block;padding:6px 12px;border:1px solid var(--line);border-radius:999px;font-size:13px;color:var(--muted);background:var(--surface);white-space:nowrap}
.sfc-fm .fm-lv label:hover span,.sfc-fm .fm-seg label:hover span{border-color:var(--navy);color:var(--ink)}
.sfc-fm .fm-lv input:checked+span,.sfc-fm .fm-seg input:checked+span{background:var(--orange);border-color:var(--orange);color:#1a0f00;font-weight:bold}
.sfc-fm .fm-lv .fm-none input:checked+span{background:var(--tint);border-color:var(--line);color:var(--muted);font-weight:normal}
.sfc-fm .fm-lv input:focus-visible+span,.sfc-fm .fm-seg input:focus-visible+span{outline:3px solid var(--orange);outline-offset:2px}
.sfc-fm .fm-save{position:sticky;bottom:0;z-index:5;display:flex;gap:14px;align-items:center;justify-content:flex-end;flex-wrap:wrap;background:var(--bg);padding:14px 0;margin-top:14px;border-top:1px solid var(--line)}
.sfc-fm .fm-save #fm-dirty{color:var(--orange-ink);font-size:14px}
.sfc-fm .fm-save .submit{margin:0}

.sfc-fm .fm-profil{display:grid;gap:16px}
.sfc-fm .fm-blk{margin:0}
.sfc-fm .fm-bh{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.sfc-fm .fm-bh h2{font-size:18px;margin:0}
.sfc-fm .fm-tag{font-size:12px;padding:3px 10px;border-radius:999px;background:var(--tint);color:var(--muted)}
.sfc-fm .fm-pub{display:flex;gap:20px;flex-wrap:wrap;align-items:flex-start}
.sfc-fm .fm-photo{display:grid;gap:8px;justify-items:center;width:130px}
.sfc-fm .fm-photo img,.sfc-fm .fm-ph{width:96px;height:96px;border-radius:50%;object-fit:cover}
.sfc-fm .fm-ph{display:flex;align-items:center;justify-content:center;background:var(--navy);color:#fff;font-weight:bold;font-size:26px}
.sfc-fm .fm-file{position:relative;cursor:pointer}
.sfc-fm .fm-file input{position:absolute;opacity:0;inset:0;width:100%;cursor:pointer}
.sfc-fm .fm-file span{display:inline-block;font-size:13px;color:var(--orange-ink);text-decoration:underline}
.sfc-fm .fm-g{flex:1;min-width:240px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.sfc-fm .fm-g .fm-full{grid-column:1/-1}
.sfc-fm .fm-g3{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-bottom:6px}
.sfc-fm .field{display:grid;gap:5px}
.sfc-fm .field label{font-size:13px;font-weight:bold;color:var(--ink)}
.sfc-fm .field label small{font-weight:normal;color:var(--muted)}
.sfc-fm .field input[type=text],.sfc-fm .field input[type=email],.sfc-fm .field input[type=tel],.sfc-fm .field input[type=date],.sfc-fm .field select,.sfc-fm .field textarea,.sfc-fm .fm-g3 input,.sfc-fm .fm-inl input{width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:8px;font:inherit;background:#fff;color:var(--ink)}
.sfc-fm .field input[type=file]{font-size:13px;max-width:100%}
.sfc-fm .fm-cnt{font-size:12px;color:var(--muted);text-align:right}
.sfc-fm .fm-sw{display:grid;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.sfc-fm .fm-sw label{display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-size:14px}
.sfc-fm .fm-sw input{width:18px;height:18px;accent-color:var(--orange);margin-top:2px;flex:none}
.sfc-fm .fm-small{font-size:13px}
.sfc-fm .fm-seg{display:flex;gap:6px}
.sfc-fm .fm-docs{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:0}
.sfc-fm .fm-docs li{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--line)}
.sfc-fm .fm-docs li:first-child{border-top:1px solid var(--line)}
.sfc-fm .fm-dn{flex:1;min-width:200px}
.sfc-fm .fm-dn small{display:block;color:var(--muted);font-size:12px}
.sfc-fm .fm-exp{color:var(--err);font-style:normal;font-weight:bold}
.sfc-fm .fm-link{background:none;border:0;padding:0;color:var(--err);text-decoration:underline;cursor:pointer;font:inherit;font-size:14px}
.sfc-fm .fm-up{display:grid;gap:14px}
.sfc-fm .fm-up .fm-st-only{display:grid;gap:14px}
.sfc-fm .fm-up .fm-st-only[hidden],.sfc-fm [hidden]{display:none!important}
.sfc-fm .fm-inl{display:flex;gap:8px;align-items:center;max-width:320px}
.sfc-fm .fm-inl small{white-space:nowrap;color:var(--muted)}
@media (max-width:640px){
	.sfc-fm .fm-tabs{gap:18px}
	.sfc-fm .fm-row{align-items:flex-start}
	.sfc-fm .fm-photo{width:100%;justify-items:start;grid-template-columns:auto 1fr;align-items:center}
	.sfc-fm .fm-save{justify-content:stretch}
	.sfc-fm .fm-save .submit{width:100%}
}
