/* ==========================================================================
   M-MIND : Ma Carte aux Idées (Mind Map pour l'école primaire)
   Design épuré, ludique, accessible & adapté TBI / Tablettes
   ========================================================================== */

:root {
	--mmind-primary: #d97706;        /* Ambre chaleureux */
	--mmind-primary-hover: #b45309;
	--mmind-primary-light: #fef3c7;
	--mmind-accent: #f59e0b;
	--mmind-bg: #f8fafc;
	--mmind-surface: #ffffff;
	--mmind-border: #e2e8f0;
	--mmind-text: #1e293b;
	--mmind-text-muted: #64748b;
	--mmind-radius: 14px;
	--font-main: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-title: 'Fredoka', 'Nunito', sans-serif;
	--canvas-dot-color: #cbd5e1;
}

* {
	box-sizing: border-box;
	user-select: none;
	-webkit-user-select: none;
}

body.mmind-page {
	margin: 0;
	padding: 0;
	font-family: var(--font-main);
	color: var(--mmind-text);
	background-color: var(--mmind-bg);
	overflow: hidden;
	height: 100vh;
	width: 100vw;
	display: flex;
	flex-direction: column;
}

/* ==========================================================================
   1. Wrapper principal & Bannière Supérieure
   ========================================================================== */
.mmind-wrapper {
	display: flex;
	flex-direction: column;
	height: 100vh;
	width: 100vw;
	overflow: hidden;
	position: relative;
}

.mmind-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
	color: white;
	padding: 8px 16px;
	box-shadow: 0 4px 14px rgba(180, 83, 9, 0.25);
	z-index: 100;
	flex-shrink: 0;
	gap: 12px;
	min-height: 54px;
}

.mmind-title-group {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 0;
}

.btn-back-site {
	background: rgba(255, 255, 255, 0.18);
	color: white !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 20px;
	white-space: nowrap;
	border: 1px solid rgba(255, 255, 255, 0.28);
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.btn-back-site:hover {
	background: rgba(255, 255, 255, 0.32);
	transform: translateY(-1px);
}

.mmind-logo-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-title);
	font-size: 20px;
	font-weight: 800;
	color: #fff;
	letter-spacing: 0.5px;
	text-shadow: 0 1px 3px rgba(0,0,0,0.2);
	white-space: nowrap;
}

.mmind-badge-icon {
	width: 28px;
	height: 28px;
	border-radius: 7px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.mmind-doc-name-input {
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: white;
	font-family: var(--font-title);
	font-size: 16px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 10px;
	outline: none;
	transition: all 0.2s ease;
	width: 260px;
	max-width: 100%;
	user-select: text;
	-webkit-user-select: text;
}

.mmind-doc-name-input:focus {
	background: rgba(255, 255, 255, 0.95);
	color: #92400e;
	border-color: white;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.mmind-top-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.mmind-pill-btn {
	background: rgba(255, 255, 255, 0.16);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.3);
	font-family: var(--font-main);
	font-weight: 700;
	font-size: 13px;
	padding: 6px 13px;
	border-radius: 20px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.mmind-pill-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-1px);
}

.mmind-pill-btn.btn-accent {
	background: #ffffff;
	color: #b45309;
	border-color: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.mmind-pill-btn.btn-accent:hover {
	background: #fef3c7;
	color: #92400e;
}

/* ==========================================================================
   2. Bandeau d'astuces au survol (Hint Bar)
   ========================================================================== */
.mmind-hint-bar {
	background: #fffbeb;
	border-bottom: 1px solid #fde68a;
	padding: 4px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: #92400e;
	min-height: 30px;
	flex-shrink: 0;
	z-index: 90;
}

.mmind-hint-content {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mmind-hint-badge {
	background: #f59e0b;
	color: white;
	font-weight: 800;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	flex-shrink: 0;
}

.mmind-hint-text {
	font-weight: 600;
	color: #78350f;
}

.mmind-hint-shortcut {
	background: #fef3c7;
	border: 1px solid #fcd34d;
	padding: 2px 6px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 800;
	color: #92400e;
	margin-left: 6px;
}

/* ==========================================================================
   3. Barre d'outils principale (Toolbar)
   ========================================================================== */
.mmind-toolbar {
	background: #ffffff;
	border-bottom: 2px solid #e2e8f0;
	padding: 6px 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px 8px;
	overflow-x: hidden;
	flex-shrink: 0;
	z-index: 80;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.mmind-tool-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 0 2px;
	border-right: 1px solid #e2e8f0;
	padding-right: 8px;
}

.mmind-tool-unit:last-child {
	border-right: none;
	padding-right: 0;
}

.mmind-unit-label {
	font-size: 9.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #94a3b8;
}

.mmind-tool-group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.mmind-btn {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 9px;
	color: #334155;
	font-family: var(--font-main);
	font-weight: 700;
	font-size: 12.5px;
	padding: 5px 8px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 33px;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.mmind-btn:hover:not(:disabled) {
	background: #e2e8f0;
	border-color: #94a3b8;
	color: #0f172a;
	transform: translateY(-1px);
}

.mmind-btn:active:not(:disabled) {
	transform: translateY(0);
}

.mmind-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	border-color: #e2e8f0;
	background: #f1f5f9;
}

.mmind-btn.btn-primary-action {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	border-color: #b45309;
	color: white;
	box-shadow: 0 2px 5px rgba(217, 119, 6, 0.25);
}

.mmind-btn.btn-primary-action:hover:not(:disabled) {
	background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
	color: white;
	box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35);
}

.mmind-btn.btn-danger {
	color: #dc2626;
	border-color: #fca5a5;
	background: #fef2f2;
}

.mmind-btn.btn-danger:hover:not(:disabled) {
	background: #fee2e2;
	border-color: #f87171;
	color: #b91c1c;
}

.mmind-btn-icon {
	font-size: 15px;
	line-height: 1;
}

.color-picker-btn {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	border: 2px solid white;
	box-shadow: 0 0 0 1px #cbd5e1;
	cursor: pointer;
	padding: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-picker-btn:hover {
	transform: scale(1.15);
	box-shadow: 0 0 0 2px #d97706;
}

/* ==========================================================================
   4. Espace de travail : Canevas infini avec grille à points
   ========================================================================== */
.mmind-workspace {
	flex: 1;
	position: relative;
	overflow: hidden;
	background-color: #f8fafc;
	background-image: radial-gradient(var(--canvas-dot-color) 1.2px, transparent 1.2px);
	background-size: 24px 24px;
	cursor: grab;
}

.mmind-workspace.panning {
	cursor: grabbing;
}

.mmind-canvas-stage {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform-origin: 0 0;
	will-change: transform;
}

/* Couche SVG pour les branches de liaison */
.mmind-svg-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 10000px;
	height: 10000px;
	pointer-events: none;
	overflow: visible;
	z-index: 10;
}

.branch-path {
	fill: none;
	transition: stroke 0.3s ease, stroke-width 0.2s ease;
}

/* Couche HTML pour les nœuds interactifs */
.mmind-nodes-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 10000px;
	height: 10000px;
	z-index: 20;
	pointer-events: none;
}

/* ==========================================================================
   5. Nœuds de la Carte Mentale (Idées Déplaçables & Ajustables)
   ========================================================================== */
.mmind-node {
	position: absolute;
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 20px;
	background: #ffffff;
	border: 3px solid #d97706;
	color: #1e293b;
	font-family: var(--font-title);
	font-size: 16px;
	font-weight: 700;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
	cursor: grab;
	transition: box-shadow 0.15s ease, border-color 0.2s ease;
	max-width: 450px;
	word-break: break-word;
	transform: translate(-50%, -50%);
	touch-action: none;
}

.mmind-node:hover {
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

/* Nœud en cours de déplacement (Drag & Drop libre) */
.mmind-node.is-dragging {
	cursor: grabbing !important;
	z-index: 1000 !important;
	box-shadow: 0 16px 36px rgba(217, 119, 6, 0.3) !important;
	transform: translate(-50%, -50%) scale(1.06) !important;
	transition: none !important;
	opacity: 0.95;
}

/* Nœud sélectionné */
.mmind-node.selected {
	box-shadow: 0 0 0 4px #fbbf24, 0 10px 25px rgba(217, 119, 6, 0.3) !important;
	z-index: 50;
}

/* Poignée de redimensionnement (Bottom-Right) */
.node-resize-handle {
	position: absolute;
	right: 4px;
	bottom: 3px;
	width: 16px;
	height: 16px;
	cursor: nwse-resize;
	display: none;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	font-size: 11px;
	user-select: none;
	-webkit-user-select: none;
	z-index: 70;
	transition: color 0.15s ease, transform 0.15s ease;
	line-height: 1;
	opacity: 0.7;
}

.mmind-node:hover .node-resize-handle,
.mmind-node.selected .node-resize-handle {
	display: flex;
}

.node-resize-handle:hover {
	color: #d97706;
	transform: scale(1.3);
	opacity: 1;
}

/* Nœud racine (Idée Principale au centre) */
.mmind-node.node-root {
	padding: 16px 28px;
	font-size: 22px;
	font-weight: 800;
	border-radius: 28px;
	border-width: 4px;
	background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
	border-color: #d97706;
	box-shadow: 0 10px 28px rgba(217, 119, 6, 0.25);
	z-index: 30;
}

/* Formes des bulles (ovale, rectangle, rectangle avec coins arrondis, nuage) */
.mmind-node.shape-oval,
.mmind-node.shape-pill {
	border-radius: 999px !important;
	padding: 10px 24px;
}

.mmind-node.shape-rect {
	border-radius: 0px !important;
}

.mmind-node.shape-rounded {
	border-radius: 14px !important;
}

.mmind-node.shape-cloud {
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
	padding: 14px 24px;
}

.node-cloud-bg {
	position: absolute;
	left: -12px;
	top: -10px;
	width: calc(100% + 24px);
	height: calc(100% + 20px);
	pointer-events: none;
	z-index: -1;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
	overflow: visible;
}

.mmind-node.selected .node-cloud-bg {
	filter: drop-shadow(0 0 0 3px #fbbf24) drop-shadow(0 8px 20px rgba(217, 119, 6, 0.35));
}

.node-icon {
	font-size: 22px;
	line-height: 1;
	flex-shrink: 0;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.node-text {
	line-height: 1.3;
	outline: none;
	user-select: text;
	-webkit-user-select: text;
	min-width: 20px;
}

.node-text[contenteditable="true"] {
	cursor: text;
	background: rgba(254, 243, 199, 0.7);
	padding: 2px 6px;
	border-radius: 6px;
	outline: 2px solid #f59e0b;
}

/* Badge pour replier / déplier les sous-idées (situé en haut à gauche de la bulle pour ne pas interférer avec le bouton d'ajout +) */
.node-collapse-btn {
	position: absolute;
	top: -9px;
	left: -9px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ffffff;
	border: 2px solid #d97706;
	color: #92400e;
	font-size: 13px;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: all 0.2s ease;
	z-index: 60;
}

.node-collapse-btn:hover {
	transform: scale(1.25);
	background: #fef3c7;
}

.node-collapse-btn.is-collapsed {
	background: #fef3c7;
	border-color: #f59e0b;
	color: #b45309;
}

/* Bouton rapide d'ajout au survol d'un nœud (+ enfant) */
.node-quick-add-btn {
	position: absolute;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #10b981;
	color: white;
	font-size: 16px;
	font-weight: 900;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
	transition: all 0.2s ease;
	z-index: 65;
}

.mmind-node:hover .node-quick-add-btn {
	display: flex;
}

.node-quick-add-btn.pos-right:hover,
.node-quick-add-btn.pos-left:hover {
	transform: translateY(-50%) scale(1.25);
	background: #059669;
}

.node-quick-add-btn.pos-bottom:hover,
.node-quick-add-btn.pos-top:hover {
	transform: translateX(-50%) scale(1.25);
	background: #059669;
}

.node-quick-add-btn.pos-right {
	right: -28px;
	top: 50%;
	transform: translateY(-50%);
}

.node-quick-add-btn.pos-left {
	left: -28px;
	top: 50%;
	transform: translateY(-50%);
}

.node-quick-add-btn.pos-bottom {
	bottom: -28px;
	left: 50%;
	top: auto;
	right: auto;
	transform: translateX(-50%);
}

.node-quick-add-btn.pos-top {
	top: -28px;
	left: 50%;
	bottom: auto;
	right: auto;
	transform: translateX(-50%);
}

/* Indicateur de dépôt (Drop target) */
.mmind-node.drop-target {
	box-shadow: 0 0 0 5px #10b981, 0 10px 25px rgba(16, 185, 129, 0.4) !important;
	border-color: #059669 !important;
}

/* ==========================================================================
   6. Palette flottante de zoom et recentrage
   ========================================================================== */
.mmind-zoom-controls {
	position: absolute;
	right: 20px;
	bottom: 50px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: rgba(255, 255, 255, 0.95);
	padding: 6px;
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	border: 1px solid #cbd5e1;
	backdrop-filter: blur(8px);
	z-index: 70;
}

.zoom-btn {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #334155;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
}

.zoom-btn:hover {
	background: #f1f5f9;
	color: #d97706;
	border-color: #cbd5e1;
	transform: scale(1.05);
}

.zoom-level-badge {
	font-size: 11px;
	font-weight: 800;
	color: #64748b;
	text-align: center;
	padding: 2px 0;
}

/* ==========================================================================
   7. Barre d'état inférieure (Status Bar)
   ========================================================================== */
.mmind-status-bar {
	background: #ffffff;
	border-top: 1px solid #e2e8f0;
	padding: 6px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	color: #64748b;
	flex-shrink: 0;
	z-index: 80;
	min-height: 34px;
}

.mmind-status-left,
.mmind-status-right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: #475569;
}

.status-saved-badge {
	color: #059669;
	font-weight: 800;
}

.status-school-brand {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: transparent;
	border: none;
	padding: 0;
	margin-left: 4px;
	font-size: 12.5px;
	font-weight: 700;
	color: #475569;
	user-select: none;
	text-decoration: none;
	transition: opacity 0.2s ease;
	flex-shrink: 0;
}

.status-school-brand:hover {
	opacity: 0.8;
}

.status-school-logo {
	height: 20px;
	width: auto;
	max-width: 50px;
	object-fit: contain;
	vertical-align: middle;
}

.status-school-copy {
	letter-spacing: 0.2px;
	font-weight: 700;
	color: #475569;
	white-space: nowrap;
}

/* ==========================================================================
   8. Modales (Modèles, Icônes, Astuces, Export)
   ========================================================================== */
.mmind-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(4px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	animation: modalFadeIn 0.2s ease;
}

.mmind-modal-overlay.active {
	display: flex;
}

@keyframes modalFadeIn {
	from { opacity: 0; transform: scale(0.96); }
	to { opacity: 1; transform: scale(1); }
}

.mmind-modal {
	background: #ffffff;
	border-radius: 20px;
	width: 90%;
	max-width: 640px;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
	border: 1px solid #cbd5e1;
}

.mmind-modal-header {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: white;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mmind-modal-header h3 {
	margin: 0;
	font-family: var(--font-title);
	font-size: 20px;
	font-weight: 800;
	display: flex;
	align-items: center;
	gap: 8px;
}

.mmind-modal-close {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.mmind-modal-close:hover {
	background: rgba(255, 255, 255, 0.35);
}

.mmind-modal-body {
	padding: 20px;
	overflow-y: auto;
	font-size: 14px;
	line-height: 1.6;
	color: #334155;
	user-select: text;
	-webkit-user-select: text;
}

/* Grille de modèles prédéfinis */
.templates-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}

.template-card {
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 14px;
	padding: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.template-card:hover {
	border-color: #d97706;
	background: #fffbeb;
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(217, 119, 6, 0.15);
}

.template-icon {
	font-size: 32px;
	line-height: 1;
	flex-shrink: 0;
}

.template-info h4 {
	margin: 0 0 4px 0;
	font-family: var(--font-title);
	font-size: 16px;
	color: #92400e;
}

.template-info p {
	margin: 0;
	font-size: 12px;
	color: #64748b;
	line-height: 1.4;
}

/* Grille d'emojis / pictogrammes */
.emoji-category-title {
	font-family: var(--font-title);
	font-size: 13px;
	font-weight: 800;
	color: #92400e;
	margin: 12px 0 6px 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.emojis-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
	gap: 6px;
	margin-bottom: 12px;
}

.emoji-btn {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-size: 24px;
	line-height: 1;
	padding: 8px 4px;
	cursor: pointer;
	transition: all 0.15s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.emoji-btn:hover {
	background: #fef3c7;
	border-color: #f59e0b;
	transform: scale(1.2);
}

/* Popover Exporter */
.mmind-dropdown-wrapper {
	position: relative;
}

.mmind-dropdown-popover {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 8px;
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	border: 1px solid #cbd5e1;
	padding: 8px;
	min-width: 260px;
	z-index: 200;
	flex-direction: column;
	gap: 4px;
}

.mmind-dropdown-popover.active {
	display: flex;
}

.export-option-btn {
	background: transparent;
	border: none;
	border-radius: 10px;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-main);
	transition: background 0.15s ease;
	width: 100%;
}

.export-option-btn:hover {
	background: #f8fafc;
}

.export-badge {
	font-family: var(--font-title);
	font-weight: 800;
	font-size: 11px;
	padding: 4px 8px;
	border-radius: 6px;
	color: white;
	flex-shrink: 0;
}

.badge-png { background: #059669; }
.badge-pdf { background: #dc2626; }
.badge-mmind { background: #d97706; }
.badge-txt { background: #2563eb; }

.export-text strong {
	display: block;
	font-size: 14px;
	color: #1e293b;
}

.export-text small {
	font-size: 11px;
	color: #64748b;
}

/* ==========================================================================
   9. Styles d'Impression (@media print)
   ========================================================================== */
@media print {
	.mmind-top-bar,
	.mmind-hint-bar,
	.mmind-toolbar,
	.mmind-zoom-controls,
	.mmind-status-bar,
	.node-collapse-btn,
	.node-quick-add-btn,
	.mmind-modal-overlay {
		display: none !important;
	}

	body.mmind-page,
	.mmind-wrapper,
	.mmind-workspace {
		background: #ffffff !important;
		height: auto !important;
		overflow: visible !important;
	}

	.mmind-canvas-stage {
		position: static !important;
		transform: none !important;
	}

	.mmind-node {
		box-shadow: none !important;
		border-width: 2px !important;
	}
}

/* ==========================================================================
   10. Adaptations Mobile & Tablettes
   ========================================================================== */
@media (max-width: 768px) {
	.mmind-doc-name-input {
		width: 150px;
		font-size: 14px;
	}

	.mmind-top-actions .btn-accent {
		display: none;
	}

	.mmind-btn {
		padding: 5px 8px;
		font-size: 12px;
	}

	.mmind-btn span:not(.mmind-btn-icon) {
		display: none;
	}

	.status-hint-pill {
		display: none;
	}

	.status-school-copy {
		display: none;
	}
}

