
/*==========================================================================*/
/*===================== SUBSPACE COMMUNICATION CONSOLE =====================*/
/*==========================================================================*/

	.comm-live-thread {
		height:95px;
		margin-bottom:8px;
		padding:7px 9px;
		overflow-y:auto;
		border:1px solid rgba(117,215,240,.25);
		background:rgba(0,0,0,.38);
		font-family:"Courier New",monospace;
		font-size:12px; }

	.live-msg { margin:4px 0; }
	.live-msg.visitor { color:var(--bleu-ciel); }
	.live-msg.admin { color:var(--vert-fluo); }

	.live-msg.system {
		color:var(--orange);
		font-weight:bold;
		text-shadow:0 0 6px rgba(255,193,110,.55); }

	.typing-indicator {
		min-height:18px;
		margin:4px 0 6px;
		color:var(--bleu-ciel);
		font-family:"Courier New",monospace;
		font-size:11px;
		font-style:italic;
		opacity:.85; }

	.typing-indicator.admin-typing { color:var(--vert-fluo); }

	.comm-live-panel.technical-failure .comm-live-title {
		color:var(--orange);
		text-shadow:0 0 7px rgba(255,121,0,.55); }

	.comm-live-panel.technical-failure .comm-live-input,
	.comm-live-panel.technical-failure .comm-live-transmit,
	.comm-live-panel.technical-failure .comm-live-waiting { display:none; }

	body[data-link-failure="1"] .portrait .portrait-online {
		display:block;
		color:var(--orange);
		font-size:clamp(18px,2vw,34px);
		text-align:center;
		text-shadow:0 0 7px rgba(255,193,110,1),0 0 24px rgba(255,121,0,.75);
		animation:linkFailureBlink .55s steps(1) infinite; }

			@keyframes linkFailureBlink { 0%,55%{opacity:1;} 56%,100%{opacity:.22;} }

	.comm-live-panel { position:relative; }
	.admin-messenger { position:relative; }

	.admin-live-tools {
		position:absolute;
		top:5px;
		right:6px;
		display:flex;
		gap:5px;
		z-index:15; }

			.admin-live-tools button {
				width:28px;
				height:28px;
				padding:0;
				border:1px solid rgba(117,215,240,.45);
				background:rgba(0,0,0,.62);
				color:var(--bleu-ciel);
				font-size:19px;
				line-height:24px;
				cursor:pointer; }

			.admin-live-tools button:hover {
				color:#fff;
				border-color:var(--bleu-ciel);
				box-shadow:0 0 8px rgba(117,215,240,.55); }

			.admin-live-tools .admin-delete-conversation {
				color:var(--orange);
				border-color:rgba(255,193,110,.50); }

	main.visitor-live-expanded .holobrief-zone { display:none; }

	main.visitor-live-expanded .contact {
		grid-column:1 / 4;
		grid-row:2 / 7;
		z-index:12; }

	main.visitor-live-expanded .contact-console {
		top:70px;
		height:calc(100% - 76px); }

	.contact-console-body {
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 4px; }

	main.visitor-live-expanded .contact-console-body { height:100%; }
	main.visitor-live-expanded .comm-live-panel { height:100%; }


	.contact.admin-live > :not(.titre-bloc):not(.admin-messenger) { display: none; }

	.admin-messenger {
		position:absolute;
		inset:48px 2% 8px;
		display:grid;
		grid-template-columns:34% 66%;
		border:1px solid rgba(117,215,240,.35);
		background:rgba(0,10,18,.78); }

			.admin-messenger-list {
				padding:10px;
				overflow-y:auto;
				border-right:1px solid rgba(117,215,240,.25);
				color:var(--bleu-gris);
				font-family:"Courier New",monospace;
				font-size:12px; }

			.admin-channel {
				padding:7px 6px;
				margin-bottom:5px;
				border-bottom:1px solid rgba(117,215,240,.18);
				cursor:pointer; }

					.admin-channel:hover, .admin-channel.active {
						color:var(--vert-fluo);
						background:rgba(0,255,102,.07); }

			.admin-messenger-chat {
				min-width:0;
				padding:10px;
				display:grid;
				grid-template-rows:1fr auto auto;
				gap:8px;
				color:#7f8b91;
				letter-spacing:.4px; }

	.admin-live-messages {
		min-height:0;
		overflow-y:auto;
		padding:6px;
		border:1px solid rgba(117,215,240,.16);
		font-family:"Courier New",monospace;
		font-size:12px; }

	.admin-live-reply {
		display:grid;
		grid-template-columns:1fr auto;
		gap:7px; }

			.admin-live-reply textarea {
				height:54px; resize:none;
				padding:6px 8px;
				border:1px solid rgba(117,215,240,.4);
				background:rgba(0,0,0,.6);
				color:var(--orange);
				font-family:"Courier New",monospace; }

			.admin-live-reply button {
				padding:0 12px;
				border:1px solid rgba(0,255,102,.65);
				background:rgba(0,255,102,.08);
				color:var(--vert-fluo);
				cursor:pointer; }


	/*============== LONG RANGE SENSOR / LIVE COMM ==============*/

	.long-range-scan {
		display: none;
		position: fixed;
		top: 0;
		left: -8px;
		width: 4px;
		height: 100vh;
		z-index: 2000;
		pointer-events: none;
		background: rgba(100,225,255,.98);
		box-shadow: 0 0 7px rgba(100,225,255,1), 0 0 20px rgba(100,225,255,.95), 0 0 48px rgba(100,225,255,.70); }

			.long-range-scan::after {
				content: "";
				position: absolute;
				top: 0;
				left: -30px;
				width: 64px;
				height: 100%;
				background: linear-gradient(to right, transparent, rgba(100,225,255,.08), rgba(100,225,255,.24), rgba(100,225,255,.08), transparent); }

			.contact[data-channel-state="searching"] .long-range-scan {
				display: block;
				animation: longRangeSweep 6s linear forwards; }

					@keyframes longRangeSweep {
						from { left: -8px; }
						to { left: calc(40vw - 2px); } }


	/*=========== OPEN CHANNEL / LIVE MESSENGER ===========*/

	.open-channel-display,
	.open-channel-message { display: none; }

	.open-channel-display {
		position: absolute;
		left: 32px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 3;
		pointer-events: none;
		white-space: nowrap;
		color: #ffb000;
		font-family: "Courier New", monospace;
		font-size: 18px;
		font-weight: bold;
		letter-spacing: 2px; }

	.open-channel-message {
		position: fixed;
		left: 50%;
		top: 50%;
		transform: translate(-50%,-50%);
		width: min(92vw, 1200px);
		z-index: 2001;
		pointer-events: none;
		font-family: "Courier New", monospace;
		font-weight: bold;
		letter-spacing: 2px;
		text-align: center; }

	.contact[data-channel-state="searching"] .open-channel-searching-position { display: inline-flex; }

	.contact[data-channel-state="achieved"] .open-channel-sensor-achieved {
		display: block;
		color: var(--vert-fluo);
		font-size: clamp(24px, 3vw, 48px);
		text-transform: uppercase;
		text-shadow: 0 0 6px rgba(0,255,102,.95), 0 0 20px rgba(0,255,102,.65);
		animation: longRangeBlink .42s steps(1) infinite; }

	.contact[data-channel-state="target-online"] .open-channel-target-found {
		display: block;
		color: var(--vert-fluo);
		font-size: clamp(18px, 2vw, 32px);
		text-shadow: 0 0 6px rgba(0,255,102,.95), 0 0 20px rgba(0,255,102,.65); }

	.contact[data-channel-state="target-offline"] .open-channel-target-offline {
		display: block;
		color: #ff3030;
		font-size: clamp(18px, 2vw, 32px);
		text-shadow: 0 0 6px rgba(255,48,48,.9), 0 0 20px rgba(255,0,0,.55);
		background: #00101a;
		border: 1px solid rgba(255,121,0,.7);
		padding: 22px 30px;
		box-sizing: border-box; }


	.open-channel-target-offline .offline-line {
		display:inline-block;
		white-space:nowrap; }

	.contact[data-channel-state="live"] .open-channel-channel-open { display: inline-block; }

		@keyframes longRangeBlink { 0%, 52% { opacity: 1; } 53%, 100% { opacity: .18; } }

	.comm-live-panel {
		display: none;
		grid-column: 2 / 4;
		width: 100%;
		height: 100%;
		min-width: 0;
		padding: 14px 18px;
		border: 1px solid rgba(0,255,102,.55);
		border-radius: 9px;
		background: rgba(0,0,0,.48);
		font-family: "Courier New", monospace; }

			.contact[data-channel-state="live"] .contact-console-body .comm-actions,
			.contact[data-channel-state="live"] .contact-console-body .comm-translator { display: none; }
			.contact[data-channel-state="live"] .contact-console-body .comm-live-panel { display: flex; flex-direction: column; justify-content: center; }

	.comm-live-title {
		margin-bottom: 12px;
		color: var(--vert-fluo);
		font-size: clamp(15px, 1.25vw, 20px);
		font-weight: bold;
		text-shadow: 0 0 7px rgba(0,255,102,.55); }

	.comm-live-input {
		width: 100%;
		height: 90px;
		resize: none;
		padding: 10px 12px;
		border: 1px solid rgba(117,215,240,.65);
		border-radius: 7px;
		outline: none;
		background: rgba(0,0,0,.72);
		color: var(--orange);
		font-family: "Courier New", monospace;
		font-size: 15px; }

			.comm-live-input:focus { border-color: var(--vert-fluo); box-shadow: 0 0 10px rgba(0,255,102,.25); }

			.comm-live-transmit {
				align-self: flex-end;
				margin-top: 10px;
				padding: 8px 20px;
				border: 1px solid rgba(0,255,102,.75);
				border-radius: 7px;
				background: rgba(0,255,102,.08);
				color: var(--vert-fluo);
				font-family: "Arial Narrow", Arial, sans-serif;
				font-weight: 900;
				letter-spacing: 1px;
				cursor: pointer; }

				.comm-live-transmit:hover { background: rgba(0,255,102,.18); box-shadow: 0 0 12px rgba(0,255,102,.35); }
				.comm-live-transmit:disabled { opacity: .35; cursor: default; box-shadow: none; }

	.comm-live-waiting {
		display: none;
		margin-top: 12px;
		color: var(--bleu-ciel);
		font-size: 13px;
		letter-spacing: 1px; }

	.comm-live-panel.waiting .comm-live-waiting { display: block; }

	.comm-live-panel.waiting .comm-live-waiting::after {
		content: "";
		animation: commWaitingDots 1.2s steps(4,end) infinite; }

			@keyframes commWaitingDots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75%,100% { content: "..."; } }

	.contact-console {
		position: absolute;
		top: 70px;
		left: 4%;
		width: 92%;
		height: calc(100% - 76px);
		display: grid;
		grid-template-rows: 34px 1fr;
		gap: 4px;
		padding: 1px 5px 4px;
		z-index: 4; }

			.contact-console-top {
				display: grid;
				grid-template-columns: minmax(0,1fr) 70px 18px;
				gap: 8px;
				align-items: center; }

	/* CHAMP DE SAISIE */
	.comm-display {
		width: 100%;
		height: 100%;
		padding: 0 10px 0 27px;
		border: 2px solid #ffb000;
		border-radius: 9px;
		outline: none;
		background: rgba(0,0,0,.72);
		color: #ffb000;
		font-family: "Courier New", monospace;
		font-size: 22px;
		font-weight: bold;
		letter-spacing: 2px;
		box-shadow: inset 0 0 12px rgba(255,176,0,.06); }

		.comm-display-wrap {
			position: relative;
			height: 36px; }

			.comm-display-wrap::before {
				content: "";
				position: absolute;
				left: 12px;
				top: 50%;
				width: 0;
				height: 0;
				border-top: 6px solid transparent;
				border-bottom: 6px solid transparent;
				border-left: 9px solid #ffb000;
				transform: translateY(-50%);
				z-index: 2; }

	/* BOUTON ROUGE */
	.comm-ok {
		height: 44px;
		width: 70px;
		border: 2px solid #b43c00;
		border-radius: 8px;
		background: linear-gradient(#ff6a23,#ff4a12);
		color: #000;
		font-family: "Arial Narrow", Arial, sans-serif;
		font-size: 17px;
		font-weight: 900;
		display: flex;
		align-items: center;
		justify-content: center;
		text-decoration: none;
		cursor: default;
		pointer-events: none;
		box-shadow: inset 0 2px 0 rgba(255,255,255,.45), inset 0 -3px 0 rgba(130,35,0,.38), 0 2px 4px rgba(0,0,0,.65); }

	.comm-ok-content { display: none; }

			/* Texte apparaissant parfois sur le bouton */
			.comm-ok[data-purpose="phone"],
			.comm-ok[data-purpose="clear"],
			.comm-ok[data-purpose="close"] {
				font-size: 12px;
				letter-spacing: 0.5px;
				cursor: pointer;
				pointer-events: auto; }

			.comm-ok[data-purpose="phone"] { animation: commOkBlink .55s steps(1) infinite; }
			.comm-ok[data-purpose="phone"] .comm-ok-phone,
			.comm-ok[data-purpose="clear"] .comm-ok-clear,
			.comm-ok[data-purpose="close"] .comm-ok-close { display: block; }

			.comm-ok[data-purpose="phone"]:active,
			.comm-ok[data-purpose="clear"]:active,
			.comm-ok[data-purpose="close"]:active {
				transform: translateY(2px);
				box-shadow: inset 0 2px 5px rgba(0,0,0,.35); }

			.comm-ok[data-purpose="close"] {
				animation: none;
				letter-spacing: 1px; }

			.comm-ok img { /* Icône téléphone pour appeler */
				width: 21px;
				height: 21px;
				object-fit: contain; }

					@keyframes commOkBlink {
						0%, 55% { opacity: 1; filter: brightness(1.15); }
						56%, 100% { opacity: .22; filter: brightness(.8); } }

	/* VOYANTS LUMINEUX à droite du bouton */
	.comm-lights {
		height: 38px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center; }



	/* ESPACE SOUS LA ZONE DE SAISIE */
	.contact-console-body {
		min-height: 0;
		display: grid;
		grid-template-columns: 30fr 40fr 30fr;
		gap: 8px;
		align-items: center;
		padding: 1px 6px 2px; }

		/* Keypad / Clavier numérique */
		.comm-keypad {
			display: grid;
			grid-template-columns: repeat(3, 36px);
			grid-auto-rows: 36px;
			gap: 20px;
			justify-content: start;
			align-content: start;
			position: relative;
			left: 20px;
			top: -10px; }

				.comm-key {
					width: 50px;
					height: 50px;
					aspect-ratio: auto;
					padding: 0;
					border: 2px solid rgba(117,215,240,.65);
					border-radius: 9px;
					background: transparent;
					color: var(--bleu-ciel);
					display: flex;
					flex-direction: column;
					align-items: center;
					justify-content: center;
					font-family: "Arial Narrow", Arial, sans-serif;
					cursor: pointer;
					box-shadow: inset 0 0 12px rgba(117,215,240,.08), 0 0 5px rgba(117,215,240,.18);
					transition: transform .12s ease, filter .12s ease, border-color .12s ease, box-shadow .12s ease, background .12s ease; }

						.comm-key .digit { font-size: 22px; font-weight: 900; line-height: .9; }
						.comm-key .letters { margin-top: 3px; font-size: 10px; font-weight: 700; line-height: 1; color: var(--bleu-ciel); }
						.comm-key:hover {
							transform: scale(1.10);
							border-color: rgba(117,215,240,1);
							background: rgba(117,215,240,.12);
							filter: brightness(1.55);
							box-shadow: inset 0 0 18px rgba(117,215,240,.20), 0 0 10px rgba(117,215,240,.85), 0 0 22px rgba(117,215,240,.35); }

						.comm-key:active { transform: translateY(4px) scale(.94); box-shadow: inset 0 5px 8px rgba(0,0,0,.42), 0 0 9px rgba(117,215,240,.55); }

						.comm-key[data-auto-press="1"] { animation: commKeyAuto .16s ease-out; }

								@keyframes commKeyAuto {
									0% { transform: translateY(0) scale(1); filter: brightness(1); }
									42% { transform: translateY(8px) scale(.88); filter: brightness(1.85); box-shadow: inset 0 7px 10px rgba(0,0,0,.58), 0 0 14px rgba(117,215,240,.78); }
									72% { transform: translateY(3px) scale(.95); filter: brightness(1.45); }
									100% { transform: translateY(0) scale(1); filter: brightness(1); } }

		/* Boutons d'actions */
		.comm-actions {
			width: 100%;
			max-width: 100%;
			min-width: 0;
			display: grid;
			grid-template-rows: repeat(5, 42px);
			gap: 3px;
			align-content: center;
			min-height: 0; }

		.comm-action {
			width: 100%;
			max-width: 100%;
			height: 34px;
			border: 2px solid rgba(117,215,240,.55);
			border-radius: 9px;
			color: var(--bleu-ciel);
			font-family: "Arial Narrow", Arial, sans-serif;
			font-size: 13px;
			font-weight: 900;
			letter-spacing: .2px;
			text-transform: uppercase;
			white-space: normal;
			line-height: 1.05;
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 10px;
			padding: 0 9px 0 11px;
			cursor: pointer;
			background: transparent;
			box-shadow: inset 0 0 14px rgba(117,215,240,.07), 0 0 5px rgba(117,215,240,.16);
			transition: transform .12s ease, filter .12s ease, border-color .12s ease, box-shadow .12s ease, background .12s ease; }

				.comm-action > span {
					flex: 1 1 auto;
					min-width: 0;
					text-align: left; }

				#comm-voice-contact .voice-contact-close { display: none; }
				#comm-voice-contact[data-state="open"] .voice-contact-open { display: none; }
				#comm-voice-contact[data-state="open"] .voice-contact-close { display: inline; }
				#comm-voice-contact[data-state="open"] {
					transform: scale(1.035);
					border-color: rgba(117,215,240,1);
					background: rgba(117,215,240,.12);
					filter: brightness(1.45);
					box-shadow: inset 0 0 18px rgba(117,215,240,.16), 0 0 10px rgba(117,215,240,.78), 0 0 22px rgba(117,215,240,.28); }

				.comm-action img {
					display: block;
					width: 30px;
					height: 30px;
					object-fit: contain;
					flex: 0 0 24px; }

		.comm-action.comm-offline-suggested { animation: vipDeniedBlink .55s steps(1) infinite; }

		.comm-action:hover, .comm-action:active, .comm-action.comm-action-active, .comm-action.comm-chaos-active, .comm-action.comm-offline-suggested {
			transform: scale(1.035);
			border-color: rgba(117,215,240,1);
			background: rgba(117,215,240,.12);
			filter: brightness(1.45);
			box-shadow: inset 0 0 18px rgba(117,215,240,.16), 0 0 10px rgba(117,215,240,.78), 0 0 22px rgba(117,215,240,.28); }

		.comm-lights.comm-lights-chaos .comm-light,
		.contact[data-channel-state="live"] .comm-lights .comm-light { animation: commLightsChaos .85s ease-in-out infinite; }
		.comm-lights.comm-lights-chaos .comm-light:nth-child(2),
		.contact[data-channel-state="live"] .comm-lights .comm-light:nth-child(2) { animation-delay: -.28s; }
		.comm-lights.comm-lights-chaos .comm-light:nth-child(3),
		.contact[data-channel-state="live"] .comm-lights .comm-light:nth-child(3) { animation-delay: -.56s; }

			@keyframes commLightsChaos {
				0%, 100% { opacity: .45; transform: scale(.95); filter: brightness(.75); }
				35% { opacity: 1; transform: scale(1.20); filter: brightness(1.8); }
				55% { opacity: .70; transform: scale(1.05); filter: brightness(1.15); }
				75% { opacity: 1; transform: scale(1.15); filter: brightness(1.55); } }

		.comm-action.vip-denied {
			background: #000;
			color: var(--orange);
			justify-content: center;
			text-shadow: 0 0 5px rgba(255,193,110,.95), 0 0 14px rgba(255,121,0,.70);
			animation: vipDeniedBlink .42s steps(1) infinite; }

				.comm-action.vip-denied img { display: none; }
				@keyframes vipDeniedBlink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: .22; } }


		/* ------------------- VCARD ------------------- */

		.comm-vcard-panel {
			display: none;
			width: 100%;
			height: 100%;
			border: 1px solid rgba(117,215,240,.55);
			border-radius: 9px;
			padding: 20px 15px;
			background: rgba(0,0,0,.46);
			color: var(--bleu-ciel);
			font-family: "Courier New", monospace;
			align-items: center;
			justify-content: center;
			text-align: left;
			position: relative; }

				#comm-vcard-toggle:checked ~ .contact-console-body .comm-actions { grid-template-rows: 1fr; }
				#comm-vcard-toggle:checked ~ .contact-console-body .comm-actions > .comm-action { display: none; }
				#comm-vcard-toggle:checked ~ .contact-console-body .comm-vcard-panel { display: flex; }

				.comm-vcard-inner { width: 90%; }

				.comm-vcard-name {
					margin-bottom: 11px;
					color: var(--orange);
					font-family: "Arial Narrow", Arial, sans-serif;
					font-size: 14px;
					font-weight: 550;
					text-transform: uppercase; }

				.comm-vcard-line {
					margin: 6px 0;
					font-size: 12px;
					word-break: break-word; }

						.comm-vcard-label {
							color: var(--gris);
							margin-right: 16px; }

						.comm-vcard-record {
							width: 100%;
							height: 38px;
							margin-top: 12px;
							border: 1px solid rgba(0,255,102,.72);
							border-radius: 7px;
							background: transparent;
							color: var(--vert-fluo);
							font-family: "Arial Narrow", Arial, sans-serif;
							font-size: 9px;
							font-weight: 900;
							letter-spacing: .8px;
							display: flex;
							align-items: center;
							justify-content: center;
							text-decoration: none;
							cursor: pointer;
							transition: .12s ease; }

								.comm-vcard-record:hover {
									background: rgba(0,255,102,.11);
									box-shadow: 0 0 12px rgba(0,255,102,.48);
									transform: scale(1.025); }

				.comm-vcard-success {
					display: none;
					margin-top: 12px;
					color: var(--vert-fluo);
					font-size: 13px;
					font-weight: bold;
					text-align: center;
					text-shadow: 0 0 5px rgba(0,255,102,.95), 0 0 13px rgba(0,255,102,.60); }

						#comm-vcard-success-toggle:checked ~ .comm-vcard-success {
							display: block;
							animation: vcardSuccessBlink .35s steps(1) infinite; }

						.comm-vcard-download-frame { display: none; }

						@keyframes vcardSuccessBlink { 0%, 54% { opacity: 1; } 55%, 100% { opacity: .22; } }

				.comm-vcard-close {
					position: absolute;
					top: 5px;
					right: 7px;
					border: 0;
					background: transparent;
					color: #75d7f0;
					font-size: 26px;
					line-height: 1;
					cursor: pointer;
					z-index: 5; }

						.comm-vcard-close:hover {
							color: #fff;
							text-shadow: 0 0 8px #75d7f0;
							transform: scale(1.2); }

		.vcard-create-account {
			width:100%;
			min-height:38px;
			margin-top:12px;
			border:1px solid rgba(0,255,102,.72);
			border-radius:7px;
			background:transparent;
			color:var(--vert-fluo);
			font-family:"Arial Narrow",Arial,sans-serif;
			font-size:9px;
			font-weight:900;
			cursor:pointer; }

				.vcard-create-account:hover {
					background:rgba(0,255,102,.11);
					box-shadow:0 0 12px rgba(0,255,102,.48); }


		/* ------------------- TRANSLATOR DEVICE ------------------- */

		.comm-translator {
			min-width: 0;
			height: 100%;
			display: flex;
			flex-direction: column;
			justify-content: center;
			padding-left: 14px;
			border-left: 1px solid rgba(150, 160, 165, 0.25); }

				.comm-translator-title {
					width: 100%;
					margin-top: 10px;
					margin-bottom: 15px;
					color: var(--bleu-ciel);
					font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
					font-size: clamp(10px, .82vw, 14px);
					font-weight: bold;
					line-height: 1.05;
					text-align: center;
					text-transform: uppercase; }

				.comm-translator-flags {
					display: grid;
					grid-template-columns: repeat(2, max-content);
					gap: 12px 18px;
					align-items: center;
					justify-content: center; }

				.comm-translator-row {
					display: flex;
					align-items: center;
					justify-content: flex-start;
					gap: 8px;
					min-width: 0; }

						.comm-translator-row img {
							display: block;
							width: 50px;
							height: auto;
							opacity: .95; }

				.translator-light {
					width: 12px;
					height: 12px;
					flex: 0 0 12px;
					border: 1px solid rgba(255,255,255,.42);
					border-radius: 50%;
					background: #d21414;
					box-shadow: 0 0 4px rgba(255,0,0,.95), 0 0 10px rgba(255,0,0,.55), inset 0 0 3px rgba(255,255,255,.45); }

						.translator-light-green {
							background: var(--vert-fluo);
							box-shadow: 0 0 4px rgba(0,255,102,1), 0 0 11px rgba(0,255,102,.72), inset 0 0 3px rgba(255,255,255,.55); }

						.comm-translator-flags:has(img:hover) .translator-light-green {
							animation: translatorLightBlink .28s steps(1) infinite; }

						@keyframes translatorLightBlink {
							0%, 49% {
								opacity: 1;
								transform: scale(1.28);
								filter: brightness(1.7);
								box-shadow: 0 0 6px #fff, 0 0 14px #00ff66, 0 0 26px rgba(0,255,102,.85), inset 0 0 4px rgba(255,255,255,.75); }
							50%, 100% {
								opacity: .28;
								transform: scale(.92);
								filter: brightness(.55);
								box-shadow: 0 0 3px rgba(0,255,102,.45); } }


		/* ------------------- CONTACT FORM ------------------- */

		.comm-contact-form {
			display: none;
			position: absolute;
			top: 82px;
			left: 6%;
			width: 88%;
			z-index: 5; }

				.comm-contact-form form {
					width: 100%;
					display: grid;
					grid-template-columns: 1fr 1fr;
					grid-template-rows: auto auto auto auto;
					gap: 9px 12px;
					padding: 4px 8px 8px; }

		.form-intro {
			margin-top: 25px;
			margin-bottom: 25px;
			color:var(--orange);
			font-family:"Arial Narrow",Arial,sans-serif;
			font-size: 18px; }

		.contact.form-active .contact-console { display: none; }
		.contact.form-active .comm-contact-form { display: block; }

		.comm-form-field { min-width: 0; }

				.comm-form-field.comm-form-message {
					grid-column: 1 / 3;
					min-height: 0; }

				.comm-form-field label {
					display: block;
					margin-bottom: 4px;
					color: var(--bleu-ciel);
					font-family: "Arial Narrow", Arial, sans-serif;
					font-size: 16px;
					font-weight: bold;
					text-transform: uppercase; }

				.comm-form-field input,
				.comm-form-field textarea {
					width: 100%;
					border: 1px solid rgba(117,215,240,.48);
					outline: none;
					background: rgba(0,0,0,.62);
					color: var(--orange);
					font-family: "Courier New", monospace;
					font-size: 14px;
					padding: 7px 9px;
					box-shadow: inset 0 0 8px rgba(117,215,240,.05); }

				.comm-form-field textarea {
					height: 120px;
					resize: none; }

				.comm-form-field input:focus,
				.comm-form-field textarea:focus {
					border-color: var(--bleu-ciel);
					box-shadow: 0 0 8px rgba(117,215,240,.28); }

		.comm-form-buttons {
			grid-column: 1 / 3;
			display: flex;
			justify-content: flex-end;
			gap: 10px; }

				.comm-form-buttons button {
					min-width: 110px;
					height: 34px;
					border: 1px solid rgba(117,215,240,.45);
					background: rgba(20,45,55,.72);
					font-family: "Arial Narrow", Arial, sans-serif;
					font-weight: bold;
					letter-spacing: .7px;
					cursor: pointer; }

		.comm-transmit { color: var(--vert-fluo); font-size: 18px; }
		.comm-cancel { color: var(--orange); }
		.comm-form-buttons button:hover { background: rgba(117,215,240,.14); }

		/* Envoi prioritaire : double scan puis vortex de distorsion */
		.comm-contact-form.scan-closing { overflow: hidden; }

		.comm-contact-form.scan-closing::before,
		.comm-contact-form.scan-closing::after {
			content: "";
			position: absolute;
			top: 0;
			bottom: 0;
			width: 3px;
			z-index: 24;
			pointer-events: none;
			background: #fff;
			box-shadow: 0 0 5px #fff, 0 0 12px var(--bleu-ciel), 0 0 24px var(--bleu-ciel), 0 0 38px var(--vert-fluo); }

		.comm-contact-form.scan-closing::before { left: 0; animation: contactScanLeft 2.5s linear forwards; }
		.comm-contact-form.scan-closing::after { right: 0; animation: contactScanRight 2.5s linear forwards; }

		.comm-contact-form.scan-closing .form-intro,
		.comm-contact-form.scan-closing form { animation: contactScanErase 2.5s linear forwards; }

		/*--- Le message qui s'affiche en vert clignotant pendant l'anim ---*/
		.contact-warp-message {
			display: none;
			position: absolute;
			left: 5%;
			right: 5%;
			top: 50%;
			transform: translateY(-50%);
			z-index: 30;
			text-align: center;
			color: var(--vert-fluo);
			font-family: "Courier New", monospace;
			font-size: 30px;
			font-weight: bold;
			line-height: 1.45;
			text-shadow: 0 0 5px var(--vert-fluo), 0 0 14px var(--vert-fluo); }

				.comm-contact-form.scan-closing .contact-warp-message {
					display: block;
					animation: contactWarpMessageBlink .42s steps(1) infinite; }

		.contact-warp-vortex {
			display: none;
			position: absolute;
			left: 50%;
			top: 50%;
			width: 120%;
			aspect-ratio: 1 / 1;
			z-index: 22;
			pointer-events: none;
			border-radius: 50%;
			opacity: 0;

			background:
				radial-gradient(
					circle,
					transparent 0 18%,
					rgba(117,215,240,.18) 20%,
					rgba(150,165,175,.55) 23%,
					transparent 27%,
					transparent 38%,
					rgba(117,215,240,.55) 41%,
					rgba(120,135,145,.35) 44%,
					transparent 48%,
					transparent 61%,
					rgba(180,195,205,.40) 64%,
					rgba(117,215,240,.28) 67%,
					transparent 71% );

			box-shadow:
				inset 0 0 50px rgba(117,215,240,.30),
				0 0 35px rgba(117,215,240,.35);

			transform: translate(-50%,-50%) scale(.15); }


		/* Animation du "vortex" circulaire à l'envoi du message */

		.contact-warp-vortex span {
			position: absolute;
			inset: 8%;
			border-radius: 50%;

			background:
				radial-gradient(
					ellipse at 65% 28%,
					rgba(255,193,110,.55) 0 1%,
					rgba(255,193,110,.15) 2%,
					transparent 7% ),
				radial-gradient(
					ellipse at 27% 68%,
					rgba(117,215,240,.65) 0 2%,
					transparent 8% ),
				radial-gradient(
					circle,
					transparent 0 30%,
					rgba(190,205,215,.45) 33%,
					transparent 37%,
					transparent 53%,
					rgba(117,215,240,.35) 56%,
					transparent 61% );

			box-shadow:
				inset 0 0 35px rgba(0,0,0,.85),
				0 0 18px rgba(117,215,240,.40); }

		.comm-contact-form.scan-closing .contact-warp-vortex {
			display: block;
			animation: contactWarpVortex 8s 6s ease-in-out forwards; }

				@keyframes contactWarpVortex {

					0% { opacity: 0; transform: translate(-50%,-50%) scale(.15) rotate(0deg); }
					12% { opacity: .95; transform: translate(-50%,-50%) scale(1) rotate(90deg); }
					25% { opacity: .80; transform: translate(-50%,-50%) scale(.55) rotate(180deg); }
					38% { opacity: .95; transform: translate(-50%,-50%) scale(1.05) rotate(300deg); }
					51% { opacity: .82; transform: translate(-50%,-50%) scale(.48) rotate(420deg); }
					64% { opacity: .95; transform: translate(-50%,-50%) scale(.90) rotate(540deg); }
					76% { opacity: .78; transform: translate(-50%,-50%) scale(.38) rotate(630deg); }
					87% { opacity: .90; transform: translate(-50%,-50%) scale(.65) rotate(700deg); }
					100% { opacity: 0; transform: translate(-50%,-50%) scale(0) rotate(800deg); } }

		.comm-contact-form.scan-closing .contact-warp-vortex {
			display: block;
			animation: contactWarpVortex 2.15s 2.5s cubic-bezier(.45,.02,.35,1) forwards; }

				@keyframes contactScanLeft { from { left: 0; } to { left: 50%; } }
				@keyframes contactScanRight { from { right: 0; } to { right: 50%; } }
				@keyframes contactScanErase {
					from { clip-path: inset(0 0 0 0); opacity: 1; }
					to { clip-path: inset(0 50% 0 50%); opacity: .04; } }

				@keyframes contactWarpMessageBlink {
					0%, 48% { opacity: 1; }
					49%, 100% { opacity: .22; } }

		.comm-open-success {
			background: #000;
			font-size: 14px;
			color: var(--orange);
			justify-content: center;
			animation: vipDeniedBlink 1s steps(1) infinite; }

				.comm-open-success img { display: none; }
				.comm-open-success-text { display:none; }
				.comm-open-success .comm-open-default { display:none; }
				.comm-open-success .comm-open-success-text { display:inline; }
				.comm-ok:hover { filter: brightness(1.18); }

		.comm-display.access-denied {
			color: var(--orange);
			text-align: center;
			text-shadow: 0 0 5px rgba(255,193,110,.95), 0 0 14px rgba(255,121,0,.70);
			animation: voiceFailedBlink .45s steps(1) infinite; }


        main.visitor-live-expanded .holobrief-zone { display:none !important; }

				main.visitor-live-expanded .contact {
					grid-column:1 / 4;
					grid-row:2 / 7;
					z-index:12; }

				main.visitor-live-expanded .contact-console-body {
					display:block;
					position:relative;
					height:100%;
					padding:0; }

				main.visitor-live-expanded .comm-keypad,
				main.visitor-live-expanded .comm-actions,
				main.visitor-live-expanded .comm-translator,
				main.visitor-live-expanded .comm-vcard-panel { display:none !important; }

				main.visitor-live-expanded .comm-live-panel {
					display:flex !important;
					position:absolute;
					inset:0;
					width:100%;
					height:100%;
					padding:14px 18px;
					flex-direction:column;
					justify-content:center; }


		main.contact-form-expanded .holobrief-zone { display:none !important; }

				main.contact-form-expanded .contact {
					grid-column:1 / 4;
					grid-row:2 / 7;
					z-index:12; }

				main.contact-form-expanded .contact .comm-contact-form {
					display:block !important;
					top:70px;
					left:4%;
					width:92%;
					height:calc(100% - 76px); }

				main.contact-form-expanded .contact .contact-console { display:none !important; }


		/* ------------------- PRENDRE RENDEZ-VOUS ------------------- */

		.contact-console.rdv-console-active {
			grid-template-rows: 1fr;
			gap: 0;
			padding: 1px 5px 4px; }
			
		.contact-console.rdv-console-active > .contact-console-top { display:none !important; }
		.contact-console-body.rdv-console-open {
			display: block;
			width: 100%;
			height: 100%;
			min-height: 0;
			overflow: auto;
			padding: 7px 10px; }
			
		.contact-console-body.rdv-console-open > .comm-keypad,
		.contact-console-body.rdv-console-open > .comm-actions,
		.contact-console-body.rdv-console-open > .comm-translator,
		.contact-console-body.rdv-console-open > .comm-live-panel { display:none !important; }

		.rdv-console-panel {
			display: none;
			width: 100%;
			height: 100%;
			min-height: 100%;
			color: var(--bleu-gris);
			font-family: Arial,Helvetica,sans-serif; }
			
				.contact-console-body.rdv-console-open .rdv-console-panel { display:block; }

				.rdv-console-head {
					display: flex;
					justify-content: space-between;
					align-items: center;
					gap: 10px;
					margin-bottom: 8px; }
					
				.rdv-console-title {
					color: var(--bleu-ciel);
					font-family: "Arial Narrow", Arial,sans-serif;
					font-size: 18px;
					font-weight: 900;
					letter-spacing:1px; }
					
				.rdv-console-close {
					border: 0;
					background: transparent;
					color: var(--orange);
					font-size: 25px;
					cursor: pointer; }
					
				.rdv-console-step { display:none; }
				.rdv-console-step.active { display:block; }

		.rdv-calendar-nav {
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin: 4px 0 8px; }
			
				.rdv-calendar-nav button,.rdv-console-btn,.rdv-hours button {
					border: 1px solid rgba(117,215,240,.7);
					border-radius: 7px;
					background: rgba(117,215,240,.06);
					color: var(--bleu-ciel);
					padding: 7px 10px;
					font-weight: 700;
					cursor:pointer; }
			
		.rdv-calendar {
			display: grid;
			grid-template-columns: repeat(7,1fr);
			gap: 3px;
			text-align: center; }

		.rdv-weekday {
			color: #999;
			font-size: 11px;
			padding: 3px 0; }
			
		.rdv-day {
			min-height: 29px;
			border: 1px solid rgba(117,215,240,.15);
			background:transparent;
			color: #555;
			border-radius: 5px; }
			
		.rdv-day.available {
			color: var(--bleu-ciel);
			border-color: rgba(117,215,240,.65);
			cursor: pointer;
			background: rgba(117,215,240,.08); }
			
				.rdv-day.available: hover, .rdv-hours button:hover, .rdv-hours button.selected {
					background: rgba(117,215,240,.22);
					box-shadow: 0 0 9px rgba(117,215,240,.45); }
			
		.rdv-hours {
			display: flex;
			flex-wrap: wrap;
			gap: 7px;
			margin: 12px 0; }
		
		.rdv-console-fields {
			display: grid;
			grid-template-columns: 1fr 1fr;
			gap: 8px; }
		
				.rdv-console-fields label {
					font-size: 11px;
					color: #999;
					text-transform: uppercase; }
		
				.rdv-console-fields input,.rdv-console-fields textarea {
					width: 100%;
					margin-top: 3px;
					padding: 7px 8px;
					border: 1px solid rgba(117,215,240,.55);
					border-radius: 6px;
					background: #000;
					color: var(--bleu-gris);
					font: 13px Arial,sans-serif;
					outline: none; }
		
				.rdv-console-fields textarea {
					min-height: 62px;
					resize: vertical; }

		.rdv-console-panel label.rdv-console-full {
			display:block;
			width:100%;
			margin-top:10px;
			color:#999;
			font-size:12px;
			text-transform:uppercase; }
			
				.rdv-console-panel label.rdv-console-full textarea {
					display:block;
					box-sizing:border-box;
					width:100%;
					min-height:120px;
					margin-top:7px;
					padding:10px 12px;
					border:1px solid rgba(117,215,240,.55);
					border-radius:6px;
					background:#000;
					color:var(--bleu-gris);
					font:14px Arial,sans-serif;
					line-height:1.4;
					outline:none;
					resize:vertical; }
			
				.rdv-console-panel label.rdv-console-full textarea:focus {
					border-color:var(--bleu-ciel);
					box-shadow:0 0 9px rgba(117,215,240,.25); }
			
		.rdv-console-full { grid-column:1/-1; }
		
		.rdv-console-actions {
			display: flex;
			justify-content: flex-end;
			gap: 8px;
			margin-top: 10px; }
			
		.rdv-console-message {
			margin:8px 0;
			color:var(--orange);
			font-size:13px; }
			
		.rdv-console-summary {
			margin: 7px 0 10px;
			color: var(--orange);
			font-size: 14px; }