:root {
    --crm-ink: #202b3c;
    --crm-muted: #788397;
    --crm-line: #e8edf3;
    --crm-bg: #f5f7fb;
    --crm-blue: #3979d6;
    --crm-blue-soft: #edf4ff;
    --crm-green: #1b9b70;
    --crm-shadow: 0 10px 30px rgba(28,43,66,.08);
}

/* Socle commun des formulaires CRM (y compris Mon espace).
   Les règles spécifiques ci-dessous restent prioritaires. */
:is(.crm-app-body, .crm-personal-root, .crm-personal-login, .crm-personal-dialog) input:where(:not([type="hidden"], [type="checkbox"], [type="radio"], [type="button"], [type="submit"], [type="reset"], [type="image"], [type="file"], [type="range"], [type="color"])),
:is(.crm-app-body, .crm-personal-root, .crm-personal-login, .crm-personal-dialog) select,
:is(.crm-app-body, .crm-personal-root, .crm-personal-login, .crm-personal-dialog) textarea {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    min-height: 39px;
    padding: 9px 11px;
    border: 1px solid var(--crm-line);
    border-radius: 8px;
    background: #fff;
    color: var(--crm-ink);
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    outline: none;
}
:is(.crm-app-body, .crm-personal-root, .crm-personal-login, .crm-personal-dialog) textarea {
    min-height: 80px;
    resize: vertical;
}
:is(.crm-app-body, .crm-personal-root, .crm-personal-login, .crm-personal-dialog) select {
    padding-right: 28px;
}
:is(.crm-app-body, .crm-personal-root, .crm-personal-login, .crm-personal-dialog) :is(input:where(:not([type="hidden"], [type="checkbox"], [type="radio"], [type="button"], [type="submit"], [type="reset"], [type="image"], [type="file"], [type="range"], [type="color"])), select, textarea):focus {
    border-color: #83ace9;
    box-shadow: 0 0 0 3px #3979d614;
}
:is(.crm-app-body, .crm-personal-root, .crm-personal-login, .crm-personal-dialog) :is(input[type="checkbox"], input[type="radio"], input[type="range"]) {
    accent-color: var(--crm-blue);
}
/* Mise en page des champs directement placés dans une fenêtre CRM. */
.crm-site-dialog > label {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    color: var(--crm-muted);
    font-size: 12px;
    font-weight: 600;
}
.crm-site-dialog > label > :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    width: 100%;
}



* {
    box-sizing: border-box;
}

html,body.crm-app-body {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--crm-bg) !important;
    color: var(--crm-ink);
    font: 14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    min-height: 100%;
}

body.crm-app-body {
    overflow-x: hidden;
}

body.crm-app-body #wpadminbar {
    display: none !important;
}

body.crm-app-body:has(#wpadminbar) {
    margin-top: 0 !important;
}

body.crm-app-body #page,body.crm-app-body .site {
    display: none !important;
}

.crm-shell {
    min-height: 100vh;
    display: flex;
}

.crm-sidebar {
    width: 250px;
    background: #fff;
    border-right: 1px solid var(--crm-line);
    padding: 25px 17px 18px;
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
}

.crm-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 9px 36px;
    text-decoration: none;
    color: var(--crm-ink);
}

.crm-brand-mark {
    width: 37px;
    height: 37px;
    border-radius: 11px;
    background: linear-gradient(145deg,#4f91ed,#2864bd);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 19px;
    font-weight: 800;
    box-shadow: 0 5px 12px #3979d633;
}

.crm-brand strong,.crm-brand small,.crm-sidebar-bottom strong,.crm-sidebar-bottom small {
    display: block;
}

.crm-brand strong {
    font-size: 16px;
    letter-spacing: -.3px;
}

.crm-brand small,.crm-sidebar-bottom small {
    font-size: 11px;
    color: var(--crm-muted);
    margin-top: 1px;
}

.crm-nav-label {
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1px;
    color: #a0a9b8;
    padding: 0 11px 12px;
}

.crm-nav {
    display: grid;
    gap: 5px;
}

.crm-nav-item {
    border: 0;
    background: transparent;
    color: #687589;
    text-align: left;
    padding: 11px 12px;
    border-radius: 9px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    transition: .15s;
}

.crm-nav-item span {
    font-size: 18px;
    width: 19px;
    text-align: center;
    color: #8995a7;
}

.crm-nav-item:hover {
    background: #f6f8fc;
    color: var(--crm-ink);
}

.crm-nav-item.is-active {
    background: var(--crm-blue-soft);
    color: #2868c5;
}

.crm-nav-item.is-active span {
    color: #2868c5;
}

.crm-sidebar-bottom {
    margin-top: auto;
    border-top: 1px solid var(--crm-line);
    padding: 18px 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.crm-sidebar-bottom strong {
    font-size: 12px;
}

.crm-sidebar-bottom a {
    margin-left: auto;
    color: #8b96a8;
    text-decoration: none;
    font-size: 17px;
}

.crm-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eaf1fc;
    color: #3979d6;
    display: grid;
    place-items: center;
    font-size: 10px;
}

.crm-main {
    margin-left: 250px;
    width: calc(100% - 250px);
    min-height: 100vh;
}

.crm-topbar {
    height: 68px;
    background: #fff;
    border-bottom: 1px solid var(--crm-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.crm-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: #98a2b1;
}

.crm-breadcrumb b {
    font-weight: 400;
    color: #c3cad4;
}

.crm-breadcrumb strong {
    font-size: 13px;
    color: #344156;
}

.crm-top-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #8b96a7;
    font-size: 11px;
}

.crm-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #20b982;
}

.crm-icon-button {
    margin-left: 9px;
    border: 1px solid var(--crm-line);
    background: #fff;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    color: #687589;
    font-size: 19px;
    cursor: pointer;
}

.crm-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 36px 60px;
}

.crm-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 26px;
}

.crm-eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
    color: #8b96a7;
    font-weight: 750;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.crm-page-head h1 {
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -.7px;
    margin: 0;
    color: #202b3c;
    font-weight: 750;
}

.crm-page-head p {
    margin: 7px 0 0;
    color: #8490a2;
    font-size: 13px;
}

.crm-button {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 15px;
    background: var(--crm-blue);
    color: #fff;
    font-weight: 650;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 3px 8px #3979d626;
    transition: .15s;
	text-decoration:none;
}

.crm-button:hover {
    background: #2868c5;
    transform: translateY(-1px);
}

.crm-button.secondary {
    background: #fff;
    border-color: var(--crm-line);
    color: #526075;
    box-shadow: none;
}

.crm-button.ghost {
    background: transparent;
    color: #647187;
    box-shadow: none;
}

.crm-button:disabled {
    opacity: .5;
    cursor: wait;
}
.boutonplus{
float:right;
  border-radius: 100px;
  font-size: 2rem;
  font-weight: bold;
  padding: 0px;
  line-height: 1;
  width: 40px;
  height: 40px;
}

.crm-stats {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 17px;
    margin-bottom: 25px;
}

.crm-stat {
    background: #fff;
    border: 1px solid var(--crm-line);
    border-radius: 12px;
    padding: 19px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.crm-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #edf4ff;
    color: #3979d6;
    display: grid;
    place-items: center;
    font-size: 19px;
}

.crm-stat:nth-child(2) .crm-stat-icon {
    background: #eef8f4;
    color: #1b9b70;
}

.crm-stat:nth-child(3) .crm-stat-icon {
    background: #fff6e9;
    color: #d49332;
}

.crm-stat-label {
    font-size: 11px;
    color: #8b96a7;
    font-weight: 600;
}

.crm-stat-value {
    font-size: 24px;
    font-weight: 750;
    line-height: 1.25;
    margin-top: 3px;
    letter-spacing: -.5px;
}

.crm-panel {
    background: #fff;
    border: 1px solid var(--crm-line);
    border-radius: 12px;
    overflow: hidden;
	padding:20px;
}

.crm-panel-head {
    padding: 17px 20px;
    border-bottom: 1px solid var(--crm-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.crm-panel-head h2 {
    font-size: 14px;
    margin: 0;
    font-weight: 700;
}

.crm-panel-head p {
    margin: 3px 0 0;
    color: #929cad;
    font-size: 11px;
}

.crm-panel-body {
    padding: 18px 20px;
}

.crm-quick-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px;
}

.crm-quick {
    border: 1px solid var(--crm-line);
    border-radius: 10px;
    padding: 16px;
    text-align: left;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 13px;
}

.crm-quick:hover {
    border-color: #b7cef2;
    background: #fbfdff;
}

.crm-quick-icon {
    width: 37px;
    height: 37px;
    background: #edf4ff;
    color: #3979d6;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 17px;
}

.crm-quick strong {
    display: block;
    font-size: 12px;
}

.crm-quick small {
    display: block;
    color: #8b96a7;
    font-size: 11px;
    margin-top: 2px;
}

.crm-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.crm-search {
    position: relative;
    flex: 1;
    max-width: 430px;
}

.crm-search input {
    width: 100%;
    height: 39px;
    padding: 0 13px 0 37px;
    border: 1px solid var(--crm-line);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 13px;
    color: var(--crm-ink);
    outline: none;
}

.crm-search input:focus,.crm-field input:focus,.crm-field select:focus {
    border-color: #83ace9;
    box-shadow: 0 0 0 3px #3979d614;
}

.crm-search span {
    position: absolute;
    left: 13px;
    top: 8px;
    color: #9aa5b5;
    font-size: 17px;
}

.crm-count {
    font-size: 11px;
    color: #8b96a7;
    margin-left: auto;
}

.crm-table-wrap {
    overflow-x: auto;
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.crm-table th {
    text-align: left;
    padding: 11px 17px;
    background: #fafbfd;
    color: #929cad;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .6px;
    font-weight: 750;
    border-bottom: 1px solid var(--crm-line);
}

.crm-table td {
    padding: 13px 17px;
    border-bottom: 1px solid #f0f2f6;
    color: #59667a;
    font-size: 12px;
}

.crm-table tr:last-child td {
    border-bottom: 0;
}

.crm-table tbody tr {
    cursor: pointer;
}

.crm-table tbody tr:hover {
    background: #fafcff;
}

.crm-person-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crm-person-avatar {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #edf3fd;
    color: #3979d6;
    font-size: 11px;
    font-weight: 750;
}

.crm-person-name {
    font-weight: 700;
    color: #344156;
    font-size: 12px;
}

.crm-person-sub {
    color: #98a2b1;
    font-size: 10px;
    margin-top: 2px;
}

.crm-tag {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 20px;
    background: #f0f4fa;
    color: #647187;
    font-size: 10px;
    font-weight: 650;
}

.crm-tag.blue {
    background: #edf4ff;
    color: #3979d6;
}

.crm-tag.green {
    background: #eef8f4;
    color: #16845f;
}

.crm-empty {
    text-align: center;
    padding: 45px 20px;
    color: #8b96a7;
    font-size: 12px;
}

.crm-empty strong {
    display: block;
    color: #526075;
    font-size: 14px;
    margin-bottom: 5px;
}

.crm-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 17px;
    border-top: 1px solid var(--crm-line);
    color: #929cad;
    font-size: 11px;
}

.crm-pagination button {
    border: 1px solid var(--crm-line);
    background: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    color: #687589;
    cursor: pointer;
}

.crm-pagination button:disabled {
    opacity: .35;
    cursor: default;
}

.crm-loading {
    padding: 70px;
    text-align: center;
    color: #8b96a7;
}

.crm-modal-backdrop {
    position: fixed;
    inset: 0;
    background: #17223566;
    display: grid;
    place-items: center;
    padding: 20px;
}

.crm-modal {
    overflow: auto;
    border-radius: 14px;
    box-shadow: 0 25px 70px #17223533;
}

.crm-modal-head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--crm-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.crm-modal-head h2 {
    font-size: 17px;
    margin: 0;
}

.crm-modal-close {
    border: 0;
    background: #f3f5f8;
    border-radius: 7px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #738095;
    font-size: 18px;
}

.crm-form {
    padding: 22px 24px;
}

.crm-form-section {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #929cad;
    font-weight: 750;
    margin: 3px 0 13px;
}

.crm-form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px 16px;
    margin-bottom: 20px;
}

.crm-field {
    display: grid;
    gap: 6px;
}

.crm-field.full {
    grid-column: 1/-1;
}

.crm-field label {
    font-size: 11px;
    color: #687589;
    font-weight: 650;
}

.crm-field input,.crm-field select {
    height: 39px;
    border: 1px solid var(--crm-line);
    border-radius: 7px;
    padding: 0 11px;
    font: inherit;
    font-size: 13px;
    color: #344156;
    background: #fff;
    outline: none;
    width: 100%;
}

.crm-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.crm-check {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--crm-line);
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 11px;
    color: #647187;
}

.crm-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    border-top: 1px solid var(--crm-line);
    padding-top: 17px;
}

.crm-toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #202b3c;
    color: #fff;
    border-radius: 9px;
    padding: 12px 16px;
    box-shadow: var(--crm-shadow);
    font-size: 12px;
    z-index: 200;
    opacity: 0;
    transform: translateY(8px);
    transition: .2s;
    pointer-events: none;
}

.crm-toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width:850px){.crm-sidebar{width:210px}.crm-main{margin-left:210px;width:calc(100% - 210px)}.crm-content{padding:25px 22px}.crm-stats{gap:10px}.crm-stat{padding:14px}.crm-topbar{padding:0 22px}}
@media(max-width:650px){.crm-sidebar{position:static;width:100%;height:auto;padding:12px 14px;border-right:0;border-bottom:1px solid var(--crm-line)}.crm-shell{display:block}.crm-brand{padding:0 5px 12px}.crm-nav-label,.crm-sidebar-bottom{display:none}.crm-nav{display:flex;overflow:auto;gap:4px}.crm-nav-item{white-space:nowrap;width:auto;padding:8px 10px;font-size:11px}.crm-main{margin:0;width:100%}.crm-topbar{height:52px;padding:0 15px}.crm-content{padding:22px 14px}.crm-page-head{align-items:center}.crm-page-head h1{font-size:21px}.crm-page-head p{font-size:11px}.crm-stats{grid-template-columns:1fr;gap:9px}.crm-stat{padding:12px 14px}.crm-stat-value{font-size:20px}.crm-quick-grid{grid-template-columns:1fr}.crm-toolbar{flex-wrap:wrap}.crm-search{max-width:none;flex-basis:100%}.crm-form-grid{grid-template-columns:1fr}.crm-field.full{grid-column:auto}.crm-modal-backdrop{padding:8px}.crm-form{padding:17px}.crm-modal-head{padding:16px 18px}}
/* Adaptation de l'interface d'origine à la navigation PHP (sans SPA ni JS) */
.crm-brand {
    justify-content: center;
    padding-bottom: 34px;
    min-height: 85px;
}

.crm-site-logo {
    max-width: 180px;
    max-height: 68px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.crm-nav-item {
    text-decoration: none;
}

.crm-nav-item:hover {
    text-decoration: none;
}

.crm-page-head .crm-button {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.crm-page-head .crm-button:hover {
    color: #fff;
}

.crm-page-head h1 {
    margin: 0;
}

.crm-page-head p {
    margin-top: 7px;
}

.crm-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.crm-search input {
    max-width: 430px;
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--crm-line);
    border-radius: 8px;
    background: #fff;
}

.crm-search button {
    padding: 10px 15px;
    border: 1px solid var(--crm-line);
    border-radius: 8px;
    background: #fff;
    color: var(--crm-ink);
    cursor: pointer;
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
}

.crm-table th,.crm-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--crm-line);
    text-align: left;
}

.crm-table th {
    font-size: 11px;
    color: var(--crm-muted);
    font-weight: 700;
    background: #fafbfe;
}

.crm-table a {
    color: var(--crm-blue);
    text-decoration: none;
}

.crm-empty {
    text-align: center;
    color: var(--crm-muted);
    padding: 30px !important;
}

.crm-stat {
    text-decoration: none;
    color: var(--crm-ink);
}

.crm-stat-value {
    display: block;
}

.crm-placeholder {
    padding: 28px;
}

.crm-profile-head {
    padding: 16px 22px;
    margin-bottom: 18px;
}

.crm-role-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.crm-tag:empty {
    display: none;
}

.crm-tabs {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid var(--crm-line);
    margin: 0 0 20px;
}

.crm-tabs a {
    padding: 13px 3px;
    text-decoration: none;
    color: var(--crm-muted);
    border-bottom: 2px solid transparent;
}

.crm-tabs a.active {
    color: var(--crm-blue);
    border-color: var(--crm-blue);
    font-weight: 700;
}

.crm-edit-form {
    padding: 24px;
    overflow: visible;
}

.crm-profile-grid {
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(270px,1fr);
    gap: 38px;
}

.crm-profile-grid h2 {
    font-size: 16px;
    margin: 0 0 17px;
}

.crm-profile-grid section>h2:not(:first-child) {
    margin-top: 28px;
}

.crm-edit-form label,.crm-modal-box label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: var(--crm-muted);
    margin-bottom: 14px;
}

.crm-edit-form input:not([type=checkbox]),.crm-edit-form select,.crm-edit-form textarea,.crm-modal-box input:not([type="checkbox"]):not([type="radio"]),.crm-modal-box select {
    width: 100%;
    border: 1px solid var(--crm-line);
    border-radius: 8px;
    padding: 10px 11px;
    background: #fff;
    color: var(--crm-ink);
    font: inherit;
}

.crm-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.crm-checkboxes label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.crm-inline {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
}

.crm-form-actions {
    border-top: 1px solid var(--crm-line);
    margin-top: 22px;
    padding-top: 20px;
    text-align: right;
}

.crm-notice {
    padding: 12px 16px;
    background: #e9f8f1;
    color: #19764e;
    border-radius: 8px;
}

.crm-back {
    display: inline-block;
    font-size: 12px;
    color: var(--crm-muted);
    text-decoration: none;
    margin-bottom: 10px;
}

.crm-help {
    font-size: 12px;
    color: var(--crm-muted);
}

.crm-readonly {
    display: grid;
    gap: 3px;
    padding: 8px 0 11px;
    border-bottom: 1px solid var(--crm-line);
    margin-bottom: 8px;
}

.crm-readonly span {
    font-size: 12px;
    color: var(--crm-muted);
}

.crm-readonly strong {
    font-size: 13px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.crm-readonly a {
    color: var(--crm-blue);
    text-decoration: none;
}

.crm-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.crm-modal:target {
    display: flex;
}

.crm-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25,38,59,.60);
}

.crm-modal-box {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    width: min(520px,100%);
    max-height: 90vh;
    overflow: auto;
    box-shadow: var(--crm-shadow);
}

.crm-modal-box h2 {
    margin: 0 0 20px;
    font-size: 19px;
}

.crm-close {
    position: absolute;
    right: 18px;
    top: 12px;
    text-decoration: none;
    font-size: 27px;
    color: var(--crm-muted);
}

.crm-modal-box form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}


.crm-modal-box .crm-button {
    width: 100%;
}

@media(max-width:900px){.crm-profile-grid{grid-template-columns:1fr}.crm-content{padding:24px}}
@media(max-width:600px){.crm-modal-box form{grid-template-columns:1fr}.crm-search{flex-wrap:wrap}}
/* Fiche personne : lecture / édition et rôles dans le cartouche supérieur */
.crm-role-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.crm-role-form .crm-checkboxes {
    display: flex;
    gap: 10px 18px;
    flex-wrap: wrap;
}

.crm-role-check {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--crm-ink);
    cursor: pointer;
}

.crm-role-check input {
    accent-color: var(--crm-blue);
    width: 16px;
    height: 16px;
}

.crm-role-save {
    background: #edf4fc;
    border: 1px solid #d2e2f5;
    border-radius: 7px;
    padding: 9px 13px;
    color: #2569a5;
    font-weight: 600;
    cursor: pointer;
}

.crm-head-actions {
    display: flex;
    gap: 10px;
}

.crm-button-secondary {
    background: #fff !important;
    color: var(--crm-blue) !important;
    border: 1px solid var(--crm-line);
    text-decoration: none;
}

.crm-profile-grid {
    align-items: start;
}

.crm-detail {
    display: grid;
    gap: 4px;
    margin-bottom: 15px;
}

.crm-detail>span,.crm-linked-entity>span,.crm-entity-info span {
    font-size: 12px;
    color: var(--crm-muted);
}

.crm-detail>strong {
    font-size: 14px;
    font-weight: 500;
    color: var(--crm-ink);
    overflow-wrap: anywhere;
}

.crm-detail a,.crm-linked-entity a {
    color: var(--crm-blue);
    text-decoration: none;
}

.crm-detail input:not([type="checkbox"]):not([type="radio"]),.crm-detail select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--crm-line);
    border-radius: 8px;
    background: white;
    font: inherit;
    color: var(--crm-ink);
}

.crm-biography {
    font-size: 14px;
    line-height: 1.75;
    white-space: normal;
    min-height: 75px;
    color: var(--crm-ink);
}

.crm-empty-value {
    color: var(--crm-muted);
}

.crm-section-heading {
    margin-top: 34px !important;
    padding-top: 24px;
    border-top: 1px solid var(--crm-line);
}

.crm-linked-entity {
    padding: 18px;
    border: 1px solid var(--crm-line);
    border-radius: 10px;
    background: #f9fbfe;
    display: grid;
    gap: 5px;
}

.crm-linked-entity>strong {
    font-size: 16px;
}

.crm-entity-info {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    margin-top: 12px;
}

.crm-entity-info>div {
    display: grid;
    gap: 3px;
}

.crm-entity-info strong {
    font-weight: 500;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.crm-link-action {
    margin-top: 15px;
    display: inline-flex;
}

.crm-entity-link {
    margin-top: 20px;
}

.crm-entity-link label {
    display: block;
    margin-bottom: 6px;
    color: var(--crm-muted);
    font-size: 12px;
}

.crm-entity-link select {
    width: 100%;
    padding: 11px;
    border: 1px solid var(--crm-line);
    border-radius: 8px;
    background: #fff;
}

.crm-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Correctifs ciblés : fiche personne, style cohérent avec le CRM */
.crm-content .crm-profile-head {
    background: #fff;
    border: 1px solid var(--crm-line);
    border-radius: 12px;
    padding: 18px 24px;
    box-shadow: var(--crm-shadow);
    margin-bottom: 18px;
}

.crm-content .crm-profile-head .crm-role-form {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 11px;
    justify-content: space-between;
}

.crm-content .crm-role-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f6f9fe;
    border: 1px solid #e4ecf7;
    border-radius: 20px;
    padding: 7px 12px;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

.crm-content .crm-role-check input {
    margin: 0;
    width: 15px;
    height: 15px;
    accent-color: var(--crm-blue);
}

.crm-role-status {
    font-size: 12px;
    color: var(--crm-green);
    min-height: 18px;
    white-space: nowrap;
}

.crm-contact-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 15px;
}

.crm-contact-toolbar-title {
    font-size: 13px;
    font-weight: 700;
    color: #59667a;
}

.crm-content .crm-edit-form {
    border: 1px solid var(--crm-line);
    border-radius: 12px;
    background: #fff;
    padding: 28px 30px;
    box-shadow: var(--crm-shadow);
}

.crm-content .crm-profile-grid {
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(260px,1fr);
    gap: 40px;
    align-items: start;
}

.crm-content .crm-profile-grid section {
    min-width: 0;
}

.crm-content .crm-profile-grid h2 {
    font-size: 15px;
    color: var(--crm-ink);
    font-weight: 750;
    margin: 0 0 18px;
}

.crm-content .crm-profile-grid .crm-section-heading {
    margin-top: 30px !important;
    padding-top: 24px;
}

.crm-content .crm-detail {
    display: grid;
    gap: 4px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f3f7;
}

.crm-content .crm-detail>span {
    font-size: 11px;
    font-weight: 600;
    color: var(--crm-muted);
}

.crm-content .crm-detail>strong {
    font-size: 13px;
    font-weight: 550;
    line-height: 1.5;
}

.crm-content .crm-biography {
    line-height: 1.75;
    min-height: 60px;
}

.crm-content .crm-tabs {
    display: flex;
    gap: 26px;
    margin: 0 0 18px;
    border-bottom: 1px solid var(--crm-line);
}

.crm-content .crm-tabs a {
    padding: 11px 3px;
    color: var(--crm-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.crm-content .crm-tabs a.active {
    color: var(--crm-blue);
    border-color: var(--crm-blue);
    font-weight: 700;
}


/* Fenêtre d'ajout de fiche : surcharge du style de la version actuelle */
.crm-add-modal .crm-modal-box {
    background: #ffffff;
    color: #24344b;
    opacity: 1;
    width: min(610px, 96vw);
    padding: 30px;
    box-shadow: 0 20px 65px rgba(18, 34, 56, .25);
}
.crm-add-modal .crm-add-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}
.crm-add-modal .crm-add-form > * {
    min-width: 0;
}
.crm-add-modal .crm-add-form > label,
.crm-add-modal .crm-add-form > .crm-add-type,
.crm-add-modal .crm-add-form > .crm-add-help,
.crm-add-modal .crm-add-form > button {
    grid-column: 1 / -1;
}
.crm-add-modal .crm-add-form label {
    margin: 0;
    color: #526276;
}
.crm-add-modal .crm-add-person {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.crm-add-modal .crm-add-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.crm-add-modal .crm-type-option {
    position: relative;
    display: block;
    cursor: pointer;
}
.crm-add-modal .crm-type-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.crm-add-modal .crm-type-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid #dce4ee;
    border-radius: 12px;
    background: #fff;
    color: #43536a;
}
.crm-add-modal .crm-type-symbol {
    font-size: 27px;
    line-height: 1;
}
.crm-add-modal .crm-type-option input:checked + .crm-type-card {
    border-color: #2474b7;
    background: #edf5fd;
    color: #1763a1;
    box-shadow: inset 0 0 0 1px #2474b7;
}
.crm-add-modal .crm-type-option input:focus-visible + .crm-type-card {
    outline: 3px solid #a7ccef;
    outline-offset: 2px;
}
.crm-add-modal .crm-add-create-entity {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 9px;
    background: #f5f8fc;
}
.crm-add-modal .crm-add-create-entity input {
    width: auto !important;
    margin-top: 3px;
}
.crm-add-modal .crm-add-help {
    margin: -5px 0 3px;
    color: #748397;
    font-size: 12px;
}
.crm-add-modal .crm-add-form input:not([type="checkbox"]):not([type="radio"]) {
    background: #ffffff;
    opacity: 1;
}
.crm-add-modal .crm-add-form button {
    width: 100%;
    margin-top: 6px;
}
@media (max-width: 550px) {
    .crm-add-modal .crm-add-person {
        grid-template-columns: 1fr;
    }
}


/* Fenêtre d'ajout : règles isolées, sans interférence avec les anciens .crm-modal */
.crm-add-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.crm-add-overlay:target {
    display: flex;
}
.crm-add-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 36, 56, .64);
}
.crm-add-dialog {
    position: relative;
    width: min(570px, 100%);
    max-height: min(90vh, 850px);
    overflow-y: auto;
    background: #fff;
    color: #25364b;
    border: 1px solid #e4eaf1;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(16, 30, 52, .25);
}
.crm-add-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 23px 28px 17px;
    border-bottom: 1px solid #edf0f5;
}
.crm-add-header h2 {
    margin: 5px 0 0;
    font-size: 21px;
    color: #25364b;
}
.crm-add-close {
    color: #718094;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
}
.crm-add-form {
    display: grid;
    gap: 17px;
    padding: 23px 28px 28px;
}
.crm-add-form label:not(.crm-add-choice):not(.crm-add-checkbox) {
    display: grid;
    gap: 7px;
    color: #54657a;
    font-size: 13px;
    font-weight: 600;
}
.crm-add-form input:not([type="radio"]):not([type="checkbox"]) {
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #d9e2ec;
    border-radius: 9px;
    background: #fff;
    color: #26364b;
    font: inherit;
}
.crm-add-form input:focus {
    outline: 2px solid #a9cbe9;
    outline-offset: 1px;
}
.crm-add-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}
.crm-add-type legend {
    margin-bottom: 10px;
    color: #54657a;
    font-size: 13px;
    font-weight: 600;
}
.crm-add-choice {
    display: block;
    position: relative;
    cursor: pointer;
}
.crm-add-choice input {
    position: absolute;
    opacity: 0;
}
.crm-add-choice-card {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 17px 10px;
    border: 1px solid #dce4ed;
    border-radius: 11px;
    background: #fff;
    color: #52657b;
    text-align: center;
}
.crm-add-choice-card strong {
    font-size: 14px;
}
.crm-add-choice-card small {
    color: #8390a1;
    font-size: 11px;
}
.crm-add-choice input:checked + .crm-add-choice-card {
    border: 2px solid #2472ae;
    padding: 16px 9px;
    background: #eff7fe;
    color: #21699f;
}
.crm-add-choice input:focus-visible + .crm-add-choice-card {
    outline: 2px solid #2472ae;
    outline-offset: 3px;
}
.crm-add-names {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.crm-add-company {
    display: grid;
    gap: 8px;
}
.crm-add-help {
    margin: 0;
    color: #7d8b9c;
    font-size: 12px;
    line-height: 1.5;
}
.crm-add-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #34475d;
    font-size: 13px;
    cursor: pointer;
}
.crm-add-checkbox input {
    margin-top: 3px;
}
.crm-add-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    padding-top: 9px;
    border-top: 1px solid #edf0f5;
}
.crm-add-cancel {
    color: #69798c;
    text-decoration: none;
}
.crm-add-form:has(input[value="entite"]:checked) .crm-add-person-only {
    display: none;
}
@media (max-width: 580px) {
    .crm-add-dialog {
        max-height: 95vh;
    }
    .crm-add-header {
        padding: 20px;
    }
    .crm-add-form {
        padding: 20px;
    }
    .crm-add-names {
        grid-template-columns: 1fr;
    }
}

.crm-add-form select,
.crm-add-form textarea {
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #d9e2ec;
    border-radius: 9px;
    background: #fff;
    color: #26364b;
    font: inherit;
}
.crm-add-form textarea {
    resize: vertical;
    line-height: 1.5;
}
.crm-add-form select:focus,
.crm-add-form textarea:focus {
    outline: 2px solid #a9cbe9;
    outline-offset: 1px;
}

/* Autocomplétion des adresses françaises */
.crm-address-field {
    position: relative;
    display: grid;
    gap: 7px;
}
.crm-address-field > label {
    color: #54657a;
    font-size: 13px;
    font-weight: 600;
}
.crm-address-field > input:not([type="hidden"]) {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d9e2ec;
    border-radius: 9px;
    background: #fff;
    color: #26364b;
    font: inherit;
}
.crm-address-suggestions {
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 9px;
    box-shadow: 0 10px 25px rgba(18, 38, 66, .14);
}
.crm-address-suggestions[hidden] {
    display: none;
}
.crm-address-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    background: #fff;
    color: #26364b;
    text-align: left;
    font: inherit;
    cursor: pointer;
}
.crm-address-option:hover,
.crm-address-option:focus {
    background: #eff7fe;
}


@media(max-width:920px){.crm-content .crm-profile-grid{grid-template-columns:1fr}}
@media(max-width:650px){.crm-content .crm-edit-form{padding:20px 16px}.crm-contact-toolbar{flex-wrap:wrap}.crm-content .crm-role-form{align-items:flex-start;flex-direction:column}}
/* Sites CRM */
.crm-site-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.crm-site-button{border:0;border-radius:7px;background:#245d50;color:white;padding:11px 17px;cursor:pointer;font-weight:600}.crm-sites-map{height:360px;border-radius:12px;overflow:hidden;margin-bottom:22px;background:#edf2ef}.crm-site-dialog{width:min(720px,94vw);max-height:88vh;overflow:auto;border:0;border-radius:12px;padding:24px;box-shadow:0 18px 65px #0004}.crm-site-dialog::backdrop{background:#0008}.crm-site-dialog-top{display:flex;justify-content:space-between;align-items:center}.crm-site-dialog-top button{background:none;border:0;cursor:pointer;font-size:22px}.crm-site-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.crm-site-fields label{display:flex;flex-direction:column;gap:5px;font-weight:600}.crm-site-fields input:not([type="checkbox"]):not([type="radio"]),.crm-site-fields textarea,.crm-site-fields select{width:100%;padding:9px;border:1px solid #cbd5d1;border-radius:6px;font:inherit}.crm-site-fields label:has(textarea),.crm-site-fields label:has(select){grid-column:1/-1}.crm-site-detail{display:grid;grid-template-columns:1fr 1fr;gap:18px}.crm-site-info{padding:20px}.crm-site-info-line{display:grid;grid-template-columns:38% 1fr;gap:12px;padding:11px 0;border-bottom:1px solid #eee}.crm-site-iframe{width:100%;height:380px;border:0;border-radius:8px}.crm-site-success{color:#166534}.crm-site-muted{color:#64748b}@media(max-width:760px){.crm-site-detail,.crm-site-fields{grid-template-columns:1fr}}

/* Sites : mêmes boutons et tableaux que le CRM */
.crm-site-button{background:var(--crm-blue,#2563eb);color:#fff}
.crm-site-button:hover{filter:brightness(.92)}
.crm-site-map-field,.crm-site-associations{grid-column:1/-1}
.crm-site-picker-map{height:290px;border-radius:8px;margin:10px 0;background:#edf2f7;z-index:0}
.crm-site-coords{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.crm-site-selected{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}
.crm-site-chip{display:inline-flex;align-items:center;gap:8px;padding:5px 9px;border-radius:6px;background:#eef4ff;color:#23549c;font-size:12px}
.crm-site-remove{border:0;background:none;color:inherit;cursor:pointer;font-size:17px}
.crm-site-search-results{max-height:170px;overflow:auto;border-radius:6px}
.crm-site-search-result{display:block;width:100%;padding:9px 12px;text-align:left;border:0;border-bottom:1px solid #e9edf3;background:white;cursor:pointer}
.crm-site-search-result:hover{background:#f1f6ff}
.crm-site-tabs{display:flex;gap:18px;border-bottom:1px solid #d9e1ed;margin:16px 0 24px}.crm-site-tabs a{padding:10px 4px;color:#52647d;text-decoration:none}.crm-site-tabs a.active{color:#2563eb;border-bottom:3px solid #2563eb;font-weight:700}#crm-garde-calendar{min-height:400px}.crm-site-button{background:#3979d6!important;color:#fff!important;border:0;border-radius:7px;padding:10px 15px;cursor:pointer}

/* Onglets et actions des périodes de garde : cohérence avec le CRM */
.crm-content .crm-site-tabs{display:flex;gap:6px;margin:18px 0 24px;border-bottom:1px solid #d9e1ed;align-items:flex-end}
.crm-content .crm-site-tabs a{display:inline-block;padding:11px 17px;text-decoration:none;color:#53647b;border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;font-weight:600;background:transparent}
.crm-content .crm-site-tabs a:hover{color:#3979d6;background:#eef4fd}
.crm-content .crm-site-tabs a.active{color:#3979d6;background:#fff;border-color:#d9e1ed;box-shadow:inset 0 3px #3979d6}
.crm-content .crm-site-button-secondary{background:#f1f5f9!important;color:#334155!important;border:1px solid #cbd5e1!important}
.crm-content .crm-site-button-danger{background:#c0392b!important;color:#fff!important}
.crm-site-dialog form>button{margin:8px 6px 0 0}
.crm-site-search-result{display:block;width:100%;text-align:left;padding:9px;border:1px solid #d9e1ed;background:#fff;cursor:pointer}
.crm-site-search-result:hover{background:#eef4fd}


/* Tableau de bord : styles centralisés depuis accueil.php */
.crm-dashboard-orders { margin-top: 28px; }
.crm-dashboard-orders-panel { padding: 20px 24px; }
.crm-dashboard-orders-total { display: block; margin-top: 6px; font-size: 28px; }
.crm-dashboard-orders-types { margin-top: 18px; display: grid; gap: 10px; }
.crm-dashboard-orders-types > div { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #e5eaf0; padding-top: 10px; }

.crm-dashboard-reminders {
    margin-top: 28px;
}
.crm-dashboard-reminders-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.crm-dashboard-reminders-title h2 {
    margin: 0;
    font-size: 19px;
}
.crm-dashboard-reminders-title > span {
    color: #7c8a9b;
    font-size: 13px;
}
.crm-dashboard-reminders-list {
    display: grid;
    gap: 15px;
}
.crm-dashboard-reminder-card {
    border-left: 4px solid #dfaa45;
    padding: 20px 24px;
    margin-bottom: 0;
}
.crm-dashboard-reminder-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.crm-dashboard-reminder-head h3 {
    margin: 5px 0 0;
    font-size: 17px;
}
.crm-dashboard-reminder-text {
    margin-top: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.crm-dashboard-reminder-meta {
    margin: 12px 0 0;
    color: #7c8a9b;
    font-size: 12px;
}
.crm-dashboard-reminders-empty {
    color: #7c8a9b;
}
.crm-dashboard-orders-link {display:block;text-decoration:none;color:inherit;cursor:pointer;margin-top:20px;}
.crm-dashboard-orders-link:hover {border-color:#9ab8d5;background:#f8fbff;}
.crm-dashboard-orders-total {display:block;font-size:26px;margin:8px 0;}
.crm-dashboard-orders-type {display:flex;justify-content:space-between;gap:16px;padding:5px 0;}
.crm-dashboard-orders-types {display:block;margin-top:12px;}

/* Cartes de garde : règles limitées aux gardes, sans altérer les relances et transactions. */
.crm-content .crm-dashboard-orders .crm-garde-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--crm-line, #dce4ed);
    border-left: 4px solid #dfaa45;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0 0;
    box-sizing: border-box;
    cursor: pointer;
}
.crm-content .crm-dashboard-orders .crm-garde-card.crm-garde-card--active {
    border-left-color: #dc3545;
}
.crm-content .crm-dashboard-orders .crm-garde-card:hover {
    background: #f8fbff;
    border-left-color: #c58f29;
}
.crm-content .crm-dashboard-orders .crm-garde-card.crm-garde-card--active:hover {
    border-left-color: #dc3545;
}
/* Maintenir le style historique des relances et du bloc transactions. */
.crm-content .crm-dashboard-reminder-card {
    border-left: 4px solid #dfaa45;
    padding: 20px 24px;
    margin-bottom: 0;
}
.crm-content .crm-dashboard-orders-panel:not(.crm-garde-card) {
    padding: 20px 24px;
}

/* Navigation CRM : éléments plus compacts et défilement sur écrans bas. */
@media (min-width: 651px) {
    .crm-sidebar {
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        padding-top: 15px;
        padding-bottom: 12px;
    }
    .crm-sidebar .crm-brand {
        min-height: 62px;
        padding-bottom: 14px;
        flex-shrink: 0;
    }
    .crm-sidebar .crm-nav-label { padding-bottom: 7px; }
    .crm-sidebar .crm-nav { gap: 2px; }
    .crm-sidebar .crm-nav-item {
        padding: 7px 10px;
        gap: 9px;
        line-height: 1.3;
        min-height: 34px;
    }
    .crm-sidebar .crm-nav-item span { font-size: 16px; }
    .crm-sidebar .crm-nav-subitem {
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 25px;
        min-height: 29px;
        font-size: 12px;
    }
    .crm-sidebar .crm-sidebar-bottom {
        padding-top: 10px;
        margin-top: auto;
        flex-shrink: 0;
    }
}

/* Les cases à cocher et boutons radio conservent leur taille native. */
:is(.crm-app-body, .crm-personal-root, .crm-personal-login, .crm-personal-dialog) :is(input[type="checkbox"], input[type="radio"]) {
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    padding: 0;
    flex: 0 0 auto;
}
