/* « Microsoft 365 » (js/microsoft-365.js) : assistant de liaison de l'organisation du souscripteur. */
.m365-ecran { max-width: 1100px; margin: 0 auto; padding: 16px; box-sizing: border-box; }
.m365-entete { display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; }
.m365-entete h2 { margin: 0; font-size: 20px; font-weight: 600; }
.m365-entete p { margin: 2px 0 0; opacity: .8; font-size: 13px; }
.m365-carte { max-width: 640px; margin: 18px auto; padding: 18px 22px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 8px; }
.m365-etapes { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; counter-reset: m365; }
.m365-etapes li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; counter-increment: m365; font-size: 13px; line-height: 1.45; }
.m365-etapes li::before { content: counter(m365); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
	font-weight: 600; color: var(--charte-primaire, #1F7BB5); background: rgba(31, 123, 181, .10); }
.m365-etapes li strong { font-size: 14px; font-weight: 600; }
.m365-etapes li span { opacity: .8; }
.m365-actions { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.m365-actions .k-button svg { margin-right: 8px; }
.m365-org { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.m365-org > div { flex: 1; display: flex; flex-direction: column; }
.m365-org strong { font-size: 15px; }
.m365-org span { font-size: 12px; opacity: .75; overflow-wrap: anywhere; }
.m365-badge { padding: 2px 10px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.m365-badge.ok { background: rgba(46, 125, 50, .12); color: #2e7d32; }
.m365-badge.attente { background: rgba(230, 140, 0, .14); color: #a65e00; }
.m365-relie dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 14px; font-size: 13px; }
.m365-relie dt { opacity: .7; }
.m365-relie dd { margin: 0; }
.m365-aide { font-size: 13px; opacity: .85; margin: 4px 0 10px; }
.m365-carte h3 { font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.m365-carte h3 + .m365-regles, .m365-carte table + h3, .m365-carte .k-messagebox + h3 { margin-top: 0; }
.m365-carte .k-messagebox { margin: 0 0 16px; font-size: 13px; line-height: 1.5; }
.m365-carte .k-messagebox:last-child { margin-bottom: 0; }
.m365-resume { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 13px; }
.m365-resume th { text-align: left; font-weight: 600; opacity: .7; padding: 0 8px 6px 0; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.m365-resume td { padding: 7px 8px 7px 0; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.m365-manque { color: #b3412f; font-style: italic; }
.m365-regles { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; font-size: 13px; line-height: 1.5; }
.m365-regles li { position: relative; padding-left: 24px; }
.m365-regles li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 9px; height: 5px;
	border-left: 2px solid #2e7d32; border-bottom: 2px solid #2e7d32; transform: rotate(-45deg); }
/* Assistant : pas de cadre de focus epais sur les etapes ni de marque de cellule modifiee. */
.m365-ecran .k-stepper .k-step-link:focus, .m365-ecran .k-stepper .k-step-link:focus-visible,
.m365-ecran .k-stepper .k-step.k-focus, .m365-ecran .k-stepper .k-step:focus-visible { outline: none !important; box-shadow: none !important; }
.m365-ecran .k-stepper .k-step.k-focus .k-step-indicator::after { box-shadow: none; }
.m365-grille .k-dirty { display: none; }
.m365-grille .k-grid-content { max-height: 420px; }
.m365-grille .k-grid-toolbar .k-textbox { width: 280px; max-width: 100%; }
.m365-grille td { vertical-align: middle; }
@media (max-width: 640px) {
	.m365-ecran { padding: 8px; }
	.m365-carte { padding: 14px; }
}
.m365-actions .k-button { gap: 6px; }
.m365-loupe { display: inline-grid; place-items: center; padding: 0 4px 0 10px; opacity: .6; }
.m365-entete svg, .m365-org svg { flex: none; }
/* Etapes 2 et 3 : choix enregistres, aperçu et compte rendu de la synchronisation. */
.m365-champ { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 12px; font-size: 13px; }
.m365-champ > span { font-weight: 600; }
.m365-champ .k-dropdownlist { width: 280px; max-width: 100%; }
.m365-perimetre .k-messagebox { margin: 0 0 12px; font-size: 13px; }
.m365-carte.m365-large { max-width: 1000px; }
.m365-actions.m365-gauche { justify-content: flex-start; }
.m365-compteurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 0 0 16px; }
.m365-compteur .k-card-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; }
.m365-compteur strong { font-size: 22px; font-weight: 600; line-height: 1.1; }
.m365-compteur span { font-size: 12px; opacity: .75; }
.m365-compteur.creer strong, .m365-compteur.reactiver strong { color: #2e7d32; }
.m365-compteur.desactiver strong { color: #a65e00; }
.m365-compteur.erreur strong { color: #b3412f; }
.m365-compteur.m365-zero strong { color: inherit; opacity: .45; }
.m365-lignes .k-grid-content { max-height: 460px; }
.m365-lignes td { vertical-align: top; font-size: 13px; }
.m365-resultat .m365-attente { min-height: 120px; position: relative; }
.m365-vide { padding: 18px; text-align: center; opacity: .8; }
.m365-resume td .ds-secondaire { font-size: 12px; }
