/* Complete public profile. Covers are reused once as a static ambient background. */
body:is(.view-userprofile,.view-userslist) #wrapper {overflow-x:clip}
body.view-userprofile {padding-top:164px}
body.view-userprofile #wrapper {background:#2e3231;isolation:isolate}
body.view-userprofile #maintopmodule {padding-top:24px}
body.view-userprofile #maintopmodule .os-private-menu > .os-tools-label {color:#fff}
body.view-userprofile #maintopmodule .os-private-menu > ul > li:not(.item-155) > a:not(.jmenuedit),
body.view-userprofile #maintopmodule .os-admin-menu > summary {color:#fff;background:#383e3b;border-color:#829089}
body.view-userprofile .os-profile-navigation a.btn {color:#fff!important;background:#383e3b!important;border-color:#829089!important}
body.view-userprofile #maintopmodule .jmodedit,body.view-userprofile #maintopmodule .jmenuedit {color:#e4ede8!important}
body.view-userprofile #maintopmodule .os-admin-menu nav .jmenuedit {color:#245747!important}
body.view-userprofile #maintopmodule :is(a,summary):focus-visible {outline-color:#e4ede8}
.os-profile-ambience {position:relative;margin:12px 0 0;padding-bottom:48px}
.os-profile-has-cover::before {content:"";position:absolute;z-index:-1;top:0;bottom:-25px;left:0;right:0;background-image:var(--os-profile-cover);background-position:center;background-size:100% 100%;background-repeat:no-repeat;filter:blur(100px) saturate(2.4) brightness(1.15);opacity:.9;mix-blend-mode:screen;pointer-events:none}
/* Same full-width background treatment as the course catalogue. */
body.view-userslist .cb_template #cbUserTable {border-radius:0;box-shadow:0 0 0 100vmax #efefef;clip-path:inset(0 -100vmax)}
/* Directory cards: only the content panel is white; absent covers stay transparent. */
.cb_template #cbUserTable .cbCanvasLayoutSm.os-directory-card {border:0;background:transparent;overflow:visible;box-shadow:none}
.cb_template #cbUserTable .os-directory-card > .cbCanvasLayoutTop {flex:none;border:1px solid #d1ded8;border-bottom:0;border-radius:12px 12px 0 0;overflow:hidden}
.cb_template #cbUserTable .os-directory-card > .cbCanvasLayoutBottom {flex:none;min-height:30px;background:#fff;border-inline:1px solid #d1ded8}
.cb_template #cbUserTable .os-directory-card > .cbCanvasLayoutBody {flex:1 1 auto;background:#fff;border:1px solid #d1ded8;border-top:0;border-radius:0 0 12px 12px}
.cb_template #cbUserTable .os-directory-no-cover::before {content:"";display:block;flex:none;aspect-ratio:16/9}
.cb_template #cbUserTable .os-directory-no-cover > .cbCanvasLayoutBottom {border-top:1px solid #d1ded8;border-radius:12px 12px 0 0}
.cb_template #cbUserTable .os-directory-card > .cbCanvasLayoutBottom > .cbCanvasLayoutPhoto {position:absolute!important;left:16px;bottom:0;margin:0!important;line-height:0}
/* Every card reserves the same cover, identity, information and action areas. */
.cb_template #cbUserTable .os-directory-card-ready > .cbCanvasLayoutBottom {position:relative;min-height:96px;height:96px;box-sizing:border-box;padding:16px 16px 16px 132px;display:flex;align-items:flex-end}
.cb_template #cbUserTable .os-directory-card-ready > .cbCanvasLayoutBottom > .cbCanvasLayoutPhoto {bottom:16px!important}
.cb_template #cbUserTable .os-directory-card-ready .cbUserListFL_name {margin:0!important;padding:0!important;font-size:18px;line-height:1.3;min-width:0;text-transform:uppercase;overflow-wrap:anywhere}
.cb_template #cbUserTable .os-directory-card-ready .cbUserListFL_name a {font-size:inherit!important;line-height:inherit!important;text-decoration:none!important}
.cb_template #cbUserTable .os-directory-card-ready .cbUserListFL_name strong,.os-profile-sheet .cbProfileTitle h1 strong {font-weight:700}
.cb_template #cbUserTable .os-directory-card-ready > .cbCanvasLayoutBody {height:304px;flex:none;min-height:0;padding:0 16px 16px;display:flex;flex-direction:column;gap:16px;box-sizing:border-box}
.cb_template #cbUserTable .os-directory-scroll {flex:1 1 auto;min-height:0;overflow:auto;overflow-wrap:anywhere;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#789587 #f1f5f3}
.cb_template #cbUserTable .os-directory-scroll:focus-visible {outline:2px solid #245747;outline-offset:2px}
.cb_template #cbUserTable .os-directory-footer {flex:none;display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;min-height:44px}
.cb_template #cbUserTable .os-directory-footer .os-directory-address-tabs {margin:0;gap:8px}
.cb_template #cbUserTable .os-directory-footer .os-cb-contact {margin:0;min-height:44px;padding:8px 12px;box-sizing:border-box}
.cb_template #cbUserTable .os-directory-print {display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;box-sizing:border-box;border:1px solid #789587;border-radius:7px;background:#eef4f1;color:#245747;text-decoration:none}
.cb_template #cbUserTable .os-directory-print svg {width:20px;height:20px}
.cb_template #cbUserTable .os-directory-print:hover {background:#245747;color:#fff}
.cb_template #cbUserTable .os-directory-print:focus-visible {outline:3px solid #245747;outline-offset:3px}
.cb_template #cbUserTable .os-directory-info {display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;box-sizing:border-box;padding:0;border:1px solid #789587;border-radius:7px;background:#eef4f1;color:#245747;font-size:14px;line-height:1.4;text-decoration:none!important}
.cb_template #cbUserTable .os-directory-info svg {width:20px;height:20px;flex:none}
.cb_template #cbUserTable .os-directory-info:hover {background:#245747;color:#fff}
.cb_template #cbUserTable .os-directory-info:focus-visible {outline:3px solid #245747;outline-offset:3px}
@media(min-width:1024.01px) {
 /* Original desktop portrait: 70px over the cover, 30px over the white panel. */
 .cb_template #cbUserTable .os-directory-card-ready > .cbCanvasLayoutBottom {height:56px;min-height:56px;padding-top:6px;padding-bottom:0;align-items:flex-start}
 .cb_template #cbUserTable .os-directory-card-ready > .cbCanvasLayoutBottom > .cbCanvasLayoutPhoto {top:-70px;bottom:auto!important}
}
@media(max-width:1024px) {
 .cb_template #cbUserTable .cbUserListRow {width:100%!important;max-width:100%!important;flex-basis:100%!important}
}
@media(max-width:480px) {
 .cb_template #cbUserTable .os-directory-card-ready > .cbCanvasLayoutBottom {height:192px;min-height:192px;padding:132px 16px 16px}
 .cb_template #cbUserTable .os-directory-card-ready > .cbCanvasLayoutBottom > .cbCanvasLayoutPhoto {top:16px;left:calc(50% - 50px);bottom:auto!important}
 .cb_template #cbUserTable .os-directory-card-ready .cbUserListFL_name {font-size:17px}
}

/* Native submit/cancel stay in their form and dock exactly at the viewport bottom. */
body:has(.cbEditProfile) #wrapper {overflow-x:clip}
.cb_template.cbEditProfile .cbProfileEditButtons {position:sticky;bottom:0;z-index:30;isolation:isolate;margin:24px 0 0;padding:14px 0 calc(14px + env(safe-area-inset-bottom));border:0;background:#f8faf9}
.cb_template.cbEditProfile .cbProfileEditButtons::before {content:"";position:absolute;z-index:-1;inset-block:0;left:50%;width:100vw;transform:translateX(-50%);background:#f8faf9;border-block:1px solid #789587;pointer-events:none}
.cb_template.cbEditProfile .cbProfileEditButtons > div {width:100%;max-width:100%;margin:0;padding:0;flex:1 1 100%;display:flex;flex-direction:row;flex-wrap:wrap;gap:10px}
.cb_template.cbEditProfile .cbProfileEditButtons .btn {min-height:46px;width:auto;flex:0 1 auto;margin:0;display:inline-flex;align-items:center;justify-content:center;white-space:normal}
.cb_template.cbEditProfile .cbProfileEditCancel {background:#a72e38!important;border-color:#a72e38!important;color:#fff!important}
.cb_template.cbEditProfile .cbProfileEditCancel:hover {background:#85212a!important;border-color:#85212a!important}
.cb_template.cbEditProfile .cbProfileEditCancel:focus-visible {outline:3px solid #a72e38;outline-offset:3px}
.cbEditProfile form :is(input,select,textarea,[contenteditable="true"]) {scroll-margin-bottom:110px}
@media print {.cbEditProfile .cbProfileEditButtons {display:none!important}}
.cb_template.os-profile-sheet {font-family:inherit;background:#fff;border:1px solid #d1ded8;border-radius:18px;box-shadow:0 8px 30px rgb(34 69 56 / .07);overflow:clip}
.os-profile-sheet > .cbPosCanvas {border:0!important;border-radius:0!important}
.os-profile-sheet .cbPosCanvasMenu:empty {display:none}
.os-profile-sheet .cbProfileTitle {border:0!important;margin:0!important}
.os-profile-sheet .cbProfileTitle h1 {font-size:clamp(24px,3vw,36px);line-height:1.2;text-transform:uppercase;font-weight:400;margin:0!important;padding:0!important}
.os-profile-sheet .cbPosCanvasBottom {padding:14px 20px}
nav.cb_template.os-profile-actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 0 16px;margin:0;border:0;background:transparent}
.os-profile-sheet .os-profile-contact-actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:16px clamp(18px,3vw,36px) 0;margin:0;border:0;background:transparent}
.cb_template .os-profile-action,.os-profile-actions .os-profile-action {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #829089;border-radius:7px;background:#383e3b;color:#fff!important;font:inherit;font-size:14px;line-height:1.4;text-decoration:none!important;text-transform:none;white-space:normal;cursor:pointer;box-sizing:border-box;margin:0}
.cb_template .os-profile-action:hover,.os-profile-actions .os-profile-action:hover {background:#202623;color:#fff;border-color:#b7c3bd}
.cb_template .os-profile-action:focus-visible,.os-profile-actions .os-profile-action:focus-visible {outline:3px solid #80978b;outline-offset:3px}
.os-profile-actions .os-profile-action-caution {color:#fff;background:#6b3539;border-color:#d8a6a6}
.os-profile-actions .os-profile-action-caution:hover {background:#54272b}
.os-profile-sheet .os-profile-details {padding:clamp(18px,3vw,36px);margin:0;background:#fff}
.os-profile-sheet .os-profile-section-view + .os-profile-section-view {margin-top:24px;padding-top:0;border:0}
.os-profile-sheet .cb_tab_content_heading {border:0!important;margin:0 0 16px!important}
.os-profile-sheet .os-profile-section-heading {margin:0;padding:0;color:#245747;font-size:22px;font-weight:600;line-height:1.3;text-transform:none}
.os-profile-sheet .os-profile-details .os-profile-field {display:grid;grid-template-columns:minmax(120px,180px) minmax(0,1fr);align-items:start;gap:10px 20px;margin:0!important;padding:8px 0;border:0;min-height:0}
.os-profile-sheet .os-profile-field-label {padding:2px 0;margin:0;color:#476358;font-size:14px;font-weight:600;line-height:1.6;text-align:right}
.os-profile-sheet .os-profile-field > .cb_field {text-align:left}
.os-profile-sheet .os-profile-field > .cb_field {width:auto;max-width:none;flex:none;min-width:0;padding:0;margin:0}
.os-profile-sheet .os-profile-field .form-control-plaintext {padding:0!important;margin:0;color:#263e34;font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.os-profile-sheet .os-profile-field p {margin:0 0 10px;font:inherit}
.os-profile-sheet .os-profile-field p:last-child {margin-bottom:0}
.os-profile-sheet .os-profile-field img {max-width:100%;height:auto}
.os-profile-sheet .os-profile-field .os-cb-contact {margin:0}
.os-profile-sheet .os-profile-addresses {padding:0;margin:0 0 18px;border:0;background:none}
.os-profile-sheet .os-public-address {margin:0 0 28px;padding:0;border:0;border-radius:0;background:transparent}
.os-profile-sheet .os-public-address:last-child {margin-bottom:0}
.os-profile-sheet .os-public-address .os-section-title {margin:0 0 10px;padding:0;color:#245747;font-size:18px;font-weight:600;text-transform:none;line-height:1.4}
.os-profile-sheet .os-address-number {margin:0 0 6px;color:#58645e;font-size:13px;font-weight:600}
.os-profile-sheet .os-postal-address {margin:0 0 12px;font-style:normal;font-size:16px;line-height:1.65;color:#263e34}
.os-profile-sheet .os-address-contact {display:grid;grid-template-columns:3.25em minmax(0,1fr);align-items:baseline;gap:10px;margin-top:6px;line-height:1.6}
.os-profile-sheet .os-address-contact > .fa {width:16px;flex:none;color:#58645e;text-align:center}
.os-profile-sheet .os-address-contact-value {min-width:0;overflow-wrap:anywhere}
.os-profile-sheet .os-address-contact-value .form-control-plaintext {padding:0;margin:0;color:#263e34}
.os-profile-sheet #cb_tabid_23 .cbft_editorta {display:block;padding:14px 0}
.os-profile-sheet #cb_tabid_23 .os-profile-field + .os-profile-field {border:0}
.os-profile-sheet #cb_tabid_23 .cbft_editorta .os-profile-field-label {font-size:16px;margin-bottom:6px;color:#245747;text-align:left}
.os-profile-sheet #cb_tabid_23 .cbft_editorta > .cb_field {border-left:0;padding-left:0!important}
.os-profile-sheet .os-profile-facility .form-control-plaintext {color:#245747;font-weight:600}
@media(max-width:1024px){body.view-userprofile{padding-top:100px}}
@media(max-width:700px){
 .os-profile-ambience{padding-bottom:28px}
 .os-profile-has-cover::before{filter:blur(64px) saturate(2.4) brightness(1.15);opacity:.8}
 .cb_template.os-profile-sheet{border-radius:12px}
 .os-profile-sheet .os-profile-contact-actions{padding:14px 14px 0}
 .os-profile-sheet .cbPosCanvasBottom{padding:12px 8px}
 .os-profile-sheet .os-profile-details{padding:18px 14px}
 .os-profile-sheet .os-profile-details .os-profile-field{grid-template-columns:minmax(0,1fr);gap:2px;padding:9px 0}
 .os-profile-sheet .os-profile-field-label{text-align:left}
 .os-profile-sheet .os-profile-field > .cb_field{border-left:0;padding-left:0!important}
 .os-profile-sheet .os-public-address{padding:0}
}


.cb_template .os-directory-address-tabs {display:flex;gap:8px;margin:10px 0}
.cb_template .os-directory-address-tabs[hidden],.os-directory-address[hidden] {display:none!important}
.cb_template .os-directory-address-tabs button {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid #789587;border-radius:7px;background:#eef4f1;color:#245747;padding:8px;font:inherit;cursor:pointer}
.cb_template .os-directory-address-tabs button[aria-selected="true"] {background:#245747;color:#fff;border-color:#245747}
.cb_template .os-directory-address-tabs button:focus-visible {outline:3px solid #245747;outline-offset:3px}

/* Portrait, name and actions share one predictable grid; mobile gets clear separation. */
.os-profile-print-brand,.os-profile-print-cover{display:none}
.os-profile-sheet .os-profile-identity{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px;align-items:center!important;padding:20px clamp(18px,3vw,36px);border:0!important}
.os-profile-sheet .os-profile-portrait,.os-profile-sheet .os-profile-heading{width:auto;max-width:none;flex:none;min-width:0}
.os-profile-sheet .os-profile-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.os-profile-sheet .os-profile-heading>.d-flex{min-width:0;padding:0!important}
.os-profile-sheet .os-profile-heading .cbProfileTitle h1{font-size:clamp(24px,2.5vw,32px);overflow-wrap:anywhere}
.os-profile-sheet .os-profile-identity .cbPosCanvasPhoto{position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;width:160px;height:auto;margin:-60px 0 0;padding:0!important}
.os-profile-sheet .os-profile-identity #cbfv_29{width:160px;height:160px;margin:0}
.os-profile-sheet .os-profile-identity #cbfv_29 img{width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:1;object-fit:cover;display:block}
.os-profile-sheet .os-profile-identity .cb_form_line{margin:0!important}
.os-profile-sheet .os-profile-heading .os-profile-contact-actions{padding:0;flex-wrap:nowrap;flex-shrink:0}
.os-profile-sheet .os-profile-details{padding-top:6px}
.os-profile-sheet .os-profile-mobile{margin:10px 0 0}
.os-profile-sheet #cb_tabid_23 [style*="font-family"]{font-family:inherit!important}
@media(max-width:1000px){.os-profile-sheet .os-profile-heading{flex-wrap:wrap}.os-profile-sheet .os-profile-heading .os-profile-contact-actions{flex-basis:100%}}
@media(max-width:700px){
 .os-profile-sheet .os-profile-identity{grid-template-columns:88px minmax(0,1fr);gap:16px;padding:18px 14px 22px}
 .os-profile-sheet .os-profile-identity .cbPosCanvasPhoto{width:88px;margin:0}
 .os-profile-sheet .os-profile-identity #cbfv_29{width:88px;height:88px}
 .os-profile-sheet .os-profile-heading{display:contents}
 .os-profile-sheet .os-profile-heading>.d-flex{grid-column:2}
 .os-profile-sheet .os-profile-heading .os-profile-contact-actions{grid-column:1/-1;flex-wrap:wrap}
 .os-profile-sheet .os-profile-heading .cbProfileTitle h1{font-size:24px}
 .os-profile-sheet .os-profile-details{padding-top:0}
}


.os-profile-sheet .os-practice-contact{margin-top:12px}
@media print{.os-practice-contact{display:none!important}}

.os-profile-ambience:not(.os-profile-has-cover) .os-profile-identity .cbPosCanvasPhoto{margin-top:0}

.os-profile-sheet .os-profile-identity > .os-profile-portrait{display:block;max-height:none!important;align-self:center!important}
.os-profile-sheet .os-profile-identity > .os-profile-heading{align-self:center!important}
@media screen and (min-width:1000.01px) {
 /* Match the action row's top inset to the side gutter; keep coverless profiles intact. */
 .os-profile-has-cover .os-profile-sheet .os-profile-identity {padding-top:max(0px,calc(clamp(18px,3vw,36px) - 28px))}
}

/* Optional LinkedIn action: native public field, no external asset. */
.os-linkedin-mark{width:20px;height:20px;display:block;flex:none}
.os-profile-contact-actions .os-social-link{min-width:44px;justify-content:center}

/* Identical directory controls and practice typography for addresses 1–4. */
.cb_template #cbUserTable .os-directory-footer .os-directory-address-tabs button{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;box-sizing:border-box;flex:none}
.cb_template #cbUserTable .os-directory-practice-name{font-weight:700}
.cb_template #cbUserTable .os-directory-postcode{float:left;margin-right:5px}
.cb_template #cbUserTable .os-directory-city{text-transform:uppercase}
.cb_template #cbUserTable .os-directory-phone{padding-top:5px}

/* Requested full-profile corrections only: header labels and accessibility row. */
.os-profile-sheet .os-profile-contact-actions .os-profile-action {text-transform:uppercase}
.os-profile-sheet .os-profile-details #cbfr_75.os-profile-field {grid-template-columns:max-content minmax(0,1fr);align-items:baseline}
.os-profile-sheet #cbfr_75 .os-profile-field-label {text-align:left}

/* Directory cards are not links; only their actual controls use a hand cursor. */
.cb_template #cbUserTable .cbUserListRow {cursor:default!important}
.cb_template #cbUserTable .cbUserListRow :is(a[href],button) {cursor:pointer}

/* Directory website labels truncate visually; destinations remain complete. */
.cb_template #cbUserTable .os-directory-website a {display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Requested coverless profile inset only; covered profiles are unaffected. */
@media screen and (min-width:700.01px){
 .os-profile-ambience:not(.os-profile-has-cover) .os-profile-sheet .os-profile-identity{padding-top:clamp(18px,3vw,36px)}
}
/* Directory business-card proportions, following the supplied reference. */
@media screen {
 .cb_template #cbUserTable .os-directory-card-ready > .cbCanvasLayoutBottom{height:68px;min-height:68px;padding:26px 16px 0 124px;align-items:flex-start}
 .cb_template #cbUserTable .os-directory-card-ready > .cbCanvasLayoutBottom > .cbCanvasLayoutPhoto{top:-50px;bottom:auto!important}
 .cb_template #cbUserTable .os-directory-card-ready > .cbCanvasLayoutBody{height:250px;padding-top:0!important}
}
@media screen and (min-width:480.01px) and (max-width:1024px){
 .cb_template #cbUserTable .os-directory-card-ready .cbUserListFL_name{font-size:clamp(18px,2.8vw,22px)}
}
@media screen and (max-width:480px){
 .cb_template #cbUserTable .os-directory-card-ready > .cbCanvasLayoutBottom{height:116px;min-height:116px;padding:66px 16px 8px;justify-content:center;text-align:center}
 .cb_template #cbUserTable .os-directory-card-ready .cbUserListFL_name{font-size:16px}
}

.os-profile-sheet .os-profile-field .sous-titre{font-size:16px;font-weight:600;line-height:1.6;color:#245747;margin:0 0 6px}
.os-profile-sheet .os-profile-field .titre-discret{font-size:13px;font-weight:600;letter-spacing:.06em;color:#315b4c;text-transform:uppercase}
ul.liste-tirets{list-style-type:"–  "!important;padding-left:1.5em}

.cb_template #cbUserTable .os-directory-card-ready .cbUserListFC_name{font-size:inherit;line-height:inherit}

/* Only the requested print icon and directory name alignment. */
.os-profile-sheet .os-profile-contact-actions .os-profile-print{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;flex:none}
@media screen and (min-width:480.01px){
 .cb_template #cbUserTable .os-directory-card-ready > .cbCanvasLayoutBottom{padding-top:0;padding-bottom:18px;align-items:center}
}

@media screen and (min-width:1024.01px){
 .cb_template #cbUserTable .os-directory-card-ready .cbUserListFL_name{font-size:20px}
}
/* Profile printing only: physical page dimensions, original images, native content. */
@media print {
 @page os-profile {
  size:A4 portrait;
  margin:0;
 }
 body.view-userprofile:has(.os-profile-sheet){page:os-profile}
 body:has(.os-profile-sheet) :is(#top-wrapper,#maintopmodule,#breadcrumb-module,#greens-newsletter,#footer-wrapper,#footer,#os-back-top,#system-debug,#system-message-container,.os-profile-actions,.os-profile-contact-actions,.cbPoweredBy,[id^="formAcym"],.os-member-tools,.jmodedit,.jmenuedit){display:none!important}
 html:has(.os-profile-sheet),body:has(.os-profile-sheet),body:has(.os-profile-sheet) :is(#wrapper,#wrapper>.inner,#maincontent,#maincontent>.inner,#maincenter,#maincenter>.inner,#center,#center>.inner,#content,#content>.inner){width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;float:none!important;background:#fff!important;overflow:visible!important;box-shadow:none!important}
 .os-profile-ambience{margin:0!important;padding:0!important;clip-path:none;overflow:visible}
 .os-profile-ambience::before,.os-profile-ambience::after{display:none!important}
 /* Keep the paper gutter even when the print dialog uses minimum/no margins.
    Clone it on each page when a long profile spans several sheets. */
 .cb_template.os-profile-sheet{width:auto;min-width:0;box-sizing:border-box;padding:12mm 15mm 14mm!important;box-decoration-break:clone;-webkit-box-decoration-break:clone;border:0;border-radius:0;box-shadow:none;overflow:visible;font-size:9.5pt;line-height:1.3;color:#263e34}
 .os-profile-sheet :is(.cbPosCanvas,.cbPosCanvasMain,.cbTabs,.tab-content,.tab-pane){height:auto!important;min-height:0!important;overflow:visible!important}
 .os-profile-sheet .cbPosCanvasTop{display:none!important}
 .os-profile-sheet .os-profile-print-brand{display:flex;align-items:center;justify-content:space-between;gap:8mm;margin:0 0 7mm;break-inside:avoid;break-after:avoid}
 .os-profile-sheet .os-profile-print-brand img{display:block;width:46mm;height:auto;max-height:17mm;object-fit:contain;object-position:left center}
 .os-profile-sheet .os-profile-print-site{font-size:9pt;line-height:1.4;color:#263e34;text-decoration:none;white-space:nowrap}
 .os-profile-sheet .os-profile-identity{display:grid;grid-template-columns:20mm minmax(0,1fr);align-items:center!important;gap:5mm;margin:0 0 5mm!important;padding:0!important;break-inside:avoid;break-after:avoid}
 .os-profile-sheet:has(>.os-profile-print-cover) .os-profile-identity{width:calc(100% - 72mm)}
 .os-profile-sheet .os-profile-identity .cbPosCanvasPhoto{position:static!important;width:20mm!important;height:auto;margin:0!important;padding:0!important}
 .os-profile-sheet .os-profile-identity #cbfv_29{width:20mm!important;height:20mm!important;margin:0!important;border-radius:2mm}
 .os-profile-sheet .os-profile-identity #cbfv_29 img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover;border-radius:2mm}
 .os-profile-sheet .os-profile-heading{display:block!important;padding:0!important;min-width:0}
 .os-profile-sheet .os-profile-heading .cbProfileTitle h1{font-size:17pt!important;line-height:1.2!important;color:#245747}
 .os-profile-sheet .os-profile-print-cover{display:block;float:right;width:var(--os-print-cover-width,64mm);max-width:64mm;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:2mm;margin:0 0 5mm 8mm;padding:0!important;border:0;break-inside:avoid}
 .os-profile-sheet .os-profile-details{padding:0!important;margin:0!important;font-size:9.5pt;line-height:1.3}
 .os-profile-sheet .os-profile-addresses{margin:0 0 3mm;padding:0}
 .os-profile-sheet:has(>.os-profile-print-cover) .os-profile-addresses:not(:has(.os-public-address:nth-child(2))){width:calc(100% - 72mm)}
 .os-profile-sheet .os-profile-addresses:has(.os-public-address:nth-child(2)){clear:both}
 .os-profile-sheet .os-profile-addresses:has(.os-public-address:nth-child(2)){columns:2;column-gap:8mm}
 .os-profile-sheet .os-public-address{break-inside:avoid;margin:0 0 5mm;padding:0}
 .os-profile-sheet .os-public-address:last-child{margin-bottom:0}
 .os-profile-sheet .os-public-address .os-section-title{font-size:12pt;line-height:1.3;margin:0 0 2mm;padding:0}
 .os-profile-sheet .os-address-number{font-size:9pt;line-height:1.3;margin:0 0 1mm}
 .os-profile-sheet .os-postal-address{font-size:9.5pt;line-height:1.3;margin:0 0 2mm}
 .os-profile-sheet .os-address-contact{grid-template-columns:8mm minmax(0,1fr);gap:2mm;margin-top:1mm;font-size:9.5pt;line-height:1.3}
 .os-profile-sheet .os-profile-mobile{margin:2mm 0 0;font-size:9.5pt;line-height:1.3}
 .os-profile-sheet .os-profile-section-view+.os-profile-section-view{margin-top:3mm}
 .os-profile-sheet .os-profile-details .os-profile-field{display:block;break-inside:auto;padding:0 0 3mm!important;margin:0!important;font-size:9.5pt;line-height:1.3}
 .os-profile-sheet .os-profile-field>.cb_field{padding:0!important;margin:0;border:0}
 .os-profile-sheet .os-profile-field :is(.form-control-plaintext,#cbfv_55),.os-profile-sheet .os-profile-field :is(.form-control-plaintext,#cbfv_55) :is(p,div,span,li){font-size:9.5pt!important;line-height:1.3!important}
 .os-profile-sheet .os-profile-field-label,.os-profile-sheet #cb_tabid_23 .cbft_editorta .os-profile-field-label{font-size:11pt;line-height:1.3;font-weight:600;text-align:left;padding:0;margin:0 0 2mm;break-after:avoid}
 .os-profile-sheet #cb_tabid_23{clear:both;columns:2;column-gap:8mm;column-fill:balance}
 .os-profile-sheet #cb_tabid_23 .os-profile-field{break-inside:auto}
 .os-profile-sheet :is(h2,h3,h4,.sous-titre,.titre-discret){break-after:avoid}
 .os-profile-sheet .os-profile-field :is(h2,h3,h4,.sous-titre),.os-profile-sheet .os-profile-field :is(.form-control-plaintext,#cbfv_55) .sous-titre{font-size:10.5pt!important;line-height:1.3!important;margin:2.5mm 0 1.5mm!important;padding:0!important}
 .os-profile-sheet .os-profile-field .titre-discret{font-size:9pt!important;line-height:1.3!important}
 .os-profile-sheet .os-profile-field p{margin:0 0 1.5mm;orphans:3;widows:3}
 .os-profile-sheet .os-profile-field p:has(>strong){break-inside:avoid}
 .os-profile-sheet .os-profile-field p:has(+ul),.os-profile-sheet .os-profile-field p:has(+ol){break-after:avoid}
 .os-profile-sheet .os-profile-field :is(ul,ol){margin:0 0 2mm;padding:0 0 0 4.5mm;break-inside:avoid}
 .os-profile-sheet .os-profile-field li{margin:0 0 .6mm;padding:0;break-inside:avoid;orphans:2;widows:2}
 .os-profile-sheet a{color:#263e34;text-decoration:underline;text-underline-offset:1.5px;overflow-wrap:anywhere}
 .os-profile-sheet a::after{content:none!important}
 .os-profile-sheet :is(.os-practice-contact,.os-profile-contact-actions){display:none!important}
}

/* Internal status: only rendered for Super Users. Keep the label and controls legible. */
.os-profile-unavailable {position:relative}
.os-profile-unavailable > :not(.os-profile-state-badge) {filter:grayscale(1)}
.os-profile-unavailable :is(img,.cbImgCanvas,.cbFullCanvas) {filter:grayscale(1) contrast(.75)}
.os-profile-state-badge {position:absolute;z-index:8;top:16px;right:16px;max-width:calc(100% - 32px);padding:10px 16px;border:2px solid #a52b35;border-radius:8px;background:#fff;color:#a52b35;font-size:18px;font-weight:700;line-height:1.4;box-shadow:0 2px 10px #0002;pointer-events:none}
.os-profile-ambience:has(.os-profile-unavailable)::before {filter:blur(100px) grayscale(1) contrast(.75)}
@media (max-width:480px) {.os-profile-state-badge {top:10px;right:10px;font-size:16px;padding:6px 10px}}

/* Directory cards: the cover is 16:9, including the reserved area without a photo.
   The percentage margin uses the card width; only the badge position changes. */
.cb_template #cbUserTable .os-directory-card > .os-profile-state-badge {top:-16px;margin-top:56.25%;transform:translateY(-100%)}
.cb_template #cbUserTable .os-directory-no-cover::before {background:url("../images/osteopathie-structurelle-logo-noir-blanc.svg") center / 33.333% auto no-repeat;filter:brightness(0) invert(1);opacity:.65}
.cb_template #cbUserTable .os-directory-card.os-profile-unavailable > :is(.cbCanvasLayoutBottom,.cbCanvasLayoutBody) {background:#f1f1f1}
@media (max-width:480px) {.cb_template #cbUserTable .os-directory-card > .os-profile-state-badge {top:-10px}}

/* Internal-management edit tab: existing gear and native CB field alignment. */
.cbEditProfile .os-internal-management > .cbTabNavLink::before {content:"";display:inline-block;flex:0 0 1em;width:1em;height:1em;margin-right:.5em;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%203-.7%202.4-2.2%201.3-2.4-.6-2%203.5L3.4%2012l-1.7%202.4%202%203.5%202.4-.6%202.2%201.3L9%2021h4l.7-2.4%202.2-1.3%202.4.6%202-3.5-1.7-2.4%201.7-2.4-2-3.5-2.4.6-2.2-1.3L13%203Z%22%2F%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat}
.cbEditProfile .os-internal-management :is(.os-account-status,.os-profile-ban) {margin-left:0;margin-right:0}
.cbEditProfile .os-internal-management :is(.os-account-status,.os-profile-ban) > :is(.control-label,.cb_field) {padding-left:0;padding-right:0}
.cbEditProfile .os-internal-management :is(.os-account-status,.os-profile-ban) > .control-label {padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);line-height:1.5}
.cbEditProfile .os-internal-management :is(.os-account-status,.os-profile-ban) > .control-label > label {margin-bottom:0}

/* Profile editing: keep the native accessibility checkbox before its label. */
.cb_template.cbEditProfile #cbfr_75 {align-items:center;gap:.65rem}
.cb_template.cbEditProfile #cbfr_75 > .cb_field {order:-1;flex:0 0 auto;width:auto;max-width:none}
.cb_template.cbEditProfile #cbfr_75 > label {flex:0 1 auto;width:auto;max-width:calc(100% - 2.5rem);margin-bottom:0}
.cb_template.cbEditProfile #cb_ck_handicap {appearance:auto;position:static;width:22px;height:22px;min-height:22px;accent-color:#315b4c;cursor:pointer}

/* Public rich text follows the editorial rhythm; profile controls and print styles remain separate. */
@media screen {
 .os-profile-sheet .os-profile-field.cbft_editorta {font-size:16px;line-height:1.5}
 .os-profile-sheet .cbft_editorta .form-control-plaintext {font:inherit}
 .os-profile-sheet .cbft_editorta p {margin:0 0 .75em;line-height:1.5}
 .os-profile-sheet .cbft_editorta p:last-child {margin-bottom:0}
}
@media screen and (max-width:599.98px) {
 .os-profile-sheet .os-profile-field.cbft_editorta {font-size:14px}
 /* Legacy editor default 12pt = 16px: adapt only this normal-text size on phones. */
 .os-profile-sheet .cbft_editorta :is(p,li):not(.sous-titre):not(.titre-discret) span:is([style*="font-size: 12pt"],[style*="font-size:12pt"],[style*="font-size: 16px"],[style*="font-size:16px"]) {font-size:inherit!important}
}
