/* FALIA R20 : formulaires de profil et déconnexion visible. */
.fi-header-logout{margin:0;flex-shrink:0}
.fi-header-logout button,.fi-account-nav .fi-logout-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border:1px solid #ac301b;border-radius:11px;background:#fff2ee;color:#862312;font-family:inherit;font-weight:800;font-size:13px;line-height:1.2;white-space:nowrap;cursor:pointer}
.fi-header-logout button:hover,.fi-account-nav .fi-logout-button:hover{background:#862312;color:#fff}
.fi-header-logout button:focus-visible,.fi-social-editor button:focus-visible{outline:3px solid #2458ca;outline-offset:3px}
.fi-social-section{margin-top:28px;padding-top:20px;border-top:1px solid var(--line,#e8e2dc)}
.fi-social-editor{min-width:0;margin:0 0 18px;padding:18px;border:1px solid var(--line,#e8e2dc);border-radius:14px}
.fi-social-editor legend{padding:0 7px;font-weight:800;color:#313131}
.fi-social-editor input[readonly]{background:#f5f3f0;color:#56504b}
.fi-social-row-controls{display:flex;align-items:end}
.fi-profile-save{margin-top:25px;padding-top:20px;border-top:1px solid var(--line,#e8e2dc)}
.fi-profile-current-photo .fi-avatar{width:88px;height:88px;object-fit:cover;border-radius:16px}
.fi-r20-message{margin:0 0 22px;padding:16px;border-radius:12px;background:#e7f4eb;color:#174d2c;font-weight:700}
.fi-r20-message.is-error{background:#fff1e9;color:#872815;border:1px solid #d47759}
.fi-r20-message[hidden],[data-r20-add][hidden]{display:none}
#fi-profile-editor select,#fi-profile-editor input,#fi-profile-editor textarea{max-width:100%;min-width:0}
#fi-profile-editor button[disabled]{opacity:.6;cursor:wait}
@media(min-width:1081px) and (max-width:1400px){.fi-header{gap:14px;padding-left:20px;padding-right:20px}.fi-header .fi-nav{gap:14px}.fi-header .fi-header-actions{gap:9px}.fi-header .fi-brand{gap:6px}.fi-header-logout button{padding:10px;font-size:12px}}
@media(max-width:1080px){.fi-header{gap:12px}.fi-header-actions{order:1}.fi-header-logout{order:2}.fi-header .fi-menu-toggle{order:3}}
@media(max-width:760px){.fi-header{height:auto;min-height:72px;padding:12px;gap:8px}.fi-header .fi-brand{gap:7px;margin-right:auto;flex-shrink:0}.fi-header .fi-brand-mark{display:grid;width:34px;height:34px;font-size:16px}.fi-header .fi-header-actions{margin-left:0;gap:0}.fi-header.fi-signed-in .fi-header-actions>.fi-button{display:none}.fi-header-logout button{padding:9px 10px;font-size:12px}.fi-header .fi-menu-toggle{padding:8px;min-width:44px}.fi-header .fi-nav{top:100%}.fi-social-editor{padding:14px 12px}.fi-profile-save>.fi-button{width:100%}}
@media(max-width:360px){.fi-header{gap:6px;padding-left:8px;padding-right:8px}.fi-header-logout button{padding:9px 8px}}
@media print{.fi-header-logout{display:none}}
