.member { width: min(100% - 40px, 480px); margin: 56px auto; }
.member h1 { font-size: clamp(38px, 7vw, 54px); font-weight: 800; line-height: 1.2; }
.member h2 { font-weight: 700; }
.member p { max-width: var(--text-max, 740px); line-height: 1.65; }
.member form:not([hidden]) { display: grid; gap: 18px; }
.member label { display: grid; gap: 5px; font-weight: 600; }
.member input { box-sizing: border-box; font: inherit; min-height: 48px; padding: 12px; color: var(--text); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.member button { font: inherit; font-weight: 600; cursor: pointer; }
.member .button { justify-content: center; border: 0; }
.switch { background: transparent; color: var(--navy); border: 0; text-decoration: underline; }
#status { min-height: 1.6em; }
.member [hidden] { display: none !important; }
.member :is(form, label, input, button, .password-field) { min-width: 0; max-width: 100%; }
.member form:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
.member input { width: 100%; }
.member button, .member .button { min-height: 48px; }
.member #status, .member #verification { overflow-wrap: anywhere; }
.strength-label { flex-wrap: wrap; }
@media (max-width: 520px), (orientation: landscape) and (max-height: 480px) {
  .member { width: min(calc(100% - 40px), 480px); margin-block: 28px 42px; }
  .member h1 { font-size: clamp(32px, 8vw, 42px); overflow-wrap: anywhere; }
}
.password-field { min-width:0; padding:0; border:0; background:none; box-shadow:none; }
.member :is(#auth,#action) :is(input[type=email],.ob-password-input) { height:52px; min-height:52px; font:inherit; font-size:16px; line-height:1.5; letter-spacing:normal; }
.member .password-confirmation-error { margin:-10px 0 0; color:#992e3b; font-size:.875rem; line-height:1.5; }
#password-feedback { margin-top: 14px; font-size: 1rem; }
.strength-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
#strength-meter { margin: 6px 0 8px; height: 6px; border-radius: 8px; overflow: hidden; background: #c9d7e1; }
#strength-meter span {
  display: block; height: 100%; border-radius: inherit;
  background: #a13c35; transform-origin: left; transform: scaleX(var(--strength, 0));
  transition: transform .22s ease-out, background-color .22s ease-out;
}
#strength-meter[aria-valuenow="2"] span { background: #93620b; }
#strength-meter[aria-valuenow="3"] span { background: #237267; }
#strength-meter[aria-valuenow="4"] span { background: #18633b; }
#strength-hint { margin: 0; line-height: 1.65; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { #strength-meter span { transition: none; } }
@media (forced-colors: active) {
  #strength-meter { border: 1px solid CanvasText; }
  #strength-meter span { background: Highlight; forced-color-adjust: none; }
}
.member :is(textarea,select) { width:100%; min-width:0; font:inherit; color:inherit; padding:12px; border:1px solid var(--line); border-radius: 8px; background: var(--surface); }
.member textarea { resize:vertical; }
.profile-field { display:grid; gap:4px; }
.member .visibility { display:inline-flex; align-items:center; gap:8px; min-height:40px; width:fit-content; color:var(--muted); font-size: 1rem; }
.member .visibility input { width:18px; height:18px; }
#photo-preview,.portrait { border-radius:50%; object-fit:cover; }
.profile-portrait { position:relative; width:96px; height:96px; border-radius:50%; overflow:hidden; background:var(--pale,#e4eff8); }
.profile-portrait img, .profile-portrait #avatar-initial, .profile-portrait .ob-avatar { position:absolute; inset:0; width:100%; height:100%; }
.profile-portrait .ob-avatar { font-size:36px; }
#photo-review { margin:4px 0; color:var(--muted); font-size: 1rem; }
.profile-guide { color:var(--muted); }
.public-fields { margin-block:24px; display:grid; row-gap:0; }
.public-fields dt { font-weight:bold; margin-top:12px; }
.public-fields dd { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.member #save-feedback { margin:0; padding:.65rem .9rem; border-radius:8px; background:var(--surface); color:var(--text); }
.member #save-feedback:empty { margin:0; padding:0; height:0; }
.member #save-feedback[data-state="saved"] { background:#e6f5ec; color:#15592f; font-weight: 600; }
.member #save-feedback[data-state="error"] { background:#fff0ed; color:#852e21; }
.member .visibility { padding:0 12px; min-height:48px; border:1px solid var(--line); border-radius:8px; cursor:pointer; }
.member .visibility:has(:checked) { background:var(--selected); border-color:var(--line); color:var(--text); }
.member .visibility input { min-height:18px; accent-color:var(--brand); }
#archive-open { min-height:48px; margin-block-start:12px; background:transparent; border:0; color:#983549; text-decoration:underline; cursor:pointer; }
#archive-dialog { width:min(440px,calc(100% - 32px)); max-height:85dvh; padding:24px; border:1px solid var(--line); border-radius: 10px; color:var(--navy); }
#archive-dialog::backdrop { background:#102a4375; }
#mfa-dialog,#phone-dialog { width:min(440px,calc(100% - 32px)); max-height:85dvh; overflow:auto; padding:20px; border:1px solid var(--line); border-radius: 10px; color:var(--navy); }
#email-change-dialog,#export-dialog { width:min(440px,calc(100% - 32px)); max-height:85dvh; overflow:auto; padding:20px; border:1px solid var(--line); border-radius: 10px; color:var(--navy); }
#mfa-dialog::backdrop,#email-change-dialog::backdrop,#export-dialog::backdrop,#phone-dialog::backdrop { background:#102a4375; }
#mfa-dialog h2,#mfa-dialog p { margin:0; }
#mfa-dialog input[name="secret"],#mfa-recovery { font-family:var(--body); font-variant-numeric:tabular-nums; }
#mfa-recovery { list-style:none; padding:0; margin:0; display:grid; gap:6px; user-select:all; }
#mfa-status:empty { display:none; }
#archive-form { display:grid; gap:12px; }
#archive-form h2 { font-size:1.55rem; }
#archive-form p { margin:0; }
#archive-confirm { width:100%; padding:10px; font:inherit; }
.archive-actions { display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
.archive-actions button { min-height:48px; padding:8px 14px; font:inherit; border:1px solid var(--line); border-radius:8px; cursor:pointer; }
#archive-submit { background:#922b42; color:white; }
#archive-submit:disabled { background:#e6e8eb; color:#515b66; cursor:default; }
.member .profile-field {
  border-top:1px solid var(--line); padding-block:16px 6px; gap:8px; min-width:0;
}
.member .profile-field > label:first-child { font-weight:700; }
.member .profile-field .visibility { width:100%; box-sizing:border-box; line-height:1.35; padding:7px 12px; }
.member .visibility .visibility-state { margin-inline-start:auto; font-weight:700; }
.member #status:empty { display:none; }
.member #auth,.member #action,.member-intro { padding:clamp(16px,4vw,28px); border:1px solid var(--line); border-radius: 10px; background: var(--surface); }
.member .access-links { display:flex; justify-content:space-between; gap:4px 12px; flex-wrap:wrap; }
.member .access-links .switch { text-align:start; padding:4px 0; }
#registration-check { min-width:0; }
#check-title { margin:0 0 8px; font-size:1rem; }
#check-status { margin:6px 0 0; font-size: 1rem; }
#check-retry { padding:0; }
/* Le formulaire organise les cartes ; il ne constitue pas une quatrième carte. */
.member:has(#profile:not([hidden])) { --profile-radius:20px; --profile-inset:20px; }
.member:has(#profile:not([hidden])) { container:profile-layout / inline-size; }
.member:has(#profile:not([hidden])) > h1 { margin:0 0 10px; font-size:clamp(30px,5vw,42px); }
.member #profile { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.member #profile:not([hidden]) { gap:20px; }
.member #profile > :is(#public-preview,.profile-editor,.account-panel) {
  min-width:0; margin:0; padding:var(--profile-inset); border:1px solid var(--ob-glass-border,var(--line));
  border-radius:var(--profile-radius); background:var(--ob-glass,var(--surface));
}
.member #profile h2,.public-member #details h2 { margin:0; font-size:1.3rem; line-height:1.35; }
.member #profile .profile-guide { margin:8px 0 20px; color:#415d76; font-size:.9375rem; line-height:1.65; }
.member #public-preview { align-self:start; scroll-margin-top:20px; overflow-wrap:anywhere; }
.member #preview-state { margin:7px 0 18px; color:#48647b; font-size:.875rem; line-height:1.5; }
.member .preview-heading {
  display:flex; align-items:center; gap:14px; padding:18px; border:1px solid #c6e7f22b; border-radius:14px;
  background:linear-gradient(125deg,#102e4d,#1c5274); color:white; box-shadow:inset 0 1px #ffffff16;
}
.member #preview-name { min-width:0; font-size:1.15rem; font-weight:800; line-height:1.4; overflow-wrap:anywhere; }
.member #preview-avatar { position:relative; display:inline-flex; flex:none; width:64px; height:64px; border:3px solid #e4f4ff; border-radius:50%; background:#d5e9f8; box-shadow:0 4px 12px #04192c40; }
.member #preview-avatar .ob-avatar,.member #preview-avatar img { position:absolute; inset:0; width:100%; height:100%; border-radius:50%; object-fit:cover; font-size:1.4rem; }
.member #preview-info { margin:16px 0 0; padding:0; border:0; }
.member #preview-info > summary { padding:8px 0; }
.member #preview-fields { margin:2px 0 0; padding-bottom:4px; }
.member #preview-fields dt { margin-top:12px; color:#567187; font-size:.8125rem; }
.member #preview-fields dd { margin-top:3px; color:#153950; font-size:.9375rem; line-height:1.6; }
.member #preview-phone { padding:12px; margin:16px 0 0; border:1px solid #b8cede; border-radius:12px; background:#dcecf6b3; color:#3d5c74; font-size:.875rem; line-height:1.6; }
.member #public-preview > a { margin-top:18px; width:100%; }
.member #profile .profile-editor .profile-group { margin:0 0 12px; padding:0; border:1px solid #b3c8d9; border-radius:14px; background:#f4f9fcbf; }
.member #profile :is(.profile-group,#preview-info) > summary {
  display:flex; align-items:center; gap:12px; min-height:54px; box-sizing:border-box;
  list-style:none; cursor:pointer; font-size:.9375rem; line-height:1.45; font-weight:700;
}
.member #profile :is(.profile-group,#preview-info) > summary::-webkit-details-marker { display:none; }
.member #profile :is(.profile-group,#preview-info) > summary::after {
  content:""; flex:0 0 7px; width:7px; height:7px; margin-left:auto; margin-right:3px;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translateY(-2px);
}
.member #profile :is(.profile-group,#preview-info)[open] > summary::after { transform:rotate(225deg) translate(-1px,-1px); }
.member #profile .profile-editor .profile-group > summary { padding:14px 15px; color:#173e5d; }
.member #profile .profile-editor .profile-group[open] > summary { border-bottom:1px solid #ccdae5; }
.member #profile .group-content { display:grid; gap:12px; padding:4px 15px 16px; }
.member #profile .profile-field { min-width:0; border-top:0; padding:12px 0 0; gap:9px; }
.member #profile .profile-field + .profile-field { padding-top:16px; border-top:1px solid #d0dfe9; }
.member #profile .profile-field > label:first-child { font-size:.9375rem; }
.member #profile .profile-field :is(input:not([type="checkbox"]),textarea,select) { font-size:16px; }
.member #profile .profile-field small,.member #profile #photo-review { font-size:.8125rem; line-height:1.6; color:#415d76; }
.member #profile .profile-field .visibility { width:100%; padding:10px 12px; border-color:#bfd1df; border-radius:12px; font-size:.875rem; }
.member #profile .edit-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:10px; margin:20px 0 0; }
.member #profile .edit-actions > :is(a,button),.member #public-preview > a {
  display:flex; align-items:center; justify-content:center; min-width:0; min-height:50px; box-sizing:border-box; padding:11px 13px;
  border:1px solid #9cbcd4; border-radius:12px; background:#e6f1f9a6; color:#164f7b; font-size:.875rem; font-weight:700;
  line-height:1.45; text-align:center; text-decoration:none; overflow-wrap:anywhere;
}
.member #profile .edit-actions > .button { border-color:#0e61c3; background:linear-gradient(140deg,#1b70d0,#0d57bb); color:white; box-shadow:0 5px 12px #115baa1f; }
.member #profile .edit-actions > a:hover,.member #public-preview > a:hover { background:#d2e8f7; }
.member #profile #save-feedback:not(:empty) { margin-top:14px; padding:12px; border-radius:12px; font-size:.875rem; line-height:1.55; }
.member #profile > #account-settings { padding:0; }
.member #account-settings > summary { padding:19px var(--profile-inset); }
.member #account-settings > .group-content { padding:0 var(--profile-inset) var(--profile-inset); gap:0; }
.member #account-settings .group-content > p { margin:0 0 8px; color:#415d76; font-size:.875rem; }
.member #account-settings .group-content > :is(.switch,a) { display:flex; align-items:center; justify-self:stretch; min-height:48px; padding:11px 0; border:0; border-bottom:1px solid #c8d9e5; border-radius:0; background:none; font-size:.875rem; text-align:left; text-decoration:none; color:#205a85; }
.member #account-settings .group-content > :is(.switch,a):hover { text-decoration:underline; text-underline-offset:4px; }
.member #account-settings #archive-open { margin:14px 0 0; padding:12px; border-radius:12px; background:#f9e9e9; color:#8c3045; font-size:.875rem; line-height:1.5; text-decoration:none; }
.member > [data-member-reviews] { margin:20px 0 0; padding:var(--profile-inset,20px); border-radius:var(--profile-radius,20px); }
.member > [data-member-reviews] h2 { font-size:1.3rem; line-height:1.35; }
.member.public-member { width:min(calc(100% - 40px),740px); }
.public-card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.public-identity { display:flex; align-items:center; min-width:0; gap:clamp(8px,2vw,16px); }
.public-identity .profile-portrait { flex:none; width:72px; height:72px; }
.public-identity h1 { margin:0; font-size:clamp(1.55rem,5vw,2.5rem); overflow-wrap:anywhere; min-width:0; }
.public-member .report-profile {
  flex:none; border:0; background:transparent; padding:0 4px; color:var(--muted);
  font-size: 1rem; text-decoration:underline; text-underline-offset:.18em;
}
.public-actions { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr)); gap:8px; }
.member-intro .public-actions { margin-top:16px; }
.public-actions > a,.public-actions button {
  display:inline-flex; align-items:center; justify-content:center; min-height:46px; text-align:center;
  padding:9px 12px; border-radius:8px; font-weight: 600; line-height:1.35;
}
.public-actions #friend-actions { display:contents; }
.public-actions #friend-actions button,.public-actions .secondary-action {
  color:var(--navy); background: var(--surface); border:1px solid var(--line);
}
.public-member #friend-state { margin:10px 0 0; color:var(--muted); }
.public-member #report-dialog {
  width:min(430px,calc(100% - 28px)); max-height:88dvh; overflow:auto;
  padding:clamp(16px,4vw,24px); border:1px solid var(--line); border-radius: 10px; color:var(--navy);
}
#report-dialog::backdrop { background:#102a4375; }
#report-dialog :is(h2,p) { margin:0; }
#report-dialog h2 { font-size:1.45rem; }
#report-dialog #report-target { color:var(--muted); overflow-wrap:anywhere; }
#report-dialog .report-field { display:grid; gap:5px; }
#report-dialog :is(select,textarea) { width:100%; padding:10px; border:1px solid var(--line); border-radius: 8px; font:inherit; }
#report-dialog select { min-height:48px; }
#report-dialog textarea { resize:vertical; }
#report-error { color:#922c32; }
#report-error:empty { display:none; }
.public-member #details { display:grid; gap:12px; margin-top:14px; }
.public-member #details section { padding:20px; border:1px solid var(--line); border-radius:20px; }
.public-member #details dl { margin:0; }
@media (min-width:800px) {
  .member:has(#profile:not([hidden])) { width:min(calc(100% - 64px),960px); }
  .member:has(#profile:not([hidden])) { --profile-inset:24px; }
  .member #profile:not([hidden]) { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); grid-template-rows:auto 1fr; align-items:start; gap:20px 24px; }
  .profile-editor { grid-column:2; grid-row:1 / 3; }
  .account-panel { grid-column:1; }
}
@media (max-width:560px) {
  .member:has(#profile:not([hidden])) { --profile-inset:16px; }
  .member #profile .edit-actions { grid-template-columns:minmax(0,1fr); }
  .member .preview-heading { padding:16px; gap:12px; }
  .member #preview-avatar { width:58px; height:58px; }
  .member #preview-name { font-size:1.05rem; }
  .member #profile h2 { font-size:1.2rem; }
  .public-member #details section { padding:16px; }
}
@container profile-layout (max-width:740px) {
  .member #profile:not([hidden]) { grid-template-columns:minmax(0,1fr);grid-template-rows:none; }
  .member #profile > :is(.profile-editor,.account-panel) { grid-column:auto;grid-row:auto; }
}
@container profile-layout (max-width:520px) {
  .member #profile .edit-actions { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:399px) {
  .member .access-links { display:grid; }
}

#profile-exit { width:min(420px,calc(100% - 32px)); max-height:85dvh; overflow:auto; padding:20px; border:1px solid var(--line); border-radius: 10px; color:var(--navy); }
#profile-exit::backdrop { background:#102a4375; }
#profile-exit h2 { margin:0 0 16px; font-size:1.25rem; }
#profile-exit button { width:100%; min-height:48px; margin-top:6px; }

:is(#archive-dialog, #mfa-dialog, #phone-dialog, #email-change-dialog, #export-dialog, #report-dialog, #profile-exit) {
  box-sizing: border-box;
  max-width: calc(100% - 40px);
  border-radius:20px;
  background: var(--surface);
  font-family: var(--body);
  line-height: 1.65;
  box-shadow: none;
}
:is(#archive-dialog, #mfa-dialog, #phone-dialog, #email-change-dialog, #export-dialog, #report-dialog, #profile-exit) h2 { font-weight: 700; }
:is(#archive-dialog, #mfa-dialog, #phone-dialog, #email-change-dialog, #export-dialog, #report-dialog, #profile-exit) :is(button, input, select) { min-height: 48px; }
:is(#archive-dialog, #mfa-dialog, #phone-dialog, #email-change-dialog, #export-dialog, #report-dialog, #profile-exit) button { font-weight: 600; }
.member :is(input, textarea, select, button, a):focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.member .visibility, .public-actions > a, .public-actions button { min-height: 48px; font-weight: 600; }
.member .button { background: var(--brand); color: white; border-color: var(--brand); }
.member .button:hover:not(:disabled) { background: var(--brand-hover); border-color: var(--brand-hover); }
.member .visibility input { width: 18px; height: 18px; min-height: 18px; }
@media (max-width: 380px) {
  .member #auth, .member #action, .member-intro { padding: 14px; }
  .public-card-heading { flex-wrap: wrap; }
}

/* Partage volontaire de coordonnées : styles limités à ce composant. */
.public-member .contact-open {
  width:100%; margin-top:12px; min-height:48px; padding:12px 16px;
  border:1px solid #216797; border-radius:12px; background:#173f60; color:#fff; line-height:1.4;
}
.public-member .contact-open:hover:not(:disabled) { background:#20557f; }
.contact-feedback { margin:10px 0 0; color:#415d76; font-size:.875rem; overflow-wrap:anywhere; }
.contact-feedback:empty { display:none; }
.public-member .contact-received {
  box-sizing:border-box; min-width:0; margin:18px 0 0; padding:22px;
  border:1px solid #5c91b5; border-radius:20px;
  background:linear-gradient(130deg,#123653,#215c79); color:#fff; box-shadow:0 12px 28px #102e4d1a;
}
.contact-received .contact-received-title { margin:0 0 14px; font-size:1.25rem; color:#fff; }
.contact-received .contact-received-name { margin:0; font-size:1.1rem; font-weight:700; color:#fff; }
.contact-received .contact-received-company { margin:3px 0 0; color:#d4e9f6; font-size:.9375rem; }
.contact-received .contact-received-values { display:grid; grid-template-columns:auto minmax(0,1fr); gap:6px 14px; margin:18px 0; font-size:.9375rem; }
.contact-received .contact-received-values dt { color:#cae3f3; }
.contact-received .contact-received-values dd { min-width:0; margin:0; overflow-wrap:anywhere; font-weight:600; }
.contact-received .contact-download {
  display:flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:48px;
  padding:12px 16px; border:1px solid #c5e4fa; border-radius:12px; background:#e5f3fd; color:#133f61;
  text-align:center; text-decoration:none; font-weight:700; line-height:1.4;
}
.contact-received .contact-download:hover { background:#fff; }
.contact-received .contact-shortcuts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:10px; }
.contact-received .contact-shortcut {
  display:flex; align-items:center; justify-content:center; min-height:48px; padding:8px 5px; box-sizing:border-box;
  border:1px solid #b4d8ed70; border-radius:12px; background:#ffffff12; color:#fff; text-decoration:none; font-size:.875rem; font-weight:600;
}
.contact-received .contact-shortcut:hover { background:#ffffff28; }
.contact-received .contact-website { display:inline-flex; align-items:center; min-height:44px; margin-top:8px; color:#d9f1ff; font-size:.875rem; text-underline-offset:4px; }
.contact-dialog {
  width:min(460px,calc(100% - 32px)); max-width:calc(100% - 32px); max-height:min(88dvh,800px); box-sizing:border-box;
  padding:22px; overflow:auto; border:1px solid #b1cddd; border-radius:20px; background:#f1f8fc; color:#183c56;
  font-family:var(--body); line-height:1.55; box-shadow:0 24px 70px #071d3c45;
}
.contact-dialog::backdrop { background:#0b233e99; backdrop-filter:blur(4px); }
.member .contact-form:not([hidden]) { gap:14px; }
.contact-dialog .contact-dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.contact-dialog .contact-dialog-heading h2 { margin:0; font-size:1.5rem; line-height:1.3; }
.contact-dialog .contact-close { flex:none; width:44px; min-height:44px; padding:0; border:1px solid #aec6d8; border-radius:12px; background:#e1edf6; color:#183c56; font-size:1.6rem; }
.contact-dialog p { margin:0; font-size:.9375rem; }
.member .contact-choice {
  display:flex; align-items:center; gap:12px; padding:14px; border:1px solid #b3cbde; border-radius:14px;
  background:#fff; cursor:pointer; min-width:0;
}
.member .contact-choice:has(:checked) { border-color:#2572be; background:#dfedff; }
.member .contact-choice:has(:disabled) { color:#5c7386; background:#e7eef4; cursor:default; }
.member .contact-choice input { flex:none; width:22px; height:22px; min-height:22px; padding:0; margin:0; accent-color:#1765c2; }
.contact-choice > span { min-width:0; }
.contact-choice .contact-value { display:block; overflow-wrap:anywhere; font-weight:400; font-size:.875rem; }
.contact-dialog .contact-identity-note { color:#36536d; }
.contact-dialog .contact-own-identity { padding:12px; border-radius:12px; background:#e1edf5; overflow-wrap:anywhere; font-size:.875rem; }
.contact-dialog .contact-own-identity:empty { display:none; }
.contact-dialog .contact-revoke-note { color:#526d81; font-size:.8125rem; }
.contact-dialog .contact-error { color:#9b2943; }
.contact-error:empty { display:none; }
.contact-dialog .contact-dialog-actions { display:grid; gap:8px; }
.contact-dialog .contact-dialog-actions button { min-height:48px; padding:12px; border-radius:12px; font:inherit; font-weight:700; line-height:1.4; }
.contact-dialog .contact-save { border:1px solid #1058ad; background:#1765c2; color:#fff; }
.contact-dialog .contact-save:hover:not(:disabled) { background:#0f55aa; }
.contact-dialog .contact-cancel { border:1px solid #b2c9da; background:#e6f0f7; color:#264f6c; }
.contact-dialog button:disabled,.public-member .contact-open:disabled { opacity:.6; cursor:wait; }
.contact-dialog :is(button,input):focus-visible,.contact-received a:focus-visible { outline:3px solid #61b9f2; outline-offset:3px; }
@media (max-width:560px) {
  .public-member .contact-received { padding:18px; }
  .contact-received .contact-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .contact-dialog { padding:18px; }
}
@media (max-width:360px) {
  .contact-received .contact-received-values { grid-template-columns:minmax(0,1fr); gap:3px; }
  .contact-received .contact-received-values dd + dt { margin-top:7px; }
}

.member>.profile-logout{display:none}
.member:has(>#profile[hidden])>.profile-support{display:none}
.member>.profile-support .button{width:100%;min-height:48px}
html[data-ob-nav-layout="bottom"] .member:has(>#profile:not([hidden]))>.profile-logout{display:block;margin-top:20px}
.member .profile-logout>button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:12px 18px;border:1px solid #2f5c7d;border-radius:16px;background:#163e68;color:#f0f7ff;font:600 16px/1.4 var(--body);cursor:pointer}
.member .profile-logout>button:hover:not(:disabled){background:#20557f}
.member .profile-logout svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Accès à l’offre, sans ajouter une destination à la navigation principale. */
.member .profile-offer-entry { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 20px; min-height:64px; box-sizing:border-box; border:1px solid #9cc2e5; border-radius:20px; color:#12497a; background:linear-gradient(120deg,#d7edffdd,#eef8ffdd); text-decoration:none; }
.member .profile-offer-entry strong,.member .profile-offer-entry small { display:block; }
.member .profile-offer-entry small { margin-top:4px; font-size:13px; font-weight:500; color:#3d607b; }
.member .profile-offer-entry>span:last-child { font-size:24px; }
.member .profile-offer-entry:hover { background:#d7edff; }
.member .profile-offer-entry:focus-visible { outline:3px solid #1266d8; outline-offset:3px; }
