﻿
@font-face {
	font-family: 'MyWebFont';
	src: url('../fonts/MonaSans-VariableFont_wdth,wght.ttf') format("truetype");
	src: url('webfont.eot?#iefix') format('embedded-opentype'), IE6-IE8 url('webfont.woff') format('woff'), Modern Browsers url('webfont.ttf') format('truetype'), Safari, Android, iOS url('webfont.svg#svgFontName') format('svg');
}

:root {
	font-size: 0.80rem !important;
	font-family: "MyWebFont" !important;
	--rz-text-color: #071A26; /* Changer la couleur de tout le texte globalement */
	--rz-text-truncate: #0d0c22;
	--rz-grid-sort-icon-color: gray;
	--rz-tabs-tab-text-transform: none;
	--rz-input-placeholder-color: #071A26;
	--rz-tooltip-color: #f1f0f0;
	/*   --rz-text-title-color: #333746;*/
	/* --rz-text-secondary-color: #394652;*/
	--rz-text-disabled-color: #DEDEE0;
	--rz-body-background-color: #ffffff;
	--rz-primary: #A68863;
	--rz-secondary: #A68863;
	--rz-success: #00B2A9;
	--rz-info: #0707fd;
	--rz-warning: #FFB500;
	--rz-danger: #ED0089;
	--rz-grid-border: 1px solid red; /* Bordure principale */
	--rz-grid-stripe-background-color: #F2F2F2; /* Lignes alternées */
	--rz-grid-cell-color: #525759; /* Texte des cellules */
	--rz-tooltip-color: #F2F2F2;
	/* Hover & sélection */
	--rz-grid-hover-color: #A68863; /* Hover cellule */
	--rz-grid-selected-background-color: #A68863; /* Cellule sélectionnée */
	/* Header & resizer */
	--rz-grid-column-resizer-helper-background-color: #102D40;
	--rz-grid-header-background-color: #F2F2F2; /* Fond header */
	--rz-grid-filter-focus-color: #A68863;
	--rz-grid-apply-filter-button-background-color: #A68863;
	--rz-grid-header-filter-icon-active-color: #A68863;
	/* Footer */
	--rz-grid-foot-background-color: #e0dfdf;
	--gold: #d4af37;
	--black: #0b0f19;
	--dark: #111827;
	--gray: #6b7280;
	--bg: #f5f7fa;
}
.text-primary {
	color: #102D40 !important;
}
.rz-sidebar-toggle:focus-visible, .rz-sidebar-toggle:hover {
	background: none !important;
}

.rz-steps .rz-menuitem-link {
	color: #525759 !important;
}

.rz-tabview-nav li {
	color: #0d0c22 !important; /* Changer la couleur du texte dans les onglets */
	font-weight: bold !important; /* Mettre les titres des onglets en gras */
}

/* Debut DropDown */
.rz-grid-table .rz-dropdown, .rz-grid-table .rz-dropdown-item {
	height: 30px !important; /* Ajuste la hauteur des éléments */
	padding: 0 !important; /* Enlever le padding par défaut */
	line-height: 35px !important; /* Assurer que le texte est centré verticalement */
	padding-left: 10px !important; /* Ajuste l'espace à gauche de chaque élément */
}
/* Fin DropDown*/

/***********************rz-accordion******************/
.rz-accordionPerso .rz-accordion-header > a {
	font-size: 16px !important;
}
/* Debut Grid */
.rz-grid-filter-icon {
	color: #333746;
}

.rz-sortable-column .rzi-sort {
	color: #665f5f !important;
}

.rz-sortable-column .rzi-sort {
	color: transparent;
}

.rz-column-filter {
	display: none;
}

.rz-column-title {
	cursor: pointer;
}

.rz-data-grid {
	border-radius: 17px 17px 0px 0px;
}

	.rz-data-grid .rz-search {
		height: 25px; /* Remplacez 40px par la hauteur souhaitée */
	}

.rz-datatable-thead th, .rz-grid-table thead th {
	/*    background-color: #A68863 !important;*/
	font-weight: bold;
	color: #F2F2F2 !important;
}



	.rz-datatable-thead th .rz-column-title-content, .rz-grid-table thead th .rz-column-title-content {
		font-weight: BOLD;
		/*      color: #F2F2F2 !important;*/
	}


/* Appliquer un fond différent et une bordure aux lignes dépliées */
.rz-data-grid .rz-expanded-row-content {
	background-color: #f0f8ff; /* Remplacer par la couleur de votre choix */
	border-left: 3px solid #007bff; /* Remplacer par la bordure souhaitée */
	border-right: 3px solid #007bff; /* Remplacer par la bordure souhaitée */
}

	.rz-data-grid .rz-expanded-row-content .rz-subgrid {
		background-color: #f8f9fa; /* Choisissez la couleur de fond */
		border: 1px solid #ddd; /* Choisissez la couleur de bordure */
		padding: 10px; /* Optionnel : ajoute un espacement autour du sous-grid */
		margin-top: 10px; /* Optionnel : ajoute un espace au-dessus du sous-grid */
	}

	.rz-data-grid .rz-expanded-row-content .rz-column-title-conten {
		color: #fff;
	}
	/* Lignes impaires (première ligne, troisième ligne, etc.) */
	.rz-data-grid .rz-expanded-row-content .rz-data-row:nth-child(odd) {
		background-color: white; /* Appliquer un fond vert aux lignes impaires */
	}

	/* Lignes paires (deuxième ligne, quatrième ligne, etc.) */
	.rz-data-grid .rz-expanded-row-content .rz-data-row:nth-child(even) {
		background-color: #b1d3fa; /* Appliquer un fond rouge aux lignes paires */
	}

.rz-layout {
	background-color: #f3f6f9 /*#fbfcfe*/;
}
/* Fin Grid */

.rz-header {
	background: #f7f9fb !important;
	border-bottom: 1px solid #ccc !important;
	box-shadow: none !important;
}

.rz-menu:not(.rz-profile-menu) {
	background-color: #f7f9fb !important;
}

.rz-card.rz-variant-filled {
/*	background: #f7f9fb;*/
	box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
}

.mn i.rzi {
	color: #525759 !important;
}

.rz-header .dropdown-menu a {
	color: #333746;
}
/* Personnalisation de Radzen styles */
.rz-textbox.invalid {
	border: 1px solid #f5c2c7 !important;
}

.rz-form-field.rz-state-disabled :not(.rz-button).rz-state-disabled, .rz-form-field.rz-state-disabled :not(.rz-button):disabled {
	color: #747474 !important;
	background-color: #9796961a !important;
}

.rz-state-disabled .rz-form-field-content > .rz-form-field-label {
	color: #000000 !important;
}

.rz-date-filter-buttons .rz-button, .rz-button-md {
	text-transform: capitalize;
}
/* S'assurer que le body et html héritent de cette taille */
html, body {
	font-size: inherit;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	/* La hauteur de la barre de navigation en pixels */
	/*  padding-top: 56px;*/
	padding: 0;
	margin: 0;
}
.layout-default {
	padding: 15px;
}

.layout-fiche {
	padding: 0;
}

/*.layout-container {
	margin: 0 auto;
	padding: 15px;
	max-width: 100%;
}*/

.page-title {
	border-bottom: 3px #ebebeb dashed;
	/* border-left: 3px #ebebeb solid; */
	font-size: 16px;
	font-weight: 500;
	MARGIN: 8px 0px;
	PADDING: 0 4px 4px 4px;
	color: #071A26;
}

.radzenIcone {
	font-size: 20px;
	margin-right: 4px;
}

.chart-container .recent-card {
	background: white;
	text-align: center;
	/*max-width: 400px;*/

	padding: 0px;
	min-height: 300px;
	min-width: 350px;
	margin: 1%;
}
.chart-container .recent-header {
	border-bottom: 1px solid #E9EBEC;
	text-align: left;
	font-size: 16px;
	padding: 6Px 12px;
	color: #071A26;
	display: block;
	font-weight: 500;
	width: 100%;
}


.dropend:hover > .dropdown-menu {
	display: block;
}

.dropdown:hover > .dropdown-menu,
.dropend:hover > .dropdown-menu {
	display: block;
}

.dropstart:hover > .dropdown-menu {
	display: block;
}

.dropend:hover > .dropdown-menu {
	position: absolute;
	top: 0;
	left: 100%;
}

.dropstart:hover > .dropdown-menu {
	position: absolute;
	top: 0;
	right: 100%;
}

/*.navbar-nav .nav-item {*/
/*   color: #fff;*/
/*    font-weight: 500;*/
/*padding: 0 1px;
}

.navbar-nav .nav-link:hover, .navbar-nav .dropdown-menu a:hover {
	background-color: #2d4373;
	color: #fff;
}*/

.Setting label {
	text-align: right;
}

.dropend:hover, .dropstart .dropdown-toggle:hover, .dropdown-item:hover {
	background-color: rgb(238, 230, 230);
	color: #483D8B;
}

.dropdown-menu {
	padding: 0 auto;
}

.dropdown-divider {
	margin: 2px;
}

.nav-pills .dropdown-toggle:hover {
	color: #212529;
}

.footer {
	/*background: #e0dfdf;*/
	color: #525759;
	padding: 10px;
	border-top: 1px solid #ccc !important;
	background: #f7f9fb !important;
}

	.footer .rz-footer {
		padding: 5px;
	}

[aria-current="page"] {
	pointer-events: none;
	cursor: default;
	text-decoration: none;
	color: black;
}

.loading-container {
	display: flex; /* Activer le mode flex */
	justify-content: center; /* Centrer horizontalement */
	align-items: center; /* Centrer verticalement */
	height: 100vh; /* Prend toute la hauteur de la vue */
}

.default-tooltip-style {
	color: #685656 !important;
	font-size: 15px !important;
}




.box {
	background: white !important;
	border: 1px solid #ccc !important;
	border-radius: 5px;
	padding: 10px;
}

.labelEntite {
	font-weight: bold !important;
	background: #4dabf5 !important;
	text-decoration: underline !important;
	padding: 5px;
}

a, a:link, a:visited, a:hover, a:active {
	cursor: pointer !important;
}

.invalidInput {
	border: 1px solid #ff384c !important;
}

.custom-padding {
	padding-right: 10px;
}

.form .rz-form-field {
	width: 100%;
}

.txtFormField {
	width: 100% !important
}

.valeurMontant {
	width: 50% !important
}

.deviseMontant {
	width: 49% !important
}

.updatediv {
	position: sticky;
	top: 0;
	z-index: 1000;
}

body.loginLayout {
	height: 100vh; /* pleine hauteur */
	margin: 0;
	background: linear-gradient(to bottom, #A68863, #F2F2F2);
	font-family: Arial, sans-serif;
}


.containerBien {
	display: flex;
	justify-content: center; /* Centre horizontalement */
	align-items: center; /* Centre verticalement */
	/*height: 100vh;*/ /* Occupe toute la hauteur de la fenêtre */
	text-align: center; /* Centre le texte à l'intérieur */
}

	.containerBien h1 {
		font-size: 2em;
		margin-bottom: 10px;
	}

	.containerBien p {
		font-size: 1.2em;
		margin-bottom: 20px;
	}

	.containerBien .btn {
		padding: 12px 24px;
		font-size: 0.9em;
	}

.moduleEditor {
	border-left: 2px solid #A68863;
	padding: 6px;
	background-color: #d9d9d9;
}

#uploadWithDragAndDrop {
	left: 0;
	--rz-upload-button-bar-background-color: transparent;
	--rz-upload-button-bar-padding: 0;
}

	#uploadWithDragAndDrop .rz-fileupload-buttonbar .rz-fileupload-choose {
		width: 100%;
		text-align: center;
		font-size: 16px;
		padding: 100px 0;
	}


/******************************************************** Form ********************************************************/

.FormMaj .rz-form-field-label {
	/*    color: #495057 !important;*/
	color: #6c757d !important;
	/*   color: #adb5bd !important;*/
	font-size: 0.8rem;
}

.Form .rz-form-field-label {
	/*    color: #495057 !important;*/
	color: #A68863 !important;
	/*      color: #adb5bd !important;*/
	font-size: 0.8rem;
	text-transform: uppercase;
}

.rz-form-field-content, .rz-timespanpicker > .rz-inputtext,
.rz-colorpicker, .rz-lookup-search input, .rz-numeric, .rz-datepicker > .rz-inputtext, .rz-multiselect,
.rz-dropdown, .mask, .rz-textarea, .rz-textbox {
	--tw-border-opacity: 1;
	border-color: #DDD !important;
	font-size: 1.05rem;
	font-weight: 600;
	color: #212529;
	/*    padding: 0.6rem 0.75rem;*/
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 6px;
	background-color: #fff;
	transition: border-color 0.2s;
}


.FormCreate .rz-numeric {
	border: none !important;
	width: 100%;
}


.Form .rz-button-box {
	line-height: 1.7rem;
}

.Form .rz-dropdown {
	HEIGHT: 36px;
	line-height: 29px;
}

.Form .bg-green {
	--tw-bg-opacity: 1;
	background-color: #A68863 !important;
}

	.Form .bg-green:hover {
		background-color: rgb(22, 163, 74);
	}

.Form .btn-sousMettre {
	--tw-bg-opacity: 1;
	background-color: #607D8B !important;
}

.Form .btn-save {
	--tw-bg-opacity: 1;
	background-color: #7899A6 !important;
}

.titreGreen {
	color: #616161 !important;
	font-weight: 500 !important;
}
/******************************************************** End Form ********************************************************/

/************************************************************ Fiche entite ************************************************************/
.section-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #b45309; /* orange brûlé */
	font-family: 'Georgia', serif;
	margin-bottom: 2rem !important;
	padding-bottom: 6px;
	border-bottom: 4px solid #ea580c; /* soulignement orange vif */
	max-width: fit-content;
}

.section-separator {
	border: none;
	height: 2px;
	background-color: #f97316; /* orange clair */
	box-shadow: 0 2px 4px rgba(249, 115, 22, 0.5);
	margin: 3rem auto;
	width: 70%;
	border-radius: 3px;
}

/
/************************************************************ End Fiche entite ************************************************************/
a.nav-link {
	cursor: pointer;
}



/***********************start bouton******************/
/* Exemple CSS dans ton fichier CSS global ou dans la balise <style> */
.BtnPerso .btn.rz-button {
	background-color: #cccccc !important;
	color: white !important;
	color: #000000 !important;
	opacity: none !important;
}

.BtnPerso .btn-warning.rz-button {
	background-color: #A68863 !important; /* Couleur warning bootstrap */
	color: #FFF !important;
}

.BtnPerso .btn-success.rz-button {
	background-color: #00B2A9 !important;
	color: white !important;
}

.BtnPerso .btn-outline-secondary.rz-button {
	background-color: #6c757d !important;
	color: white !important;
	opacity: none !important;
}

.BtnPerso .btn, .btn-outline-secondar, .btn-warning, .btn-success {
	margin-right: 10px; /* espace entre les boutons */
}

.Securiy .rz-button.rz-info.rz-shade-default {
	background: #ccc !important;
	color: black !important;
}

/*********************** end bouton******************/


/*******************************document**************/


.flex-alignement {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	flex-wrap: nowrap;
}

.folder-icon {
	font-size: 24px;
	color: #f9c74f; /* Jaune doux et pro */
}

.folder-name {
	cursor: pointer;
	transition: color 0.3s ease;
}

	.folder-name:hover {
		color: #007bff; /* Bleu élégant au survol */
	}

.edit-input {
	width: 100%;
	padding: 0.25rem;
}

.Doc .rz-treenode-content-selected .rz-treenode-label {
	background: none !important;
}

/* Améliore le comportement du chat flottant sur petits écrans */
@media (max-width: 600px) {
	.chat-widget {
		width: 90vw !important;
		height: 80vh !important;
		right: 5vw !important;
		bottom: 5vh !important;
	}
}

.BgAttente {
	background: #ebebeb !important;
}

.BgToValidate {
	background: #ffffce;
}

.rz-grid-table .invalid {
	border-color: red !important;
	background-color: #fff0f0;
}

/* change tooltip error background*/
.my-custom-validator, .rz-grid-table.rz-messages-error {
	all: unset;
	background-color: #fff0f0;
	border: 1px solid red;
	text-align: left;
	padding: 3px;
	margin-left: 2px !important;
	border-radius: 4px;
	position: absolute;
	z-index: 9999;
	transform: translateY(46%); /* place le message au-dessus de l'input */
	white-space: normal;
	max-width: 400px;
	box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

/*.my-custom-validator:before {
    content: "";
    border: var(--rz-validator-pointer-size) solid transparent;
}*/

#uploadWithDragAndDrop .rz-fileupload-content {
	/* Styles spécifiques à appliquer */
	background-color: #f0f0f0;
	border: 2px dashed #ccc;
	padding: 10px;
	border-radius: 5px;
	display: none !important;
}

.loading-overlay-blur {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(1px);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
}

#Diagram_diagramlayer g[id^="Node"] g[id^="Node"] {
	display: none;
}

.rz-fileupload-content {
	/*display: none !important;*/
}

.rz-treenode-content .rz-treenode-label {
	width: 100%;
}

.documentPreview .rz-dialog-content {
	height: 100vh;
}

.document-file {
	overflow-wrap: anywhere;
}

.companyHasInvalidoperation {
	background: linear-gradient(135deg, #fff3cd, #ffeeba); /* dégradé jaune clair */
	color: #856404; /* texte brun-orangé lisible */
	border: 1px solid #ffeeba;
	border-left: 6px solid #ff9800; /* bandeau latéral orange */
	padding: 3px 16px;
	margin: 10px 0;
	border-radius: 8px;
	font-size: 14px;
	display: flex;
	align-items: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

	.companyHasInvalidoperation::before {
		content: "⚠️ "; /* icône avant le texte */
		margin-right: 8px;
		font-size: 16px;
	}



/* Large screens (lg: ≥1200px for example) → maybe go back to auto-fit */
@media (min-width: 1200px) {
	.chart-container .cards {
		/*grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));*/
	}
}


.recent-list {
	text-align: left;
	list-style: none;
	margin: 0;
	padding: 0;
}

	.recent-list li {
		border-bottom: 1px solid #f1f5f9;
		cursor: pointer;
		transition: background 0.2s;
	}

	.recent-list li {
		display: block;
		padding: 10px 16px;
		font-size: 14px;
		color: #444;
	}

		.recent-list li a {
			text-decoration: none;
		}

			.recent-list li a:hover {
				background-color: #f6f6f6;
			}

.status {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border-radius: 0.5rem;
	font-size: 0.8rem;
	font-weight: 500;
}

	.status.Saved {
		background: #8080803d;
		color: #615e5c;
	}

	.status.Validated {
		background: #dcfce7;
		color: #166534;
	}

	.status.Deleted {
		background: #fee2e2;
		color: #991b1b;
	}

	.status.Pending {
		background: #fef3c7;
		color: #92400e;
	}

/* end dashboard style */

/* Reset autofill background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 30px white inset !important;
	-webkit-text-fill-color: #000 !important; /* Ensures text stays black */
}

/* Remove border red from invalid textbox */
.rz-form-field.rz-variant-outlined .rz-textbox.invalid {
	border: none !important;
}

.administration-cards .env-card {
	background: #fff;
	padding: 20px;
	border-radius: 16px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
	text-align: center;
}

	.administration-cards .env-card p {
		margin: 10px 0 0;
		font-size: 1.5rem;
		font-weight: bold;
		color: #1e40af;
	}

	.administration-cards .env-card h3 {
		margin: 0;
		font-size: 1rem;
		color: #555;
	}

.active-user {
	padding: 5px 10px;
	border-radius: 100%;
	background: #c1f4d2;
	color: #166534;
}

.inactive-user {
	padding: 5px 10px;
	border-radius: 100%;
	background: #fee2e2;
	color: #991b1b;
}

.dashboard-header {
	background: #1e293b;
	color: #fff;
	padding: 20px;
	text-align: center;
	font-size: 1.5rem;
	font-weight: bold;
}

.login-left-section {
	background-color: #183351;
	display: flex;
	justify-content: center;
}

.operation-title {
	background: #e7e7e7;
	padding: 10px;
}

.sidebarInstance {
	background: #fff !important;
	padding: 5px !important;
	/*    width: 200px !important;
    margin-left: -45px !important;*/
}

.containerInstance {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px;
}

.sidebarInstance .rz-text-h6 {
	font-weight: 600 !important;
	color: #416bb3 !important;
}

.sidebarInstance .rz-button {
	border-radius: 10px !important;
	font-weight: 500 !important;
}

.sidebarInstance .rz-primary {
	background: #416bb3;
	border-color: #416bb3;
}

	.sidebarInstance .rz-primary:hover {
		background: #2d4670;
		border-color: #2d4670
	}

.sidebarInstance .rz-secondary:hover {
	color: #416bb3 !important;
	border-color: #416bb3 !important;
	background: #9c9d9f !important;
}

.participant.hidden {
	display: none;
}


.profilemenu * {
	color: #071A26 !important;
	/*font-size: 12px !important;*/
}

	.profilemenu * .rz-navigation-item-wrapper :hover {
		font-weight: 900 !important;
		background: #F2F2F2;
	}

.sousMenuActive .rz-navigation-item-wrapper * {
	background-color: #A68863 !important;
	border-radius: 3px !important;
}

/*.leftMenu {
	padding: 5px !important;
}
*/


.logo-lg {
	padding-left: 7px;
}

.text-success {
	color: #00bdae !important;
}

.rz-card.rz-variant-filled.CardBorder {
	border: 1px solid #ebebeb;
}


.flag img {
	width: 20px;
	height: 20px;
	border-radius: 4px;
	padding: 1Px;
}
.flag:hover, .my-notif-button:hover {
	border-radius: 4px;
	BACKGROUND: #F2F2F2 !important;
	border-radius: 30px !important;
}
.flag .rz-navigation-item-icon-children {
	display: none !important;
}
.my-notif-button {
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}
	.my-notif-button .rzi {
		font-size: 22px !important;
	}
.footerLogin {
	background-color: #f8f9fa;
	padding: 10px 0;
	justify-content: center;
}
.login-container {
	justify-content: center; /* centre horizontalement */
	align-items: center; /* centre verticalement */
	/* prend toute la hauteur de l’écran */
	margin-top: 50vh; /* poussé de la moitié de hauteur de viewport */
	transform: translateY(-50%); /* tiré de la moitié de sa propre hauteur */
	WIDTH: 700px;
	background: white;
}
	.login-container h5.text-primary {
		font-size: 16.25px;
	}

	.login-container .rz-card {
		box-shadow: unset !important;
		border: unset;
		/*	padding: 20px 10px !important;*/
	}

		.login-container .rz-card.rz-variant-filled {
			border: unset;
		}

	.login-container .rz-label {
		font-weight: 500 !important;
	}

	.login-container .alert-warning {
		color: #d29c40 !important;
	}

	.login-container .img-fluid {
		min-height: 100%;
		width: auto;
		object-fit: cover;
		border-top-left-radius: 8px;
		border-bottom-left-radius: 8px;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}
	.login-container .custom-col-padding {
		border-top-right-radius: 8px;
		border-bottom-right-radius: 8px;
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
	}
	.login-container .rz-button.rz-variant-text.rz-primary.rz-shade-default:hover {
		background: #F2F2F2;
		color: #102D40;
	}
.report {
	max-width: 100%;
	margin: 20px auto;
	padding: 20px;
	background: white;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
}

	/* HEADER */
	.report .section-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 15px;
		padding: 15px 20px;
		background: #f0f0f0;
		border-radius: 10px;
		justify-content: space-between;
		border-left: 4px solid var(--gold);
	}

	/* ACTIONS */
	.report .section-actions {
		display: flex;
		gap: 6px;
	}

	/* GRID */
	.report .grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 20px;
	}

	/* FIELD */
	.report .field {
		background: #f9fafb;
		padding: 12px;
		border-radius: 8px;
	}

.field label {
	font-size: 11px;
	color: #6b7280;
}

/* VALUE */
.report .value {
	font-weight: 600;
	margin-top: 4px;
	color: #111827;
}

/* ERROR */
.report .field-error {
	font-size: 11px;
	color: #dc2626;
}



/* UPLOAD */
.report .upload-zone {
	border: 1px dashed #d1d5db;
	padding: 10px;
	border-radius: 10px;
}

/* FILE */
.report .file-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f3f4f6;
	padding: 8px;
	border-radius: 10px;
	margin-top: 8px;
}

.report .file-name {
	margin-left: 8px;
}

/* ERROR BORDER */
.report .invalid {
	border-color: #ef4444 !important;
}


.report .section-content.collapsed {
	display: none;
}


input::placeholder {
	color: #999;
	font-weight: 400;
	opacity: 1;
}


/* HEADER GLOBAL */
.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #102D40;
	/*background: #1C5A6B;*/
	border-bottom: 4px solid #A68863;
}

.header-left {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 20px;
}

.header-right {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	padding: 20px 20px;
}

/* DROPDOWN */
.company-dropdown {
	width: 100%;
	background: #374151 !important;
	border: none !important;
}

	/* Adapter Radzen dropdown */
	.company-dropdown .rz-dropdown {
		background-color: #102D40 !important;
		color: #F2F2F2 !important;
		border-radius: 6px;
	}

	.company-dropdown .rz-dropdown-trigger-icon, .company-dropdown i.rzi {
		color: white !important;
	}

	.company-dropdown .rz-dropdown-label {
		color: #F2F2F2 !important;
	}



/* BOUTON ADD */
.btn-add-company {
	background-color: #A68863 !important;
	color: white !important;
	border-radius: 8px;
	font-weight: 600;
}

	.btn-add-company:hover {
		background-color: #F2F2F2 !important;
		color: #071A26 !important;
	}

/* KPI */
.kpi-card {
	border: 1px solid #eee;
	border-top: 3px solid #A68863;
	border-radius: 10px;
	padding: 16px;
	text-align: center;
	background: #ffffff;
	transition: 0.2s;
}

/* label */
.kpi-label {
	font-size: 12px;
	color: #6b7280;
	display: block;
	margin-bottom: 6px;
	letter-spacing: 0.5px;
	font-weight: bold;
}

/* value */
.kpi-value {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
}

/* hover effet léger */
.kpi-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}



/* SECTIONS */
.section {
	margin-top: 20px;
	border-radius: 8px;
}

.rz-card.rz-variant-filled {
	box-shadow: none;
	border: 1px solid #eee;
}

.section-header {
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
	border-left: 4px solid #A68863;
	margin: 0; /* IMPORTANT */
	border-radius: 8px 8px 0 0;
	background: #fafafa;
}

	.section-header .titre {
		font-size: 14px;
	}

.no-padding {
	padding: 0 !important;
}
/* FIELD */
.field {
	background: #f9fafb;
	padding: 12px;
	border-radius: 8px;
	font-size: 14px;
	color: black;
	font-weight: 600;
}

	.field label {
		font-size: 11px;
		color: #6b7280;
	}

/***NAVBAR2*/
:root {
	--c-2: #102D40;
	--c-4: #A68863;
	--c-5: #F2F2F2;
	--menu-normal: #d7e1e8; /* couleur base items */
	--menu-strong: #ffffff; /* hover/active/sections */
	--menu-active-bg: #A68863 !important; /* fond actif */
	--submenu-line: rgba(166,136,99,.35);
}




/*************last menu */
/* Sidebar  */
.sidebar {
	height: 100vh;
	background: var(--c-2);
	color: var(--c-5);
	padding: 14px 10px;
	overflow-y: auto;
}

.company-sidebar {
	background: #102D40
	/*background-color: #1C5A6B;*/ /* ou autre couleur que tu choisis */
}

.brand {
	height: 54px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	margin-bottom: 50px;
	font-weight: 700;
	letter-spacing: .4px;
}

.sidebar .rz-panel-menu {
	background: inherit;
	color: var(--c-5);
}

	.sidebar .rz-panel-menu .rz-navigation-menu .rz-navigation-item-wrapper {
		background: inherit;
		color: var(--c-5);
	}

	.sidebar .rz-panel-menu .rz-navigation-item :hover {
		background: transparent !important;
	}

	.sidebar .rz-panel-menu .rz-navigation-item {
		width: 100%;
		border: 1px solid transparent;
		background: transparent;
		color: var(--menu-normal);
		text-align: left;
		/*	padding: 10px 12px;*/
		border-radius: 9px;
		cursor: pointer;
		justify-content: space-between;
		align-items: center;
		font-size: .95rem;
		transition: background .2s ease, color .2s ease, border-color .2s ease;
	}

		.sidebar .rz-panel-menu .rz-navigation-item.section {
			color: var(--menu-strong);
			font-weight: 700;
			background: rgba(255,255,255,.06);
			border-left: 3px solid #A68863;
			letter-spacing: .2px;
			margin-top: 10px;
		}

		.sidebar .rz-panel-menu .rz-navigation-item :hover {
			color: var(--menu-strong);
		}

.sidebar .rz-navigation-item-wrapper-active {
	all: unset;
}

.sidebar .rz-navigation-item.active {
	color: var(--menu-strong);
	font-weight: 700;
	background: rgba(255,255,255,.06);
	letter-spacing: .2px;
	margin-top: 10px;
}

.sidebar .level1 {
	color: white;
	font-weight: 600;
}

.sidebar .rz-panel-menu .rz-panel-menu {
	border-left: 2px solid var(--submenu-line);
}

.menu-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: inherit;
}

	.menu-arrow:hover {
		color: #d7e1e6 !important;
	}

	.menu-arrow .rz-icon svg, .menu-arrow .rzi {
		font-size: 1.5rem;
		line-height: 1;
	}

.menuArrowBack {
	line-height: 2;
	display: inline-block;
	margin-top: 20px;
	cursor: default;
	font-size: 13px;
	/*    color: #abb9e8 !important;*/
	text-transform: uppercase;
	font-weight: 700 !important;
	letter-spacing: 2px;
}

	.menuArrowBack *:hover {
		color: #d7def4 !important;
	}

.card {
	background: white;
	border-radius: 12px;
	padding: 1rem;
	box-shadow: 0 4px 14px rgba(0,0,0,0.05);
	transition: all 0.2s ease;
}

	.card:hover {
		transform: translateY(-2px);
	}

.card--kpi {
	padding: 4px 10px;
	min-height: 42px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0px;
}


.card--highlight {
	background: #fff7ed;
}
.grid--kpi {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 8px;
	align-items: start;
}
.card--kpi span {
	font-size: 10px;
	color: #6b7280;
	line-height: 1;
	margin: 0;
}

..card--kpi strong {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.1;
	margin: 0;
}
.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.panel {
	margin-bottom: 1rem;
}

.panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	background: #f9fafb;
	border-radius: 10px;
	border-left: 4px solid var(--rz-primary);
}

.panel-title {
	font-size: 1rem;
	font-weight: 700;
}

.panel-actions {
	display: flex;
	gap: 8px;
}
.panel-body {
	display: block;
}

.panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.panel-body .grid {
	display: grid;
}
.header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}
.action-icon {
	cursor: pointer;
	padding: 6px;
	border-radius: 8px;
	background: #f3f4f6;
	transition: all 0.2s ease;
}

	.action-icon:hover {
		background: #e5e7eb;
		transform: scale(1.05);
	}
.progress-bar {
	width: 120px;
	height: 6px;
	background: #e5e7eb;
	border-radius: 4px;
	overflow: hidden;
}

	.progress-bar div {
		height: 100%;
	}

.progress-bar--safe div {
	background: linear-gradient(90deg, #22c55e, #16a34a);
}

.progress-bar--danger div {
	background: linear-gradient(90deg, #ef4444, #b91c1c);
}
.grid {
	display: grid;
	gap: 12px;
}

.grid--responsive {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.field {
	background: #f9fafb;
	padding: 12px;
	border-radius: 8px;
}

	.field label {
		font-size: 11px;
		color: #6b7280;
	}

.value {
	font-weight: 600;
	margin-top: 4px;
}
/* =========================================
   RADZEN DATAGRID - SECURITIES FINAL SKIN
   MATCH EXACT DOM PROVIDED
   ========================================= */
/* =========================================================
   ENV / SECURITIES DATA GRID THEME (RADZEN OVERRIDE)
   ========================================================= */

/* =========================================
   CONTAINER
   ========================================= */
body .rz-data-grid {
	border: 1px solid rgba(212, 175, 55, 0.22) !important;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0,0,0,0.04);
	background: white !important;
}

/* =========================================
   TABLE BASE
   ========================================= */
body .rz-grid-table {
	width: 100%;
	border-collapse: collapse !important;
	font-size: 12px;
}

/* =========================================
   HEADER
   ========================================= */
body .rz-data-grid thead th {
	background: linear-gradient(to right, #ffffff, #fafafa) !important;
	border-bottom: 2px solid #d4af37 !important;
	padding: 8px 12px !important;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #374151;
	vertical-align: middle;
	position: relative;
}

	/* GOLD LEFT BORDER */
	body .rz-data-grid thead th:first-child {
		border-left: 3px solid #d4af37;
	}

/* =========================================
   REMOVE SORT ICON (fix header height)
   ========================================= */
body .rzi-grid-sort,
body .rzi-sort,
body .rzi-sort-asc,
body .rzi-sort-desc {
	display: none !important;
}

/* FORCE SINGLE LINE HEADER */
body .rz-column-title,
body .rz-column-title-content {
	white-space: nowrap !important;
	display: flex;
	align-items: center;
}

/* =========================================
   ROWS BASE (important Radzen override)
   ========================================= */
body .rz-grid-table tbody tr,
body .rz-grid-table tbody tr.rz-my-2,
body .rz-data-row {
	background: white !important;
	transition: background-color 0.18s ease, transform 0.15s ease;
}

/* REMOVE ALL STRIPING */
body .rz-grid-table-striped tbody tr:nth-child(even),
body .rz-grid-table-striped tbody tr:nth-child(odd) {
	background: white !important;
}

--rz-grid-stripe-background-color: #F2F2F2; /* Lignes alternées */
/* CUSTOM ZEBRA (soft securities style) */
body .rz-grid-table tbody tr:nth-child(even) {
	background: #F2F2F2 !important;
}

/* ROW HOVER */
body .rz-grid-table tbody tr:hover {
	background: #f9fafb !important;
	transform: translateY(-1px);
}

/* =========================================
   CELLS
   ========================================= */
body .rz-data-grid td {
	padding: 10px 12px !important;
	border-bottom: 1px solid #eee !important;
	font-size: 12px;
	vertical-align: middle;
}

/* RIGHT ALIGN FIX */
body td[style*="text-align:right"] {
	text-align: right !important;
}

/* =========================================
   EXPANDED ROW FIX (IMPORTANT)
   ========================================= */
body .rz-expanded-row-content > td {
	background: #ffffff !important;
	border-left: 3px solid #102d40 !important;
}

/* kill blue selection / expanded marker */
body .rz-state-selected > td:first-child,
body .rz-data-row.rz-state-selected > td:first-child {
	border-left: 3px solid #102d40 !important;
	box-shadow: inset 3px 0 0 #102d40 !important;
}

/* =========================================
   EXPAND ICON COLUMN CLEANUP
   ========================================= */
body .rz-row-toggler {
	color: #102d40 !important;
}

/* =========================================
   FROZEN COLUMN FIX
   ========================================= */
body .rz-frozen-cell {
	background: white !important;
	z-index: 2;
}

/* =========================================
   ACTION BUTTON COLUMN
   ========================================= */
body .rz-button-icon-only:hover {
	transform: scale(1.05);
	transition: 0.2s ease;
}

/* =========================================
   PAGER
   ========================================= */
body .rz-pager {
	border-top: 1px solid #eee;
	background: #fafafa;
}

/* =========================================
   EXPANDED GRID INSIDE ROW (nested grids)
   ========================================= */
body .rz-expanded-row-content .rz-data-grid {
	border-radius: 10px;
	border: 1px solid rgba(0,0,0,0.06);
}

/* =========================================
   SMOOTH ROW APPEARANCE (animation feel)
   ========================================= */
/*body .rz-data-row,
body .rz-expanded-row-content {
	animation: fadeInRow 0.12s ease-in-out;
}

@keyframes fadeInRow {
	from {
		opacity: 0.6;
		transform: translateY(2px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}*/

@media print {

	/* Hide everything by default */
	body * {
		visibility: hidden;
	}

	/* Show only our page */
	.env-page, .env-page * {
		visibility: visible;
	}

	.env-page {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
	}

	/* Remove unwanted UI */
	.no-print,
	button,
	.rz-button,
	.action-icon {
		display: none !important;
	}

	/* Clean look */
	.card {
		box-shadow: none !important;
		border: 1px solid #ddd;
	}
}

/* ================= HEADER ================= */

.page-header {
	margin-bottom: 20px;
}

	.page-header h2 {
		margin: 0;
	}

.page-subtitle {
	color: gray;
	font-size: 0.9rem;
}

.page-meta {
	font-size: 0.8rem;
	color: #666;
}

/* ================= PANEL ================= */

.panel-body {
	padding: 1rem;
}
.env-panel {
	page-break-inside: avoid;
}

.section-content {
	page-break-inside: auto;
}
.section-content {
	margin-top: 1rem;
	border-top: 1px solid #eee;
	padding-top: 0.8rem;
}
.panel-title {
	color: #A68863 !important;
}
.rz-sidebar.rz-sidebar-start {
	border-inline-end: unset !important;
}


/* ENVIE - Correction superposition Radzen */

/* Masque derrière les fenêtres */
.rz-dialog-mask {
	z-index: 1999 !important;
}

/* Conteneur des fenêtres devant le masque */
.rz-dialog-wrapper {
	z-index: 2000 !important;
}

	/* Fenêtre au-dessus du masque */
	.rz-dialog-wrapper > .rz-dialog {
		z-index: 2001 !important;
	}

.ai-book {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	background: var(--rz-base-background-color, #fff);
}

.ai-book-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	border-bottom: 1px solid #e2e8f0;
}

	.ai-book-header .material-icons {
		font-size: 26px;
		color: #64748b;
	}

.ai-book-title {
	font-size: 16px;
	font-weight: 700;
}

.ai-book-subtitle {
	font-size: 12px;
	color: #64748b;
}

.ai-book-identity {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 16px;
}

.ai-book-identity-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px 12px;
	border-radius: 8px;
	background: rgba(148, 163, 184, .09);
	min-width: 0;
}

	.ai-book-identity-item span {
		color: #64748b;
		font-size: 12px;
	}

	.ai-book-identity-item strong {
		font-size: 13px;
		overflow-wrap: anywhere;
	}

.ai-book-section {
	margin: 10px 16px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}

	.ai-book-section summary {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 12px;
		cursor: pointer;
		font-weight: 600;
		background: rgba(148, 163, 184, .08);
	}

.ai-book-count {
	font-size: 12px;
	color: #64748b;
}

.ai-book-table-wrapper {
	overflow-x: auto;
	max-width: 100%;
}

.ai-book-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

	.ai-book-table th,
	.ai-book-table td {
		padding: 9px 12px;
		border-bottom: 1px solid #e2e8f0;
		text-align: left;
		white-space: nowrap;
	}

	.ai-book-table th {
		font-weight: 600;
	}

.ai-book-empty {
	padding: 16px;
	color: #64748b;
	font-size: 13px;
}

@media (max-width: 650px) {
	.ai-book-identity {
		grid-template-columns: 1fr;
	}
}
.ai-book-navigation {
	padding: 12px 16px;
	border-bottom: 1px solid #e2e8f0;
}


/* =========================================================
   ENVIE - SIMULATION CAPITALISTIQUE
   ========================================================= */

.ai-simulation-result {
	margin-top: 12px;
	width: 100%;
	min-width: 0;
}

/* Résumé des variations */

.ai-sim-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin: 14px 0;
	font-size: 0.9rem;
	font-weight: 600;
}

/* Conteneur du tableau */

.ai-sim-table-scroll {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	margin-top: 12px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

/* Tableau */

.ai-simulation-result table {
	width: 100%;
	min-width: 850px;
	margin-bottom: 0;
	border-collapse: collapse;
	font-size: 0.85rem;
}

/* En-têtes */

.ai-simulation-result th {
	padding: 10px 12px;
	background: #f1f5f9;
	color: #334155;
	font-weight: 600;
	border-bottom: 1px solid #cbd5e1;
	white-space: nowrap;
}

/* Cellules */

.ai-simulation-result td {
	padding: 9px 12px;
	vertical-align: middle;
	border-bottom: 1px solid #e5e7eb;
}

	/* Première colonne : société */

	.ai-simulation-result th:first-child,
	.ai-simulation-result td:first-child {
		text-align: left;
		min-width: 230px;
		white-space: normal;
	}

	/* Colonnes numériques */

	.ai-simulation-result th:not(:first-child),
	.ai-simulation-result td:not(:first-child) {
		text-align: right;
		white-space: nowrap;
		font-variant-numeric: tabular-nums;
	}

/* Survol */

.ai-simulation-result tbody tr:hover td {
	background-color: #f8fafc;
}

/* =========================================================
   VARIATIONS
   ========================================================= */

.ai-simulation-result .ai-sim-increase,
.ai-sim-summary .ai-sim-increase {
	color: #15803d;
	font-weight: 700;
}

.ai-simulation-result .ai-sim-decrease,
.ai-sim-summary .ai-sim-decrease {
	color: #dc2626;
	font-weight: 700;
}

.ai-simulation-result .ai-sim-neutral,
.ai-sim-summary .ai-sim-neutral {
	color: #64748b;
	font-weight: 500;
}

/* =========================================================
   PARTICIPATION DIRECTEMENT MODIFIÉE
   ========================================================= */

.ai-simulation-result .ai-sim-direct {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 7px;
	border-radius: 5px;
	background: #dbeafe;
	color: #1d4ed8;
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
}

/* =========================================================
   PETITS ÉCRANS
   ========================================================= */

@media (max-width: 768px) {
	.ai-simulation-result table {
		font-size: 0.8rem;
	}

	.ai-simulation-result th,
	.ai-simulation-result td {
		padding: 8px;
	}

	.ai-sim-summary {
		gap: 8px 12px;
		font-size: 0.82rem;
	}
}
.env-memo-editor {
	width: 100%;
	min-width: 0;
}

	.env-memo-editor .rz-html-editor {
		width: 100%;
		max-width: 100%;
		border: 1px solid #dce1e7;
		border-radius: 6px;
		overflow: hidden;
	}

	.env-memo-editor .rz-html-editor-toolbar {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 2px;
	}

	.env-memo-editor .rz-html-editor-content {
		min-height: 150px;
		overflow-y: auto;
	}

/* Dashboard commun PP / PM : styles isolés par préfixe env-dash */
.env-dashboard-modern {
	--env-dash-navy: #17394c;
	--env-dash-gold: #a68863;
	--env-dash-border: #e5e9ed;
	--env-dash-muted: #687987;
}

	.env-dashboard-modern .env-dash-kpis {
		display: grid;
		grid-template-columns: repeat(3,minmax(0,1fr));
		gap: 10px;
		margin-bottom: 14px;
	}

	.env-dashboard-modern .env-dash-kpi {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 58px;
		padding: 11px 15px;
		border: 1px solid var(--env-dash-border);
		border-radius: 9px;
		background: #f9fafb;
	}

		.env-dashboard-modern .env-dash-kpi span {
			font-size: 12px;
			color: var(--env-dash-muted);
			font-weight: 500;
		}

		.env-dashboard-modern .env-dash-kpi strong {
			font-size: 19px;
			line-height: 1;
			font-weight: 600;
			color: var(--env-dash-navy);
			font-variant-numeric: tabular-nums;
		}

	.env-dashboard-modern .env-dash-kpi--danger {
		border-left: 3px solid #b86662;
	}

	.env-dashboard-modern .env-dash-kpi--warning {
		border-left: 3px solid var(--env-dash-gold);
	}

	.env-dashboard-modern .env-dash-alert-groups {
		display: grid;
		gap: 10px;
	}

	.env-dashboard-modern .env-dash-alert-group {
		border: 1px solid var(--env-dash-border);
		border-radius: 9px;
		padding: 11px 14px;
		background: #fff;
	}

	.env-dashboard-modern .env-dash-group-heading {
		display: flex;
		align-items: center;
		gap: 8px;
		font-size: 12px;
		font-weight: 650;
		color: var(--env-dash-navy);
		margin-bottom: 7px;
	}

	.env-dashboard-modern .env-dash-status-dot {
		width: 7px;
		height: 7px;
		border-radius: 50%;
		background: var(--env-dash-gold);
	}

	.env-dashboard-modern .env-dash-alert-group--danger .env-dash-status-dot {
		background: #b86662;
	}

	.env-dashboard-modern .env-dash-alert-list {
		max-height: 240px;
		overflow: auto;
	}

	.env-dashboard-modern .env-dash-alert-line {
		display: flex;
		gap: 8px;
		align-items: flex-start;
		padding: 5px 0;
		font-size: 12.5px;
		color: #3b4b58;
	}

		.env-dashboard-modern .env-dash-alert-line .rz-icon {
			font-size: 16px;
			color: #9d7770;
		}

	.env-dashboard-modern .env-dash-info-grid {
		display: grid;
		grid-template-columns: repeat(4,minmax(0,1fr));
		gap: 10px;
	}

	.env-dashboard-modern .env-dash-info-item {
		min-width: 0;
		background: #f7f9fa;
		border: 1px solid #edf0f2;
		border-radius: 8px;
		padding: 10px 12px;
	}

	.env-dashboard-modern .env-dash-info-label {
		font-size: 11px;
		font-weight: 500;
		color: var(--env-dash-muted);
		margin-bottom: 5px;
	}

	.env-dashboard-modern .env-dash-info-value {
		font-size: 13px;
		line-height: 1.4;
		font-weight: 550;
		color: var(--env-dash-navy);
		overflow-wrap: anywhere;
	}

	.env-dashboard-modern .env-dash-info-memo {
		max-height: 65px;
		overflow: auto;
	}

	.env-dashboard-modern .env-dash-boolean {
		display: inline-flex;
		font-size: 11px;
		font-weight: 600;
		padding: 2px 9px;
		border-radius: 6px;
		background: #eceff1;
		color: #52606b;
	}

	.env-dashboard-modern .env-dash-boolean--yes {
		background: #eee8df;
		color: #796348;
	}

	.env-dashboard-modern .env-dash-empty {
		display: flex;
		align-items: center;
		gap: 9px;
		padding: 11px 14px;
		border: 1px solid var(--env-dash-border);
		border-radius: 8px;
		color: #526674;
		font-size: 13px;
	}

		.env-dashboard-modern .env-dash-empty .rz-icon {
			font-size: 18px;
			color: #668476;
		}

	.env-dashboard-modern .env-dash-freshness-grid {
		display: grid;
		grid-template-columns: repeat(3,minmax(0,1fr));
		gap: 10px;
	}

	.env-dashboard-modern .env-dash-freshness-item {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 12px 13px;
		border: 1px solid var(--env-dash-border);
		border-radius: 9px;
		background: #f9fafb;
		min-width: 0;
	}

	.env-dashboard-modern .env-dash-freshness-date {
		font-size: 12.5px;
		font-weight: 550;
		color: var(--env-dash-navy);
		overflow-wrap: anywhere;
	}

	.env-dashboard-modern .env-dash-freshness-status {
		font-size: 10.5px;
		font-weight: 600;
		white-space: nowrap;
		border-radius: 5px;
		padding: 4px 7px;
		background: #f0ede8;
		color: #856e4c;
	}

	.env-dashboard-modern .env-dash-freshness-status--recent {
		background: #e9f1ec;
		color: #4c7460;
	}

	.env-dashboard-modern .env-dash-freshness-status--old {
		background: #f5eaea;
		color: #a05c58;
	}

	.env-dashboard-modern .env-dash-freshness-status--missing, .env-dashboard-modern .env-dash-freshness-status--check {
		background: #f3ede3;
		color: #896c43;
	}

	.env-dashboard-modern .mandate-renew-item {
		box-shadow: none;
		border-color: var(--env-dash-border);
		padding: 9px 12px;
	}

	.env-dashboard-modern .mandate-name {
		font-weight: 600;
		font-size: 13px;
	}

	.env-dashboard-modern .mandate-date {
		font-size: 12px;
		font-weight: 550;
	}

@media(max-width:1100px) {
	.env-dashboard-modern .env-dash-info-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}

@media(max-width:720px) {
	.env-dashboard-modern .env-dash-kpis, .env-dashboard-modern .env-dash-freshness-grid {
		grid-template-columns: 1fr;
	}

	.env-dashboard-modern .env-dash-info-grid {
		grid-template-columns: 1fr;
	}
}
/* Envergure — Dashboard global | styles locaux, sans impact sur les autres écrans */
.env-global-dashboard {
	--gd-navy: #15364a;
	--gd-gold: #ae8c62;
	--gd-line: #e5eaee;
	--gd-muted: #718392;
}

	.env-global-dashboard .dashboard-grid {
		display: grid;
		gap: 12px;
		align-items: stretch;
	}

	.env-global-dashboard .dashboard-grid-main {
		grid-template-columns: repeat(3,minmax(0,1fr));
	}

	.env-global-dashboard .dashboard-grid-recent {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.env-global-dashboard .dashboard-grid-actions {
		grid-template-columns: repeat(3,minmax(0,1fr));
	}

	.env-global-dashboard .dashboard-widget {
		min-width: 0;
		min-height: 0;
		overflow: hidden;
		border: 1px solid var(--gd-line);
		border-radius: 11px;
		background: #fff;
	}

		.env-global-dashboard .dashboard-widget .recent-card {
			width: 100% !important;
			min-width: 0 !important;
			max-width: none !important;
			min-height: 0 !important;
			margin: 0 !important;
			padding: 0 !important;
			border: 0 !important;
			border-radius: 11px !important;
			box-shadow: none !important;
			background: #fff !important;
		}

		.env-global-dashboard .dashboard-widget .recent-header {
			margin: 0;
			padding: 11px 14px;
			border-bottom: 1px solid var(--gd-line);
			background: #f8fafb;
			color: var(--gd-navy);
			font-size: 13px;
			font-weight: 650;
		}

	.env-global-dashboard .recent-list {
		list-style: none;
		margin: 0;
		padding: 5px 10px;
	}

		.env-global-dashboard .recent-list li {
			padding: 9px 8px;
			border-bottom: 1px solid #edf0f3;
			font-size: 12.5px;
			color: #526676;
			line-height: 1.35;
		}

			.env-global-dashboard .recent-list li:last-child {
				border-bottom: 0;
			}

			.env-global-dashboard .recent-list li:hover {
				background: #f7f9fa;
			}

			.env-global-dashboard .recent-list li a {
				color: var(--gd-navy);
				text-decoration: none;
			}

				.env-global-dashboard .recent-list li a:hover {
					color: #8c6b45;
				}

	.env-global-dashboard .dashboard-widget svg text {
		font-family: inherit !important;
	}

	.env-global-dashboard .quick-access {
		max-width: 720px;
	}

		.env-global-dashboard .quick-access .rz-dropdown {
			height: 40px;
			border-radius: 9px;
		}

	.env-global-dashboard .status {
		display: inline-flex;
		align-items: center;
		margin-left: 6px;
		padding: 2px 7px;
		border-radius: 5px;
		font-size: 10px;
		font-weight: 650;
	}

		.env-global-dashboard .status.Pending {
			background: #f5efe7;
			color: #927249;
		}

		.env-global-dashboard .status.Validated {
			background: #e8f2ee;
			color: #397760;
		}

		.env-global-dashboard .status.Deleted {
			background: #faeded;
			color: #b45454;
		}

		.env-global-dashboard .status.Saved {
			background: #edf1f3;
			color: #667681;
		}

@media(max-width:1150px) {
	.env-global-dashboard .dashboard-grid-main, .env-global-dashboard .dashboard-grid-actions {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}

@media(max-width:720px) {
	.env-global-dashboard .dashboard-grid-main, .env-global-dashboard .dashboard-grid-recent, .env-global-dashboard .dashboard-grid-actions {
		grid-template-columns: minmax(0,1fr);
	}
}
.env-global-dashboard .recent-list li {
	padding: 7px 8px;
}

	.env-global-dashboard .recent-list li a,
	.env-global-dashboard .recent-list li span {
		display: flex;
		align-items: center;
		gap: 8px;
		min-height: 20px;
	}

.env-global-dashboard .recent-list .gd-recent-icon {
	color: #678294 !important;
	font-size: 15px;
	flex: 0 0 auto;
}

.env-global-dashboard .recent-list li:hover .gd-recent-icon {
	color: #ae8c62 !important;
}

.env-global-dashboard .dashboard-grid-main {
	gap: 12px;
}

	.env-global-dashboard .dashboard-grid-main .recent-header {
		padding: 9px 13px;
	}

/* ===== Footer Envergure ===== */

.env-footer {
	height: 38px !important;
	min-height: 38px !important;
	padding: 0 18px !important;
	background: #f8fafb !important;
	border-top: 1px solid #e3e8ec !important;
	box-shadow: none !important;
	color: #71808c !important;
}

.env-footer-content {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 11px;
}

.env-footer-left,
.env-footer-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.env-footer-brand {
	color: #17394c;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .07em;
}

.env-footer-separator {
	height: 13px;
	width: 1px;
	background: #d9e0e5;
}

.env-footer-version {
	color: #8a969f;
}

/* ===== Envie : launcher ===== */

.envie-launcher-container {
	position: fixed !important;
	right: 22px !important;
	bottom: 58px !important;
	z-index: 1050;
}

.envie-launcher.rz-button {
	width: auto !important;
	min-width: 145px;
	height: 44px !important;
	padding: 0 16px !important;
	border-radius: 12px !important;
	background: #17394c !important;
	border: 1px solid #254b61 !important;
	color: #fff !important;
	box-shadow: 0 5px 18px rgba(17, 43, 60, .20) !important;
	font-size: 12px;
	font-weight: 600;
	gap: 8px;
	transition: background .15s ease, box-shadow .15s ease;
}

	.envie-launcher.rz-button:hover {
		background: #244c63 !important;
		box-shadow: 0 7px 22px rgba(17, 43, 60, .25) !important;
	}

.envie-launcher .rzi,
.envie-launcher .rz-button-icon {
	color: #d6b68c !important;
	font-size: 19px !important;
}

.envie-launcher:focus-visible {
	outline: 2px solid #ae8c62;
	outline-offset: 3px;
}

@media (max-width: 700px) {
	.env-footer {
		padding: 0 10px !important;
	}

	.env-footer-brand,
	.env-footer-separator {
		display: none;
	}

	.envie-launcher-container {
		right: 12px !important;
		bottom: 54px !important;
	}

	.envie-launcher.rz-button {
		min-width: 44px;
		width: 44px !important;
		padding: 0 !important;
	}

	.envie-launcher .rz-button-text {
		display: none;
	}
}

.env360-publish-panel {
	--ep-navy: #17394c;
	--ep-gold: #ae8c62;
	--ep-border: #e3e9ed;
	--ep-muted: #718392;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-height: calc(100vh - 135px);
	min-height: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--ep-border);
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(23,57,76,.05);
}

/* HEADER */
.env360-publish-header {
	flex: 0 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	background: var(--ep-navy);
	color: white;
	border-bottom: 2px solid var(--ep-gold);
}

.env360-publish-heading {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

	.env360-publish-heading > .rzi {
		color: #d6b68c;
		font-size: 19px;
		margin-top: 1px;
	}

	.env360-publish-heading strong {
		font-size: 13px;
		font-weight: 650;
		line-height: 1.4;
	}

	.env360-publish-heading p {
		margin: 5px 0 0;
		color: #cbd7df;
		font-size: 11px;
		line-height: 1.5;
	}

.env360-publish-header .env360-close {
	flex: 0 0 auto;
	min-width: 28px;
	height: 28px;
}

/* BODY */
.env360-publish-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 15px;
	background: #fff;
}

.env360-publish-warning {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	padding: 11px 12px;
	margin-bottom: 16px;
	background: #fbf6ed;
	border: 1px solid #f0e5d4;
	border-radius: 8px;
	color: #8c6c3e;
	font-size: 11.5px;
	line-height: 1.5;
}

	.env360-publish-warning .rzi {
		font-size: 17px;
		flex-shrink: 0;
	}

.env360-publish-section {
	margin-bottom: 18px;
}

.env360-publish-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0 8px 9px;
	margin-bottom: 12px;
	border-left: 3px solid var(--ep-gold);
	border-bottom: 1px solid var(--ep-border);
	color: var(--ep-navy);
	font-size: 12px;
	font-weight: 650;
}

	.env360-publish-section-title .rzi {
		font-size: 16px;
		color: var(--ep-gold);
	}

/* FIELDS */
.env360-publish-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.env360-publish-field {
	min-width: 0;
}

	.env360-publish-field label {
		display: block;
		margin-bottom: 5px;
		font-size: 11px;
		font-weight: 600;
		color: var(--ep-navy);
	}

	.env360-publish-field .rz-textbox,
	.env360-publish-field .rz-dropdown,
	.env360-publish-field textarea {
		width: 100%;
		border-radius: 7px;
		font-size: 12px;
	}

.env360-publish-full {
	grid-column: 1 / -1;
}

/* OPTIONS */
.env360-publish-options {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

	.env360-publish-option,
	.env360-publish-options .env360-diagram-publish-options label {
		display: flex;
		align-items: center;
		gap: 9px;
		padding: 8px 10px;
		border: 1px solid var(--ep-border);
		border-radius: 7px;
		background: #f8fafb;
		color: #334b5b;
		font-size: 11.5px;
		cursor: pointer;
	}

	.env360-publish-options .env360-diagram-publish-options {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

/* SUMMARY */
.env360-publish-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	padding: 11px 12px;
	margin-top: 8px;
	border: 1px solid var(--ep-border);
	border-radius: 8px;
	background: #f7f9fa;
	color: #536a7a;
	font-size: 11px;
}

	.env360-publish-summary strong {
		color: var(--ep-navy);
	}

/* FOOTER ACTIONS */
.env360-publish-actions {
	flex: 0 0 auto;
	display: flex;
	justify-content: flex-end;
	gap: 9px;
	padding: 12px 15px;
	background: #f8fafb;
	border-top: 1px solid var(--ep-border);
}

	.env360-publish-actions .rz-button {
		min-height: 34px;
		border-radius: 7px;
		font-size: 12px;
	}

.env360-publish-submit.rz-button {
	background: var(--ep-gold);
	border-color: var(--ep-gold);
	color: white;
}

	.env360-publish-submit.rz-button:hover {
		background: #96764f;
		border-color: #96764f;
	}

@media (max-width: 760px) {
	.env360-publish-grid {
		grid-template-columns: 1fr;
	}

	.env360-publish-full {
		grid-column: auto;
	}

	.env360-publish-header {
		padding: 12px;
	}

	.env360-publish-body {
		padding: 12px;
	}
}

/* ============================================
   ENVERGURE — ORCHESTRA
   Styles localisés
   ============================================ */

.env-orchestra {
	--orch-navy: #102D40;
	--orch-gold: #A68863;
	--orch-border: #e3e8ec;
	--orch-muted: #718392;
	width: 100%;
	min-width: 0;
}

	/* En-tête */

	.env-orchestra .orchestra-page-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 16px;
		margin-bottom: 18px;
	}

	.env-orchestra .orchestra-eyebrow {
		color: var(--orch-gold);
		font-size: 10px;
		font-weight: 700;
		letter-spacing: 1.3px;
		margin-bottom: 5px;
	}

	.env-orchestra .orchestra-page-header h2 {
		margin: 0;
		color: var(--orch-navy);
		font-size: 23px;
		font-weight: 700;
	}

	.env-orchestra .orchestra-title-light {
		font-weight: 400;
		color: #607583;
	}

	.env-orchestra .orchestra-page-header p {
		margin-top: 5px;
		color: var(--orch-muted);
		font-size: 12px;
	}

	/* KPI */

	.env-orchestra .orchestra-kpis {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 12px;
		margin-bottom: 18px;
	}

	.env-orchestra .orchestra-kpi {
		background: #fff;
		border: 1px solid var(--orch-border);
		border-left: 3px solid var(--orch-gold);
		border-radius: 10px;
		padding: 13px 16px;
		display: flex;
		flex-direction: column;
		gap: 5px;
	}

		.env-orchestra .orchestra-kpi span {
			font-size: 11px;
			color: var(--orch-muted);
			font-weight: 600;
		}

		.env-orchestra .orchestra-kpi strong {
			font-size: 21px;
			color: var(--orch-navy);
			font-weight: 700;
		}

	/* Panneau */

	.env-orchestra .orchestra-panel {
		background: #fff;
		border: 1px solid var(--orch-border);
		border-radius: 12px;
		overflow: hidden;
	}

	.env-orchestra .orchestra-panel-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 14px 16px;
		background: #f8fafb;
		border-bottom: 1px solid var(--orch-border);
		border-left: 3px solid var(--orch-gold);
	}

	.env-orchestra .orchestra-panel-heading {
		display: flex;
		align-items: center;
		gap: 9px;
		color: var(--orch-navy);
	}

		.env-orchestra .orchestra-panel-heading .rz-icon {
			color: var(--orch-gold);
			font-size: 19px;
		}

		.env-orchestra .orchestra-panel-heading strong {
			font-size: 13px;
		}

		.env-orchestra .orchestra-panel-heading span {
			font-size: 11px;
			color: var(--orch-muted);
		}

	.env-orchestra .orchestra-filters {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	/* Liste */

	.env-orchestra .orchestra-dossier-list {
		display: flex;
		flex-direction: column;
	}

	.env-orchestra .orchestra-dossier-item {
		display: grid;
		grid-template-columns: 38px minmax(220px, 1fr) 190px 100px;
		align-items: center;
		gap: 18px;
		padding: 16px 18px;
		border-bottom: 1px solid #edf0f2;
		transition: background .15s ease;
	}

		.env-orchestra .orchestra-dossier-item:last-child {
			border-bottom: none;
		}

		.env-orchestra .orchestra-dossier-item:hover {
			background: #faf8f5;
		}

	.env-orchestra .orchestra-dossier-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		border-radius: 9px;
		background: #f4eee6;
		color: var(--orch-gold);
	}

		.env-orchestra .orchestra-dossier-icon .rz-icon {
			font-size: 21px;
		}

	.env-orchestra .orchestra-dossier-info {
		min-width: 0;
	}

	.env-orchestra .orchestra-dossier-heading {
		display: flex;
		align-items: center;
		gap: 10px;
		flex-wrap: wrap;
	}

		.env-orchestra .orchestra-dossier-heading strong {
			font-size: 13px;
			font-weight: 650;
			color: var(--orch-navy);
		}

	.env-orchestra .orchestra-dossier-description {
		color: var(--orch-muted);
		font-size: 11px;
		margin-top: 5px;
		line-height: 1.5;
	}

	.env-orchestra .orchestra-dossier-meta {
		display: flex;
		align-items: center;
		gap: 16px;
		flex-wrap: wrap;
		margin-top: 7px;
		font-size: 11px;
		color: #526674;
	}

		.env-orchestra .orchestra-dossier-meta span {
			display: inline-flex;
			align-items: center;
			gap: 4px;
		}

		.env-orchestra .orchestra-dossier-meta .rz-icon {
			font-size: 15px;
			color: #78909c;
		}

	/* Progression */

	.env-orchestra .orchestra-progress-label {
		display: flex;
		justify-content: space-between;
		gap: 8px;
		margin-bottom: 8px;
		font-size: 11px;
		color: var(--orch-muted);
	}

		.env-orchestra .orchestra-progress-label strong {
			color: var(--orch-navy);
		}

	.env-orchestra .orchestra-progress-track {
		height: 7px;
		border-radius: 6px;
		background: #e6eaed;
		overflow: hidden;
	}

	.env-orchestra .orchestra-progress-fill {
		height: 100%;
		border-radius: inherit;
		background: var(--orch-gold);
		transition: width .25s ease;
	}

	/* Actions */

	.env-orchestra .orchestra-dossier-actions {
		display: flex;
		justify-content: flex-end;
	}

		.env-orchestra .orchestra-dossier-actions .rz-button {
			background: var(--orch-gold);
			border-color: var(--orch-gold);
			color: white;
			border-radius: 7px;
			min-width: 85px;
		}

			.env-orchestra .orchestra-dossier-actions .rz-button:hover {
				background: #92734e;
				border-color: #92734e;
			}

	/* État vide */

	.env-orchestra .orchestra-empty {
		padding: 45px 20px;
		text-align: center;
		color: var(--orch-muted);
		font-size: 13px;
	}

/* Responsive */

@media (max-width: 1100px) {
	.env-orchestra .orchestra-dossier-item {
		grid-template-columns: 38px minmax(0, 1fr) 150px;
	}

	.env-orchestra .orchestra-dossier-actions {
		grid-column: 2 / -1;
		justify-content: flex-start;
	}
}

@media (max-width: 760px) {
	.env-orchestra .orchestra-kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.env-orchestra .orchestra-page-header,
	.env-orchestra .orchestra-panel-header {
		flex-direction: column;
		align-items: stretch;
	}

	.env-orchestra .orchestra-filters {
		flex-wrap: wrap;
	}

	.env-orchestra .orchestra-dossier-item {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 12px;
	}

	.env-orchestra .orchestra-dossier-progress,
	.env-orchestra .orchestra-dossier-actions {
		grid-column: 2;
	}
}
@media (min-width: 1200px) {
	.env-orchestra .orchestra-kpis {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}

	.env-orchestra .orchestra-panel-header {
		flex-direction: row !important;
		align-items: center !important;
	}

	.env-orchestra .orchestra-dossier-item {
		display: grid !important;
		grid-template-columns: 38px minmax(220px, 1fr) 190px 100px !important;
		align-items: center !important;
	}

	.env-orchestra .orchestra-dossier-progress {
		grid-column: auto !important;
	}

	.env-orchestra .orchestra-dossier-actions {
		grid-column: auto !important;
		justify-content: flex-end !important;
	}
}

/* ==================================================
   ENVERGURE — ORCHESTRA WORKSPACE
   Détail du dossier / Plan de travail
   ================================================== */

.env-orchestra-workspace {
	width: 100%;
	min-width: 0;
	padding-bottom: 24px;
}

	/* Navigation / fil d'Ariane */

	.env-orchestra-workspace .orchestra-workspace-navigation {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 9px;
		margin-bottom: 16px;
		color: var(--orch-muted);
		font-size: 12px;
	}

	.env-orchestra-workspace .orchestra-back-link {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		color: var(--orch-gold);
		font-weight: 650;
		text-decoration: none;
	}

		.env-orchestra-workspace .orchestra-back-link:hover {
			color: var(--orch-navy);
			text-decoration: underline;
		}

	.env-orchestra-workspace .orchestra-workspace-navigation .rz-icon {
		font-size: 17px;
	}

	/* Conteneur principal */

	.env-orchestra-workspace .orchestra-workspace-content {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	/* En-tête du dossier */

	.env-orchestra-workspace .orchestra-workspace-heading {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 16px;
		padding: 18px 20px;
		background: #fff;
		border: 1px solid var(--orch-border);
		border-radius: 12px;
	}

		.env-orchestra-workspace .orchestra-workspace-heading h2 {
			margin: 0;
			color: var(--orch-navy);
			font-size: 21px;
			font-weight: 700;
			line-height: 1.35;
		}

		.env-orchestra-workspace .orchestra-workspace-heading p {
			margin: 7px 0 0;
			color: var(--orch-muted);
			font-size: 12px;
			line-height: 1.6;
		}

	/* Synthèse du dossier */

	.env-orchestra-workspace .orchestra-workspace-summary {
		background: #fff;
		border: 1px solid var(--orch-border);
		border-radius: 12px;
		overflow: hidden;
	}

		.env-orchestra-workspace .orchestra-workspace-summary
		.orchestra-dossier-item {
			border-bottom: none;
			background: #fff;
		}

			.env-orchestra-workspace .orchestra-workspace-summary
			.orchestra-dossier-item:hover {
				background: #fff;
			}

	/* Navigation interne */

	.env-orchestra-workspace .orchestra-workspace-tabs {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 6px;
		padding: 0 4px;
		border-bottom: 1px solid var(--orch-border);
	}

		.env-orchestra-workspace .orchestra-workspace-tabs button {
			display: inline-flex;
			align-items: center;
			gap: 8px;
			padding: 11px 15px;
			border: none;
			border-bottom: 3px solid transparent;
			background: transparent;
			color: #617584;
			font-family: inherit;
			font-size: 12px;
			font-weight: 600;
			cursor: pointer;
			transition: color .15s ease, border-color .15s ease;
		}

			.env-orchestra-workspace .orchestra-workspace-tabs button:hover {
				color: var(--orch-navy);
			}

			.env-orchestra-workspace .orchestra-workspace-tabs button.active {
				color: var(--orch-navy);
				border-bottom-color: var(--orch-gold);
			}

		.env-orchestra-workspace .orchestra-workspace-tabs .rz-icon {
			font-size: 18px;
		}

	/* Panneaux */

	.env-orchestra-workspace .orchestra-workspace-panel {
		background: #fff;
		border: 1px solid var(--orch-border);
		border-radius: 12px;
		overflow: hidden;
	}

	.env-orchestra-workspace .orchestra-workspace-panel-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		padding: 13px 17px;
		background: #f8fafb;
		border-left: 3px solid var(--orch-gold);
		border-bottom: 1px solid var(--orch-border);
	}

		.env-orchestra-workspace .orchestra-workspace-panel-header > div {
			display: flex;
			flex-direction: column;
			gap: 4px;
		}

		.env-orchestra-workspace .orchestra-workspace-panel-header strong {
			color: var(--orch-navy);
			font-size: 13px;
			font-weight: 700;
		}

		.env-orchestra-workspace .orchestra-workspace-panel-header span {
			color: var(--orch-muted);
			font-size: 11px;
		}

	.env-orchestra-workspace .orchestra-workspace-panel-body {
		padding: 12px;
	}

	/* Tableau des activités */

	.env-orchestra-workspace .orchestra-activity-list {
		min-width: 0;
	}

	.env-orchestra-workspace .orchestra-activity-order {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 35px;
		padding: 5px 8px;
		border-radius: 6px;
		background: #f4eee6;
		color: #8b6d48;
		font-size: 11px;
		font-weight: 700;
	}

	.env-orchestra-workspace .orchestra-activity-title {
		display: flex;
		align-items: center;
		gap: 9px;
		min-width: 0;
	}

		.env-orchestra-workspace .orchestra-activity-title .rz-icon {
			flex-shrink: 0;
			font-size: 17px;
			color: var(--orch-gold);
		}

		.env-orchestra-workspace .orchestra-activity-title strong {
			color: var(--orch-navy);
			font-size: 12px;
			font-weight: 600;
			line-height: 1.45;
		}

	.env-orchestra-workspace .orchestra-activity-date {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		color: #526674;
		font-size: 11px;
	}

		.env-orchestra-workspace .orchestra-activity-date .rz-icon {
			font-size: 15px;
			color: var(--orch-gold);
		}

	.env-orchestra-workspace .orchestra-activity-no-date {
		color: #9aa5ae;
		font-style: italic;
	}

	.env-orchestra-workspace .orchestra-activity-actions {
		display: flex;
		align-items: center;
		gap: 6px;
		flex-wrap: wrap;
	}

	/* Pièces jointes / Observations */

	.env-orchestra-workspace .orchestra-workspace-documents {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding: 16px;
	}

	/* États vides */

	.env-orchestra-workspace .orchestra-workspace-empty {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 12px;
		min-height: 190px;
		padding: 30px;
		text-align: center;
		color: var(--orch-muted);
		font-size: 12px;
	}

		.env-orchestra-workspace .orchestra-workspace-empty > .rz-icon {
			font-size: 34px;
			color: var(--orch-gold);
		}

		.env-orchestra-workspace .orchestra-workspace-empty strong {
			color: var(--orch-navy);
			font-size: 14px;
		}

		.env-orchestra-workspace .orchestra-workspace-empty p {
			max-width: 420px;
			line-height: 1.6;
		}

/* Responsive */

@media (max-width: 900px) {
	.env-orchestra-workspace .orchestra-workspace-heading {
		flex-direction: column;
		align-items: stretch;
	}

	.env-orchestra-workspace .orchestra-workspace-summary
	.orchestra-dossier-item {
		grid-template-columns: 38px minmax(0, 1fr);
	}

	.env-orchestra-workspace .orchestra-workspace-summary
	.orchestra-dossier-progress {
		grid-column: 2;
	}
}

@media (max-width: 650px) {
	.env-orchestra-workspace .orchestra-workspace-panel-header {
		flex-direction: column;
		align-items: stretch;
	}

	.env-orchestra-workspace .orchestra-workspace-panel-body {
		padding: 8px;
	}

	.env-orchestra-workspace .orchestra-workspace-tabs button {
		padding: 10px;
		font-size: 11px;
	}

	.env-orchestra-workspace .orchestra-workspace-documents {
		padding: 10px;
	}
}

/* ==================================================
   ENVERGURE — CENTRE D'ACTIVITÉ
   Styles localisés
   ================================================== */

.env-activity-center {
	--ac-navy: #102D40;
	--ac-gold: #A68863;
	--ac-border: #e3e8ec;
	--ac-muted: #718392;
	width: 100%;
	min-width: 0;
	padding-bottom: 24px;
}

	/* En-tête */

	.env-activity-center .ac-page-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 16px;
		margin-bottom: 18px;
	}

	.env-activity-center .ac-eyebrow {
		color: var(--ac-gold);
		font-size: 10px;
		font-weight: 700;
		letter-spacing: 1.3px;
		margin-bottom: 5px;
	}

	.env-activity-center .ac-page-header h2 {
		margin: 0;
		color: var(--ac-navy);
		font-size: 23px;
		font-weight: 700;
	}

	.env-activity-center .ac-page-header p {
		margin: 5px 0 0;
		color: var(--ac-muted);
		font-size: 12px;
		line-height: 1.5;
	}

	/* Indicateurs */

	.env-activity-center .ac-kpis {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 12px;
		margin-bottom: 18px;
	}

	.env-activity-center .ac-kpi {
		display: flex;
		flex-direction: column;
		gap: 5px;
		padding: 13px 16px;
		background: #fff;
		border: 1px solid var(--ac-border);
		border-left: 3px solid var(--ac-gold);
		border-radius: 10px;
	}

		.env-activity-center .ac-kpi span {
			font-size: 11px;
			font-weight: 600;
			color: var(--ac-muted);
		}

		.env-activity-center .ac-kpi strong {
			font-size: 21px;
			font-weight: 700;
			color: var(--ac-navy);
			font-variant-numeric: tabular-nums;
		}

	/* Panneaux */

	.env-activity-center .ac-panel {
		min-width: 0;
		margin-bottom: 16px;
		background: #fff;
		border: 1px solid var(--ac-border);
		border-radius: 12px;
		overflow: hidden;
	}

	.env-activity-center .ac-panel-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 16px;
		padding: 13px 16px;
		background: #f8fafb;
		border-bottom: 1px solid var(--ac-border);
		border-left: 3px solid var(--ac-gold);
	}

	.env-activity-center .ac-panel-title {
		display: flex;
		align-items: center;
		gap: 9px;
		min-width: 0;
	}

		.env-activity-center .ac-panel-title > .rz-icon {
			color: var(--ac-gold);
			font-size: 19px;
		}

		.env-activity-center .ac-panel-title strong {
			color: var(--ac-navy);
			font-size: 13px;
			font-weight: 700;
		}

		.env-activity-center .ac-panel-title span {
			color: var(--ac-muted);
			font-size: 11px;
		}

	/* Filtres */

	.env-activity-center .ac-filters {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		flex-wrap: wrap;
		gap: 10px;
	}

	.env-activity-center .ac-completed-filter {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		white-space: nowrap;
		color: #526674;
		font-size: 11px;
		font-weight: 500;
	}

	.env-activity-center .ac-filters .rz-textbox,
	.env-activity-center .ac-filters .rz-dropdown {
		min-height: 34px;
		border-radius: 7px;
	}

	/* Tableau */

	.env-activity-center .ac-panel > .rz-data-grid {
		margin: 0;
		border: none !important;
		border-radius: 0;
		box-shadow: none;
	}

	.env-activity-center .ac-activity-title {
		display: flex;
		align-items: center;
		gap: 9px;
		min-width: 0;
	}

		.env-activity-center .ac-activity-title > .rz-icon {
			flex: 0 0 auto;
			color: var(--ac-gold);
			font-size: 18px;
		}

		.env-activity-center .ac-activity-title strong {
			color: var(--ac-navy);
			font-size: 12px;
			font-weight: 600;
			line-height: 1.45;
			overflow-wrap: anywhere;
		}

	.env-activity-center .ac-activity-actions {
		display: flex;
		align-items: center;
		gap: 6px;
		flex-wrap: wrap;
	}

	/* Détail, pièces jointes et observations */

	.env-activity-center .ac-detail-panel {
		margin-top: 18px;
	}

	.env-activity-center .ac-detail-content {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding: 16px;
	}

		.env-activity-center .ac-detail-content > * {
			min-width: 0;
		}

	.env-activity-center .ac-detail-panel .ac-panel-header {
		position: relative;
	}

	.env-activity-center .ac-detail-panel .ac-panel-title strong {
		font-size: 14px;
	}

	/* Harmonisation des boutons d'action Radzen */

	.env-activity-center .ac-activity-actions .rz-button {
		border-radius: 6px;
		font-size: 11px;
		font-weight: 600;
	}

/* Responsive */

@media (max-width: 1200px) {
	.env-activity-center .ac-panel-header {
		flex-direction: column;
		align-items: stretch;
	}

	.env-activity-center .ac-filters {
		justify-content: flex-start;
	}
}

@media (max-width: 900px) {
	.env-activity-center .ac-kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 650px) {
	.env-activity-center .ac-page-header {
		flex-direction: column;
		align-items: stretch;
	}

	.env-activity-center .ac-kpis {
		grid-template-columns: 1fr;
	}

	.env-activity-center .ac-filters {
		flex-direction: column;
		align-items: stretch;
	}

		.env-activity-center .ac-filters .rz-textbox,
		.env-activity-center .ac-filters .rz-dropdown {
			width: 100% !important;
		}

	.env-activity-center .ac-panel-header {
		padding: 12px;
	}

	.env-activity-center .ac-detail-content {
		padding: 10px;
	}
}
.env-activity-center .ac-activity-context {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-size: 11px;
	color: #718392;
}

	.env-activity-center .ac-activity-context a {
		color: #A68863;
		text-decoration: none;
		font-weight: 600;
	}

		.env-activity-center .ac-activity-context a:hover {
			text-decoration: underline;
		}
.env-orchestra .orchestra-activity-link {
	color: #102D40;
	font-weight: 600;
	text-decoration: none;
}

	.env-orchestra .orchestra-activity-link:hover {
		color: #A68863;
		text-decoration: underline;
	}

/* =====================================================
   ORCHESTRA UX V2 — Liste des dossiers
   ===================================================== */

.env-orchestra .orchestra-dossier-item-v2 {
	display: grid !important;
	grid-template-columns: 38px minmax(220px, 1fr) 115px 130px 150px auto !important;
	align-items: center;
	gap: 20px;
	padding: 16px 20px;
}

/* Nom du dossier cliquable */

.env-orchestra .orchestra-dossier-title-link {
	color: #102D40;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
}

	.env-orchestra .orchestra-dossier-title-link:hover {
		color: #A68863;
		text-decoration: underline;
	}

	.env-orchestra .orchestra-dossier-title-link:focus-visible {
		outline: 2px solid #A68863;
		outline-offset: 3px;
		border-radius: 3px;
	}

/* Statuts : sobres, uniformes, non interactifs */

.env-orchestra .orchestra-dossier-status {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
}

.env-orchestra .orchestra-status-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 11px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	border: 1px solid transparent;
	cursor: default;
}

.env-orchestra .orchestra-status-draft {
	background: #f0f2f4;
	color: #64717c;
	border-color: #e4e8eb;
}

.env-orchestra .orchestra-status-active {
	background: #eaf1f6;
	color: #345d78;
	border-color: #dce7ef;
}

.env-orchestra .orchestra-status-completed {
	background: #eaf3ed;
	color: #47745a;
	border-color: #dbe9df;
}

.env-orchestra .orchestra-status-cancelled {
	background: #f5eeee;
	color: #946c6c;
	border-color: #eddfdf;
}

/* Compteurs des activités */

.env-orchestra .orchestra-dossier-activity-counts {
	display: flex;
	flex-direction: column;
	gap: 5px;
	color: #718392;
	font-size: 11px;
	line-height: 1.35;
}

	.env-orchestra .orchestra-dossier-activity-counts strong {
		color: #102D40;
		font-weight: 650;
		font-variant-numeric: tabular-nums;
	}

/* Progression */

.env-orchestra .orchestra-dossier-progress {
	min-width: 0;
}

.env-orchestra .orchestra-progress-track {
	height: 6px;
	background: #e9edef;
	border-radius: 8px;
	overflow: hidden;
}

.env-orchestra .orchestra-progress-fill {
	height: 100%;
	background: #A68863;
	border-radius: inherit;
	transition: width .25s ease;
}

/* Responsive */

@media (max-width: 1200px) {
	.env-orchestra .orchestra-dossier-item-v2 {
		grid-template-columns: 38px minmax(180px, 1fr) 110px 130px !important;
		gap: 14px;
	}

		.env-orchestra .orchestra-dossier-item-v2
		.orchestra-dossier-progress {
			grid-column: 2 / 4;
		}

		.env-orchestra .orchestra-dossier-item-v2
		.orchestra-dossier-actions {
			grid-column: 4 / 5;
		}
}

@media (max-width: 760px) {
	.env-orchestra .orchestra-dossier-item-v2 {
		grid-template-columns: 38px minmax(0, 1fr) !important;
		gap: 12px;
	}

		.env-orchestra .orchestra-dossier-item-v2
		.orchestra-dossier-info,
		.env-orchestra .orchestra-dossier-item-v2
		.orchestra-dossier-status,
		.env-orchestra .orchestra-dossier-item-v2
		.orchestra-dossier-activity-counts,
		.env-orchestra .orchestra-dossier-item-v2
		.orchestra-dossier-progress,
		.env-orchestra .orchestra-dossier-item-v2
		.orchestra-dossier-actions {
			grid-column: 2 / -1;
		}

	.env-orchestra .orchestra-dossier-activity-counts {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 6px 14px;
	}
}

/* Orchestra — détail intégré des activités */

.env-orchestra-workspace .orchestra-documents-v2 {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
	padding: 18px;
	align-items: start;
}

.env-orchestra-workspace .orchestra-document-column,
.env-orchestra-workspace .orchestra-comments-column {
	min-width: 0;
}

.env-orchestra-workspace .orchestra-activity-detail {
	margin-top: 4px;
}

@media (max-width: 900px) {
	.env-orchestra-workspace .orchestra-documents-v2 {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		padding: 12px;
	}
}

/* ORCHESTRA V2 — Documents */

.orchestra-attachments-v2 {
	min-width: 0;
	background: #fff;
	border: 1px solid #e3e8ec;
	border-radius: 10px;
	padding: 16px;
}

.orchestra-attachments-header,
.orchestra-attachments-heading {
	display: flex;
	align-items: center;
	gap: 9px;
}

.orchestra-attachments-header {
	justify-content: space-between;
	margin-bottom: 15px;
}

.orchestra-attachments-heading {
	color: #102D40;
	font-size: 13px;
}

	.orchestra-attachments-heading .rz-icon {
		color: #A68863;
		font-size: 19px;
	}

.orchestra-attachments-count {
	padding: 3px 9px;
	background: #f0f2f4;
	color: #64717c;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
}

.orchestra-upload-zone {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border: 1px dashed #cbd5dc;
	border-radius: 9px;
	background: #fafbfc;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

	.orchestra-upload-zone > .rz-icon {
		color: #A68863;
		font-size: 25px;
	}

.orchestra-upload-content {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1;
}

	.orchestra-upload-content strong {
		color: #102D40;
		font-size: 12px;
	}

	.orchestra-upload-content span {
		color: #718392;
		font-size: 11px;
	}

.orchestra-upload-input {
	max-width: 100%;
	font-size: 11px;
}

.orchestra-attachments-list {
	display: flex;
	flex-direction: column;
}

.orchestra-attachment-row {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 10px 4px;
	border-bottom: 1px solid #edf0f2;
}

	.orchestra-attachment-row:last-child {
		border-bottom: none;
	}

.orchestra-attachment-file-icon {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #f4eee6;
	color: #A68863;
}

.orchestra-attachment-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1;
	min-width: 0;
}

	.orchestra-attachment-info strong {
		color: #102D40;
		font-size: 12px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.orchestra-attachment-info span {
		color: #718392;
		font-size: 10px;
	}

.orchestra-attachment-actions {
	display: flex;
	align-items: center;
	gap: 3px;
}

	.orchestra-attachment-actions .rz-button {
		color: #607583;
	}

		.orchestra-attachment-actions .rz-button:hover {
			background: #f0f2f4;
		}

.orchestra-attachments-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 25px 10px;
	color: #8a98a3;
	font-size: 11px;
}

	.orchestra-attachments-empty .rz-icon {
		font-size: 25px;
	}

/* =====================================================
   ORCHESTRA UX V2 — Observations
   ===================================================== */

.orchestra-comments-v2 {
	min-width: 0;
	background: #fff;
	border: 1px solid #e3e8ec;
	border-radius: 10px;
	padding: 16px;
}

.orchestra-comments-header,
.orchestra-comments-heading {
	display: flex;
	align-items: center;
	gap: 9px;
}

.orchestra-comments-header {
	justify-content: space-between;
	margin-bottom: 15px;
}

.orchestra-comments-heading {
	color: #102D40;
	font-size: 13px;
}

	.orchestra-comments-heading .rz-icon {
		color: #A68863;
		font-size: 19px;
	}

.orchestra-comments-count {
	padding: 3px 9px;
	background: #f0f2f4;
	color: #64717c;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
}

.orchestra-comments-thread {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-height: 380px;
	overflow-y: auto;
	margin-bottom: 16px;
	padding-right: 5px;
}

.orchestra-comment-item {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 13px 0;
	border-bottom: 1px solid #edf0f2;
}

	.orchestra-comment-item:last-child {
		border-bottom: none;
	}

.orchestra-comment-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	border-radius: 50%;
	background: #edf1f4;
	color: #607583;
}

	.orchestra-comment-avatar .rz-icon {
		font-size: 18px;
	}

.orchestra-comment-body {
	flex: 1;
	min-width: 0;
}

.orchestra-comment-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 5px 12px;
	margin-bottom: 7px;
}

	.orchestra-comment-meta strong {
		color: #102D40;
		font-size: 11px;
		font-weight: 650;
	}

	.orchestra-comment-meta time {
		color: #8a98a3;
		font-size: 10px;
	}

.orchestra-comment-message {
	color: #405361;
	font-size: 12px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

	.orchestra-comment-message p {
		margin: 0 0 6px;
	}

		.orchestra-comment-message p:last-child {
			margin-bottom: 0;
		}

.orchestra-comment-composer {
	padding-top: 14px;
	border-top: 1px solid #e3e8ec;
}

.orchestra-comment-composer-title {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 10px;
	color: #102D40;
	font-size: 12px;
}

	.orchestra-comment-composer-title .rz-icon {
		color: #A68863;
		font-size: 18px;
	}

.orchestra-comment-composer .rz-html-editor {
	border: 1px solid #dce3e8;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: none;
}

.orchestra-comment-composer-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
}

	.orchestra-comment-composer-footer span {
		color: #8a98a3;
		font-size: 10px;
	}

	.orchestra-comment-composer-footer .rz-button {
		background: #A68863;
		border-color: #A68863;
		color: #fff;
		border-radius: 7px;
		min-width: 85px;
	}

.orchestra-comments-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 25px 10px;
	color: #8a98a3;
	font-size: 11px;
}

	.orchestra-comments-empty .rz-icon {
		font-size: 25px;
	}

@media (max-width: 650px) {
	.orchestra-comment-composer-footer {
		flex-wrap: wrap;
	}
}

/* Orchestra V2 — Sélecteur de documents */

.orchestra-attachments-v2 .orchestra-upload-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 13px;
	border: 1px solid #d9e1e6;
	border-radius: 7px;
	background: #fff;
	color: #102D40;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s ease;
}

	.orchestra-attachments-v2 .orchestra-upload-button:hover {
		background: #f4eee6;
		border-color: #A68863;
	}

	.orchestra-attachments-v2 .orchestra-upload-button .rz-icon {
		font-size: 17px;
		color: #A68863;
	}

.orchestra-attachments-v2 .orchestra-upload-input-hidden {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.orchestra-attachments-v2 .orchestra-upload-button:has(input:focus-visible) {
	outline: 2px solid #A68863;
	outline-offset: 3px;
}

.orchestra-attachments-v2 .orchestra-upload-button:has(input:disabled) {
	opacity: .5;
	cursor: not-allowed;
}

/* Orchestra — Visibilité du bouton Retirer */

.orchestra-attachments-v2
.orchestra-attachment-actions .rz-button:last-child {
	color: #b45f5f !important;
	background: #fbf0f0 !important;
	border: 1px solid #f0dddd !important;
	border-radius: 7px;
}

	.orchestra-attachments-v2
	.orchestra-attachment-actions .rz-button:last-child:hover {
		color: #963d3d !important;
		background: #f5e2e2 !important;
		border-color: #e8c7c7 !important;
	}

.orchestra-attachments-v2
.orchestra-attachment-actions .rz-button:disabled {
	opacity: .4;
}

/* Orchestra V2 — Publication des observations */

.orchestra-comments-v2
.orchestra-publish-button.rz-button {
	background: #A68863 !important;
	border: 1px solid #A68863 !important;
	color: #ffffff !important;
	border-radius: 7px;
	font-weight: 600;
	min-height: 34px;
}

	.orchestra-comments-v2
	.orchestra-publish-button.rz-button
	.rz-button-text,
	.orchestra-comments-v2
	.orchestra-publish-button.rz-button
	.rz-button-icon {
		color: #ffffff !important;
		opacity: 1;
	}

	.orchestra-comments-v2
	.orchestra-publish-button.rz-button:hover:not(:disabled) {
		background: #92734e !important;
		border-color: #92734e !important;
	}

	.orchestra-comments-v2
	.orchestra-publish-button.rz-button:disabled {
		background: #e9e4de !important;
		border-color: #e9e4de !important;
		color: #66717b !important;
		opacity: 1;
	}

		.orchestra-comments-v2
		.orchestra-publish-button.rz-button:disabled
		.rz-button-text,
		.orchestra-comments-v2
		.orchestra-publish-button.rz-button:disabled
		.rz-button-icon {
			color: #66717b !important;
		}
/* Orchestra — défilement vers le détail */

.env-orchestra-workspace .orchestra-activity-detail {
	scroll-margin-top: 75px;
}

/* Orchestra V2 — Liens des activités */

.env-orchestra-workspace
.orchestra-activity-detail-link {
	display: inline;
	width: auto;
	padding: 0;
	margin: 0;
	border: none !important;
	outline: none;
	background: transparent !important;
	box-shadow: none !important;
	color: #102D40;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	text-align: left;
	cursor: pointer;
}

	.env-orchestra-workspace
	.orchestra-activity-detail-link:hover {
		color: #A68863;
		text-decoration: underline;
	}

	.env-orchestra-workspace
	.orchestra-activity-detail-link:focus-visible {
		outline: 2px solid #A68863;
		outline-offset: 3px;
		border-radius: 2px;
	}

/* Orchestra V2 — Description et responsable */

.env-orchestra-workspace .orchestra-activity-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

.env-orchestra-workspace .orchestra-activity-description {
	color: #718392;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.env-orchestra-workspace .orchestra-activity-assignee {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #405766;
	font-size: 11px;
	font-weight: 600;
}

	.env-orchestra-workspace .orchestra-activity-assignee .rz-icon {
		color: #78909c;
		font-size: 17px;
	}

.env-orchestra-workspace .orchestra-activity-unassigned {
	color: #9aa5ae;
	font-size: 11px;
	font-style: italic;
}

/* =====================================================
   ORCHESTRA V2 — Équipe et membres du dossier
   ===================================================== */

.env-orchestra .orchestra-team-summary {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 10px;
	padding-top: 9px;
	border-top: 1px solid #edf0f2;
}

.env-orchestra .orchestra-team-heading {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	color: #526674;
	font-size: 11px;
}

	.env-orchestra .orchestra-team-heading > .rz-icon {
		color: #A68863;
		font-size: 17px;
	}

	.env-orchestra .orchestra-team-heading strong {
		color: #102D40;
		font-weight: 650;
	}

.env-orchestra .orchestra-team-count {
	color: #82919c;
	font-size: 10px;
}

.env-orchestra .orchestra-team-members {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	padding-left: 23px;
}

.env-orchestra .orchestra-team-member {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	background: #f2f5f7;
	border: 1px solid #e7ecef;
	border-radius: 5px;
	color: #526674;
	font-size: 10px;
	font-weight: 500;
	white-space: nowrap;
}

	.env-orchestra .orchestra-team-member:has(.rz-icon) {
		background: #f6f0e8;
		border-color: #ece1d2;
		color: #8b6d48;
	}

	.env-orchestra .orchestra-team-member .rz-icon {
		color: #A68863;
		font-size: 12px;
	}

/* Orchestra — visibilité des actions secondaires */

.orchestra-activity-actions .orchestra-btn-assign,
.orchestra-activity-actions .orchestra-btn-details {
	background-color: #ffffff !important;
	color: #36546a !important;
	border: 1px solid #9aabb8 !important;
	opacity: 1 !important;
	box-shadow: none !important;
}

	.orchestra-activity-actions .orchestra-btn-assign:hover,
	.orchestra-activity-actions .orchestra-btn-details:hover {
		background-color: #edf3f7 !important;
		color: #203e54 !important;
		border-color: #58758a !important;
	}

	.orchestra-activity-actions .orchestra-btn-assign .rz-button-text,
	.orchestra-activity-actions .orchestra-btn-details .rz-button-text,
	.orchestra-activity-actions .orchestra-btn-assign .rzi,
	.orchestra-activity-actions .orchestra-btn-details .rzi {
		color: inherit !important;
		opacity: 1 !important;
	}

/* Conserver le contraste sur les lignes alternées */
.rz-datatable-even .orchestra-activity-actions button,
.rz-datatable-odd .orchestra-activity-actions button {
	opacity: 1;
}

/* Orchestra — contraste du RadzenSplitButton Affecter */

.orchestra-activity-actions .orchestra-btn-assign,
.orchestra-activity-actions .orchestra-btn-assign .rz-button {
	color: #36546a !important;
	background: #fff !important;
	opacity: 1 !important;
}

	.orchestra-activity-actions .orchestra-btn-assign .rz-button-text,
	.orchestra-activity-actions .orchestra-btn-assign .rzi,
	.orchestra-activity-actions .orchestra-btn-assign .rz-button-icon {
		color: #36546a !important;
		opacity: 1 !important;
	}

	.orchestra-activity-actions .orchestra-btn-assign .rz-button:hover {
		background: #edf3f7 !important;
	}

.orchestra-workplan-summary {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	color: #758899;
}

/* Orchestra — indicateurs du plan de travail */

.orchestra-workspace-panel-header .orchestra-kpis {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

	.orchestra-workspace-panel-header .orchestra-kpis .orchestra-kpi {
		display: inline-flex !important;
		flex-direction: row !important;
		align-items: center;
		justify-content: center;
		gap: 6px;
		width: auto !important;
		padding: 5px 11px;
		border-radius: 7px;
		white-space: nowrap;
		font-size: 12px;
		font-weight: 600;
		line-height: 1.4;
	}

		.orchestra-workspace-panel-header .orchestra-kpis .orchestra-kpi span {
			display: inline !important;
			width: auto !important;
			margin: 0 !important;
			padding: 0 !important;
			color: inherit !important;
			font-size: inherit !important;
			line-height: inherit !important;
		}

		.orchestra-workspace-panel-header .orchestra-kpis .orchestra-kpi .rzi {
			font-size: 16px !important;
			color: inherit !important;
			flex-shrink: 0;
		}

.orchestra-kpi-total {
	background: #edf1f4;
	color: #526879;
}

.orchestra-kpi-pending {
	background: #f8efe2;
	color: #97703d;
}

.orchestra-kpi-progress {
	background: #e7f1f8;
	color: #39769e;
}

.orchestra-kpi-completed {
	background: #e6f3eb;
	color: #397b56;
}

/* Orchestra — KPI compacts et alignés */

.orchestra-workspace-panel-header .orchestra-kpis .orchestra-kpi {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 7px !important;
	min-height: 0 !important;
	height: auto !important;
	width: auto !important;
	padding: 6px 12px !important;
	border-radius: 7px;
}

	.orchestra-workspace-panel-header .orchestra-kpis .orchestra-kpi .rzi {
		display: inline-flex !important;
		align-items: center !important;
		margin: 0 !important;
		font-size: 16px !important;
	}

	.orchestra-workspace-panel-header .orchestra-kpis .orchestra-kpi span {
		display: inline !important;
		margin: 0 !important;
		width: auto !important;
		white-space: nowrap;
	}

/* =====================================================
   CENTRE D'ACTIVITÉ — Harmonisation Orchestra
   ===================================================== */

.env-activity-center .ac-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin: 16px 0 20px;
}

.env-activity-center .ac-summary-item {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 8px !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 8px 13px !important;
	border: 1px solid #e1e7ec;
	border-radius: 7px;
	background: #fff;
	white-space: nowrap;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

	.env-activity-center .ac-summary-item span {
		display: inline !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		color: inherit !important;
		font-size: inherit !important;
		line-height: inherit !important;
	}

	.env-activity-center .ac-summary-item .rzi {
		display: inline-flex !important;
		align-items: center !important;
		margin: 0 !important;
		font-size: 16px !important;
		color: inherit !important;
	}

.env-activity-center .ac-summary-total {
	border-left: 3px solid #7c8d9a;
	color: #526879;
}

.env-activity-center .ac-summary-pending {
	border-left: 3px solid #b18a57;
	color: #97703d;
}

.env-activity-center .ac-summary-progress {
	border-left: 3px solid #5b9bc2;
	color: #39769e;
}

.env-activity-center .ac-summary-completed {
	border-left: 3px solid #65a47d;
	color: #397b56;
}

.env-activity-center .ac-activity-origin {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 5px;
	font-size: 11px;
	color: #8495a3;
}

	.env-activity-center .ac-activity-origin .rzi {
		font-size: 13px;
	}

	.env-activity-center .ac-activity-origin a,
	.env-activity-center .ac-detail-origin a {
		color: #557c99;
		text-decoration: none;
	}

		.env-activity-center .ac-activity-origin a:hover,
		.env-activity-center .ac-detail-origin a:hover {
			text-decoration: underline;
		}

.env-activity-center .ac-detail-origin {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px 0;
	font-size: 12px;
	color: #718494;
}

.env-activity-center .ac-detail-content {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
	padding: 16px;
}

	.env-activity-center .ac-detail-content > * {
		min-width: 0;
	}

@media (max-width: 1050px) {
	.env-activity-center .ac-detail-content {
		grid-template-columns: 1fr;
	}
}

.env-activity-center .ac-filters {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.env-activity-center .ac-completed-filter {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
}

.env-activity-center .orchestra-activity-actions {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 6px;
}

.env-activity-center .ac-panel .rz-datatable,
.env-activity-center .ac-panel .rz-data-grid {
	width: 100%;
}

/* Styles partagés des activités : Orchestra + Centre d'activité */

.orchestra-activity-detail-link {
	display: inline;
	appearance: none;
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	margin: 0;
	color: #29475c;
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

	.orchestra-activity-detail-link:hover {
		color: #a78558;
		text-decoration: underline;
	}

	.orchestra-activity-detail-link:focus-visible {
		outline: 2px solid #a78558;
		outline-offset: 3px;
		border-radius: 2px;
	}

/* Pastilles de statut partagées */

.orchestra-status-pill {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

	.orchestra-status-pill.orchestra-status-draft {
		background: #eef1f4;
		color: #697987;
	}

	.orchestra-status-pill.orchestra-status-active {
		background: #e7f1f8;
		color: #477a9b;
	}

	.orchestra-status-pill.orchestra-status-completed {
		background: #e6f3eb;
		color: #43805a;
	}

/* ==========================================
   ORCHESTRA — Workspace compact
   ========================================== */

/* Réduire les espaces entre les sections */
.env-orchestra-workspace .orchestra-workspace-content {
	gap: 12px;
}

/* Équipe : une simple zone compacte */
.env-orchestra-workspace .orchestra-compact-team {
	padding: 10px 16px;
	background: #fff;
	border: 1px solid #e3e9ed;
	border-left: 3px solid #b18e64;
	border-radius: 9px;
}

	/* Neutraliser les espacements internes éventuels */
	.env-orchestra-workspace .orchestra-compact-team
	.orchestra-team-summary {
		margin: 0;
		padding: 0;
	}

/* Bandeau des compteurs */
.env-orchestra-workspace .orchestra-workplan-compact
.orchestra-workplan-toolbar {
	display: flex;
	align-items: center;
	padding: 10px 14px;
	border-bottom: 1px solid #e5ebef;
}

/* Conserver les compteurs sur une ligne compacte */
.env-orchestra-workspace .orchestra-workplan-compact
.orchestra-kpis {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

/* Pastilles plus compactes */
.env-orchestra-workspace .orchestra-workplan-compact
.orchestra-kpi {
	min-height: 0 !important;
	height: auto !important;
	width: auto !important;
	padding: 5px 10px !important;
	gap: 6px !important;
}

/* Grille directement sous les compteurs */
.env-orchestra-workspace .orchestra-workplan-compact
.orchestra-workspace-panel-body {
	padding-top: 10px;
}

/* Orchestra — KPI compacts de l'accueil */

.env-orchestra .orchestra-home-kpis {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin: 14px 0 18px;
}

.env-orchestra .orchestra-home-kpi {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 8px;
	flex: 0 0 auto !important;
	width: auto !important;
	min-height: 0 !important;
	height: auto !important;
	padding: 8px 13px !important;
	background: #fff;
	border: 1px solid #e1e7ec;
	border-radius: 7px;
	white-space: nowrap;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

	.env-orchestra .orchestra-home-kpi span {
		display: inline !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		color: inherit !important;
		font-size: inherit !important;
		line-height: inherit !important;
	}

	.env-orchestra .orchestra-home-kpi .rzi {
		display: inline-flex !important;
		align-items: center !important;
		margin: 0 !important;
		font-size: 16px !important;
		color: inherit !important;
		flex-shrink: 0;
	}

.env-orchestra .orchestra-home-kpi-total {
	border-left: 3px solid #7c8d9a;
	color: #526879;
}

.env-orchestra .orchestra-home-kpi-progress {
	border-left: 3px solid #5b9bc2;
	color: #39769e;
}

.env-orchestra .orchestra-home-kpi-completed {
	border-left: 3px solid #65a47d;
	color: #397b56;
}

.env-orchestra .orchestra-home-kpi-pending {
	border-left: 3px solid #b18a57;
	color: #97703d;
}
