/* ForsaDZ v1.14.4 : pages React vues sur téléphone (espace candidat + éditeur de CV) */
@media (max-width:767px){
 .fx-lg{display:none}.fx-sh{display:inline}
 /* --- navigation de l'espace candidat : tuiles qui tiennent à l'écran --- */
 .fx-cand-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px!important;overflow:visible!important;padding:8px!important}
 .fx-cand-nav>button{flex-direction:column!important;gap:2px!important;padding:8px 2px!important;text-align:center!important;justify-content:center;font-size:11px!important;line-height:1.15;min-width:0;position:relative}
 .fx-cand-nav>button>span:nth-child(2){flex:none!important;white-space:normal!important}
 .fx-cand-nav>button>span:nth-child(n+3){position:absolute;top:2px;right:4px;padding:0 6px!important;font-size:9px!important}
 .fx-cand-nav>button>span:first-child{font-size:20px!important;line-height:1}
 .fx-cand-card{padding:10px 12px!important}
 [class*="fx-tab-"]:not(.fx-tab-home) .fx-cand-card{display:none}
 /* page « Mon CV » : deux boutons seulement, l'éditeur vient tout de suite */
 .fx-tab-cv .fx-cand-nav{grid-template-columns:1fr 1fr}
 .fx-tab-cv .fx-cand-nav>button:nth-child(n+3){display:none}
 .fx-tab-cv .fx-cand-nav>button{flex-direction:row!important;padding:10px 6px!important;font-size:13px!important}
 .fx-tab-cv{padding-top:8px!important}
 /* --- éditeur de CV --- */
 .fx-ed-flex{display:flex;flex-direction:column;gap:8px}
 .fx-ed-own{order:20;margin:12px 0 0!important}
 .fx-ed-head{display:none!important}
 .fx-ed-sec{padding:6px 0 0!important;background:transparent!important;border:0!important}
 .fx-ed-in{display:flex;flex-direction:column;gap:8px;padding-left:0!important;padding-right:0!important}
 .fx-ed-in>*{margin-bottom:0!important}
 .fx-ed-imp{order:-1;padding:8px 10px!important;display:flex;flex-direction:row!important;align-items:center;gap:8px;flex-wrap:wrap}
 .fx-ed-imp .fx-imp-d{display:none}
 .fx-ed-imp>div:first-child{flex:1 1 140px;min-width:0}
 .fx-ed-imp .text-xl{font-size:16px!important}
 .fx-ed-en{order:30;margin-top:12px}
 /* choix Éditer / Audit mis en avant */
 .fx-ed-tabs{padding:8px!important;gap:8px!important;background:#ecfdf5!important}
 .fx-ed-tabs>button{padding:13px 4px!important;font-size:14px!important;font-weight:800!important;border-radius:12px!important;border:1.5px solid #a7f3d0!important;background:#fff!important;color:#065f46!important}
 .fx-ed-tabs>button.bg-white{background:#059669!important;border-color:#059669!important;color:#fff!important;box-shadow:0 4px 12px rgba(5,150,105,.28)!important}
 .fx-ed-tabs>button.bg-white svg{color:#fff!important}
 /* conseils compacts */
 .fx-tip-p{display:none!important}
 .fx-tip-s{padding:8px 10px!important;gap:6px!important;font-size:11px}
 .fx-tip-s p{min-width:0!important;flex:1 1 100%!important}
}
@media (max-width:767px){
 .fx-tplbox{width:100%;flex-direction:column;align-items:stretch!important}
 .fx-tplrow{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px!important;padding:4px!important;overflow:visible!important}
 .fx-tplrow>button{padding:6px 2px!important;font-size:10.5px!important;line-height:1.1;min-width:0;border:1.5px solid transparent}
 .fx-tplrow>button.bg-white{border-color:#059669;background:#ecfdf5!important}
 .fx-tp{display:flex!important;flex-direction:column;align-items:center;gap:2px;font-weight:800}
 .fx-tp i{font-style:normal;font-size:15px}
}

.fx-cand-nav{display:none!important}
.fx-menu-back{display:inline-flex!important;align-items:center;gap:4px;border:0;background:#fff;color:#065f46;font:800 13px 'Outfit',system-ui,sans-serif;padding:9px 14px;border-radius:999px;box-shadow:0 2px 10px rgba(21,26,44,.08);cursor:pointer;margin:2px 0 6px}

/* v1.14.7 : sous-pages candidat : en-tete allege ("‹ Menu" + logo a droite) */
@media (max-width:767px){
body:has(.fx-topbar) header.sticky{display:none!important}
.fx-topbar{display:flex!important;align-items:center;justify-content:space-between;margin:0 0 6px;padding:2px 2px 0}
.fx-topbar .fx-menu-back{padding:7px 13px;font-size:13px;margin:0;box-shadow:0 2px 8px rgba(21,26,44,.08)}
.fx-toplogo .fr-wm{font-size:22px!important}
body:has(.fx-topbar) h1{font-size:22px!important;line-height:1.2!important;margin:6px 0!important}
body:has(.fx-topbar) h1+p{font-size:13px!important;line-height:1.4!important;margin:0 0 8px!important}
.fx-ed-tabs>button,.fx-ed-tabs>a{min-height:54px!important;font-size:16px!important}
}
@media (max-width:767px){
.fx-ed-in>.grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px!important;align-items:flex-start;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain}
.fx-ed-in>.grid::-webkit-scrollbar{display:none}
.fx-ed-in>.grid>*{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.fx-ed-in div.p-5.space-y-6{max-height:none!important;overflow:visible!important;padding:12px!important}
.fx-acc{border:1px solid #e2e8f0;border-radius:16px;background:#fff;padding:0!important;overflow:hidden;margin-top:10px!important}
.fx-acc-h{display:flex!important;align-items:center;gap:8px;padding:14px 16px;cursor:pointer;border:0!important;margin:0!important;min-height:52px}
.fx-acc-h h3,.fx-acc-h label{font:800 12px/1.25 system-ui!important;text-transform:uppercase;letter-spacing:.06em;color:#1e293b;margin:0!important;flex:1}.fx-acc-h button{white-space:nowrap;flex:none}.fx-acc-h>span,.fx-acc-h .tabular-nums{white-space:nowrap}.fx-back{width:100%;min-height:54px;border:1.5px solid #a7f3d0;background:#fff;color:#065f46;border-radius:12px;font:800 14px system-ui;margin-bottom:12px}
.fx-acc-h::after{content:attr(data-st) "  ⌄";font:700 11px system-ui;text-transform:none;letter-spacing:0;color:#065f46;background:#ecfdf5;border-radius:99px;padding:5px 10px;white-space:nowrap;margin-left:auto}
.fx-acc.open>.fx-acc-h::after{content:attr(data-st) "  ⌃"}
.fx-acc:not(.open)>*:not(:first-child){display:none!important}
.fx-acc.open>*:not(:first-child){margin-left:14px;margin-right:14px}
.fx-acc.open>*:last-child{margin-bottom:14px}
.fx-acc-sub{padding:0!important;overflow:hidden}
.fx-acc-sh{padding:12px 14px;cursor:pointer;align-items:center;gap:10px!important}
.fx-acc-sh::after{content:attr(data-sum) "  ⌄";font:600 11px system-ui;color:#64748b;margin-left:auto;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-acc-sub.open>.fx-acc-sh::after{content:"⌃"}
.fx-acc-sub:not(.open)>*:not(:first-child){display:none!important}
.fx-acc-sub.open>*:not(:first-child){margin:0 12px 12px}
.fx-ed-tabs{display:flex}
.fx-ed-tabs>button{font-size:13.5px!important;padding:13px 2px!important}
.fx-ed-tabs>button svg{display:none!important}
.fx-ed-tabs>.fx-prev{border:1.5px solid #a7f3d0!important;background:#fff!important;color:#065f46!important;border-radius:12px!important;font-weight:800!important;min-height:54px}
.fx-ed-tabs>.fx-prev.bg-white{background:#059669!important;border-color:#059669!important;color:#fff!important;box-shadow:0 4px 12px rgba(5,150,105,.28)!important}
.fx-ed-tabs.fx-pg2>button.bg-white:not(.fx-prev){background:#fff!important;border-color:#a7f3d0!important;color:#065f46!important;box-shadow:none!important}
}
@media (max-width:767px){
.fx-lhead{margin-bottom:10px!important}
.fx-lhead>span{font-size:11px!important;padding:3px 10px!important}
.fx-lhead>h2{font-size:19px!important;line-height:1.2!important;margin-top:8px!important}
.fx-lhead>p{font-size:12px!important;margin-top:4px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fx-lt{border-radius:16px;margin-bottom:10px}
.fx-lgrid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px!important;align-items:flex-start;scrollbar-width:none;overscroll-behavior-x:contain}
.fx-lgrid::-webkit-scrollbar{display:none}
.fx-lgrid>*{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
}
