			.mcptp-edit-btn-wrap{margin-top:4px;text-align:center;width:100%}
			.mcptp-edit-btn{display:inline-block;width:100%;max-width:220px;border:none;border-radius:12px;padding:12px 16px;background:#2563eb;color:#fff!important;font-size:15px;font-weight:700;cursor:pointer;line-height:1.2;text-align:center;box-shadow:none}
			.mcptp-edit-btn:hover{background:#1d4ed8;color:#fff!important}

			/* V40: OPCIÃ“N NUCLEAR ANTI-ADS - Ocultar y anular espacios de anuncios 
			body.mcptp-editing .adsbygoogle,
			body.mcptp-editing ins.adsbygoogle,
			body.mcptp-editing [id^="aswift_"],
			body.mcptp-editing [id*="google_ads"],
			body.mcptp-editing [id^="div-gpt-ad"],
			body.mcptp-editing [class*="google_ad"],
			body.mcptp-editing iframe[src*="googleads"],
			body.mcptp-editing .google-auto-placed,
			body.mcptp-editing .aswift_0_anchor_container,
			body.mcptp-editing .aswift_1_anchor_container,
			body.mcptp-editing [data-ad-client],
			body.mcptp-editing [data-ad-slot],
			body.mcptp-editing .adsbygoogle-noaboot {
				display: none !important;
				visibility: hidden !important;
				opacity: 0 !important;
				pointer-events: none !important;
				height: 0 !important;
				width: 0 !important;
				margin: 0 !important;
				padding: 0 !important;
				overflow: hidden !important;
				position: absolute !important;
				left: -9999px !important;
			}
			*/

			.mcptp-overlay.mcptp-hide-quick-blocks .mcptp-tool-btn:not(.mcptp-tool-btn-sticker) { display: none !important; }
			.mcptp-overlay.mcptp-hide-quick-blocks #mcptp-add-sticker { margin-top: 0; }

			.gallery .gallery-item, .wp-block-image, figure.wp-block-image{display:flex;flex-direction:column;align-items:center}
			.gallery .gallery-item img, .wp-block-gallery img, figure.wp-block-image img{cursor:pointer}
			.gallery.mcptp-no-editor .gallery-item img, .mcptp-no-editor img{cursor:auto}

			/* ── Galería WordPress: 2 columnas en móvil ── */
			@media (max-width: 768px) {
				/* Galería clásica de WordPress */
				.gallery {
					display: grid !important;
					grid-template-columns: repeat(2, 1fr) !important;
					gap: 12px !important;
					width: 100% !important;
					max-width: 100% !important;
					margin: 0 auto !important;
					padding: 0 12px !important;
					box-sizing: border-box !important;
				}
				.gallery .gallery-item {
					width: 100% !important;
					margin: 0 !important;
					float: none !important;
					box-sizing: border-box !important;
				}
				/* Galería de bloques de Gutenberg */
				.wp-block-gallery,
				.blocks-gallery-grid {
					grid-template-columns: repeat(2, 1fr) !important;
					gap: 12px !important;
					margin: 0 auto !important;
					padding: 0 12px !important;
					box-sizing: border-box !important;
				}
				.wp-block-gallery .blocks-gallery-item,
				.blocks-gallery-grid .blocks-gallery-item {
					width: 100% !important;
					margin: 0 !important;
				}
				/* Asegurar que las imágenes llenen la tarjeta */
				.gallery .gallery-item img,
				.wp-block-gallery img,
				.blocks-gallery-grid img {
					width: 100% !important;
					height: auto !important;
					object-fit: cover;
				}
			}


			.mcptp-overlay{
				position:fixed; inset:0; background:#0f172a; 
				visibility: hidden; opacity: 0; pointer-events: none;
				display:flex;
				align-items:center; justify-content:center; padding:0; z-index:2147483647;
				font-family: 'Inter', system-ui, -apple-system, sans-serif;
			}
			.mcptp-overlay.active{
				visibility: visible; opacity: 1; pointer-events: auto;
				animation: mcptp-fade-in 0.3s ease;
			}

			@keyframes mcptp-fade-in { from { opacity: 0; } to { opacity: 1; } }

			.mcptp-modal{
				position:fixed !important; 
				inset: 0 !important;
				width: 100vw !important; 
				max-width: 100vw !important; 
				height: 100vh !important;
				max-height: 100vh !important;
				overflow:hidden; background:#ffffff; border-radius:0 !important; 
				padding: 0; /* Ajustado para el menu superior */
				box-sizing:border-box;
				box-shadow: none;
				display: flex; flex-direction: column;
			}

			/* Ajuste dinÃ¡mico para la barra de administraciÃ³n de WordPress */
			.admin-bar .mcptp-modal { 
				top: 32px !important; 
				height: calc(100vh - 32px) !important; 
			}
			@media screen and (max-width: 782px) {
				.admin-bar .mcptp-modal { 
					top: 46px !important; 
					height: calc(100vh - 46px) !important; 
				}
			}


			.mcptp-close{
				position:absolute; top:12px; right:12px; width:40px; height:40px; border:none;
				border-radius:12px; background:#ef4444; color:#ffffff; font-size:24px; cursor:pointer; line-height:1; z-index:9000 !important;
				display:flex; align-items:center; justify-content:center; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
				box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
			}
#mcptp-top-stroke-btn-sticker,
#mcptp-top-corner-btn-sticker {
    display: none !important;
}
			.mcptp-close:hover{background:#dc2626; color:#ffffff; transform:scale(1.05); box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);}

			.mcptp-grid{
				display:grid; 
				grid-template-columns: minmax(0, 1fr) 330px 350px; 
				gap:16px;
				align-items:start; height:100%; min-height:0; overflow: hidden;
			}
			.mcptp-grid.mcptp-grid-no-ads {
				grid-template-columns: minmax(0, 1fr) 350px !important;
			}
			
			.mcptp-ads-sidebar {
				height: 100%;
				overflow-y: auto;
				padding: 0 16px 40px 0;
				display: flex;
				flex-direction: column;
				gap: 20px;
			}

			.mcptp-ads-sidebar::-webkit-scrollbar { width: 6px; }
			.mcptp-ads-sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
			
			.mcptp-right {
				height: 100%;
				overflow-y: auto;
				padding-right: 12px;
				padding-bottom: 40px;
				display: flex;
				flex-direction: column;
			}
			.mcptp-right::-webkit-scrollbar { width: 6px; }
			.mcptp-right::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

			.mcptp-tools-left{
				min-width:0; height:100%; min-height:0; overflow-y: auto;
			}
			.mcptp-tools-left::-webkit-scrollbar { width: 6px; }
			.mcptp-tools-left::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

			.mcptp-tools-card{
				border:1px solid #e2e8f0; border-radius:24px; background:linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
				padding:18px; display:flex; flex-direction:column; gap:14px;
				box-sizing:border-box; box-shadow: 0 4px 12px rgba(0,0,0,.02);
			}

			/* === V72: Refined Canva Sidebar (Light) === */
			.mcptp-main-layout {
				display: flex; flex: 1; min-height: 0; overflow: hidden; position: relative;
			}
			.mcptp-sidebar {
				width: 72px; background: #ffffff; display: flex; flex-direction: column; align-items: center;
				padding: 12px 0; gap: 8px; z-index: 100; flex-shrink: 0; border-right: 1px solid #e2e8f0;
			}
			.mcptp-sidebar-item {
				width: 60px; height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center;
				user-select: none; border-radius: 12px; margin: 0 6px; gap: 4px;
				position: relative;
			}
			.mcptp-sidebar-item svg { width: 24px; height: 24px; transition: transform 0.2s; }
			.mcptp-sidebar-item span { font-size: 10px; font-weight: 700; letter-spacing: 0.3px; }
			.mcptp-sidebar-item:hover { color: #8b5cf6; background: #f5f3ff; }
			.mcptp-sidebar-item.active { color: #8b5cf6; background: #f5f3ff; box-shadow: inset 0 0 0 1px rgba(139,92,246,0.1); }
			.mcptp-sidebar-spacer { flex: 1; }

			/* V72: Drawer Styles */
			.mcptp-drawer {
				width: 320px; background: #ffffff; border-right: 1px solid #e2e8f0; display: flex; flex-direction: column;
				z-index: 90; box-shadow: 10px 0 30px rgba(0,0,0,0.03); transform: translateX(-100%);
				position: absolute; left: 72px; top: 0; bottom: 0; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
				height: 100%;
			}
			.mcptp-drawer.active { transform: translateX(0); position: relative; left: 0; height: 100%; }
			.mcptp-drawer-header { padding: 24px 20px 12px; font-size: 16px; font-weight: 800; color: #0f172a; border-bottom: 1px solid #f1f5f9; margin-bottom: 16px; flex-shrink: 0; }
			.mcptp-drawer-content { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; overflow-y: auto; height: 0; }
			.mcptp-drawer-content::-webkit-scrollbar { width: 6px; }
			.mcptp-drawer-content::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

			.mcptp-editor-body {
				flex: 1; min-width: 0; display: flex; flex-direction: column; background: #f8fafc; padding: 0;
				overflow: hidden; height: 100%;
			}

			/* V57: Modern Top Slider Styles */
			.mcptp-top-range-wrap {
				display: flex;
				align-items: center;
				background: #f1f5f9;
				padding: 0 10px;
				border-radius: 20px;
				height: 28px;
				transition: all 0.2s ease;
				border: 1px solid transparent;
				margin-right: 4px;
			}
			.mcptp-top-range-wrap:hover {
				background: #e2e8f0;
				border-color: #cbd5e1;
			}
			.mcptp-top-range {
				-webkit-appearance: none;
				width: 100%;
				height: 4px;
				background: #cbd5e1;
				border-radius: 2px;
				outline: none;
				cursor: pointer;
				margin: 0;
			}
			.mcptp-top-range::-webkit-slider-thumb {
				-webkit-appearance: none;
				appearance: none;
				width: 14px;
				height: 14px;
				background: #3b82f6;
				border-radius: 50%;
				cursor: pointer;
				border: 2px solid #ffffff;
				box-shadow: 0 2px 4px rgba(0,0,0,0.2);
				transition: transform 0.1s ease;
			}
			.mcptp-top-range::-webkit-slider-thumb:hover {
				transform: scale(1.2);
			}
			.mcptp-top-range::-moz-range-thumb {
				width: 14px;
				height: 14px;
				background: #3b82f6;
				border-radius: 50%;
				cursor: pointer;
				border: 2px solid #ffffff;
				box-shadow: 0 2px 4px rgba(0,0,0,0.2);
			}

			/* V58: Modern Font Select with Arrow */
			.mcptp-top-font-select {
				appearance: none;
				-webkit-appearance: none;
				padding: 6px 32px 6px 12px !important;
				border-radius: 10px;
				border: 1.5px solid #e2e8f0;
				font-family: 'Inter', sans-serif;
				font-weight: 600;
				color: #0f172a;
				cursor: pointer;
				background-color: #ffffff;
				background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
				background-repeat: no-repeat;
				background-position: right 10px center;
				background-size: 14px;
				transition: all 0.2s ease;
			}

			/* V60: Capas y PosiciÃ³n Modal */
			.mcptp-position-sidebar {
				position: absolute; top: 52px; right: -400px; bottom: 0; width: 360px;
				background: #ffffff; z-index: 1000; box-shadow: -10px 0 30px rgba(0,0,0,0.1);
				transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
				display: flex; flex-direction: column; overflow: hidden;
				border-top-left-radius: 32px; border-bottom-left-radius: 32px;
			}
			.mcptp-position-sidebar.active { right: 0; }
			
			.mcptp-pos-header {
				padding: 24px 20px 10px; display: flex; align-items: center; justify-content: space-between;
			}
			.mcptp-pos-title { font-size: 18px; font-weight: 800; color: #0f172a; }
			.mcptp-pos-close {
				background: none; border: none; font-size: 24px; color: #64748b; cursor: pointer;
				width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
				border-radius: 50%;
			}
			.mcptp-pos-close:hover { background: #f1f5f9; color: #0f172a; }

			.mcptp-pos-tabs {
				display: flex; border-bottom: 1px solid #e2e8f0; padding: 0 20px; gap: 20px;
			}
			.mcptp-pos-tab {
				padding: 12px 4px; font-size: 14px; font-weight: 700; color: #64748b; cursor: pointer;
				border-bottom: 3px solid transparent; transition: all 0.2s;
			}
			.mcptp-pos-tab.active { color: #8b5cf6; border-bottom-color: #8b5cf6; }

			.mcptp-pos-content { flex: 1; overflow-y: auto; padding: 20px; }

			/* V145: Botones de AcciÃ³n Estilo Pills (CÃ¡psulas Premium) */
			.mcptp-btn-pill {
				height: 36px; border-radius: 999px; border: none; padding: 0 16px; 
				font-size: 13px; font-weight: 800; color: #fff; cursor: pointer;
				display: flex; align-items: center; justify-content: center; gap: 8px;
				box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: all 0.2s;
				position: relative; white-space: nowrap;
			}
			.mcptp-btn-pill:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.15); filter: brightness(1.1); }
			.mcptp-btn-pill:active { transform: translateY(0); }
			.mcptp-btn-success { background: #22c55e; }
			.mcptp-btn-purple { background: #8b5cf6; }

			/* Organize Panel */
			.mcptp-pos-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
			.mcptp-pos-btn {
				display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f1f5f9;
				border: 1px solid #e2e8f0; border-radius: 12px; font-size: 13px; font-weight: 600;
				color: #334155; cursor: pointer; transition: all 0.2s;
				position: relative;
			}
			.mcptp-pos-btn:hover { background: #e2e8f0; color: #0f172a; border-color: #cbd5e1; }
			.mcptp-pos-btn svg { color: #64748b; }

			/* Layers Panel */
			.mcptp-layer-list { display: flex; flex-direction: column; gap: 8px; }
			.mcptp-layer-item {
				display: flex; align-items: center; gap: 12px; padding: 12px; background: #ffffff;
				border: 1.5px solid #e2e8f0; border-radius: 14px; cursor: pointer;
				transition: all 0.15s ease; user-select: none;
				position: relative;
			}
			.mcptp-layer-item:hover { 
				border-color: #a78bfa; 
				background: #f5f3ff;
				box-shadow: 0 2px 8px rgba(139, 92, 246, 0.12);
				transform: translateX(2px);
			}
			.mcptp-layer-item.selected { 
				border-color: #8b5cf6 !important; 
				background: #ede9fe !important; 
				box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.25) !important; 
			}
			/* Línea lateral eliminada — queda más limpio y profesional */
			
			.mcptp-layer-handle { color: #94a3b8; cursor: grab; padding: 4px; display: flex; align-items: center; }
			.mcptp-layer-thumb {
				width: 54px; height: 54px; background: #f8fafc; border-radius: 10px;
				display: flex; align-items: center; justify-content: center; overflow: hidden;
				border: 1px solid #f1f5f9; flex-shrink: 0;
			}
			.mcptp-layer-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
			
			.mcptp-layer-info { flex: 1; min-width: 0; line-height: 1.2; }
			.mcptp-layer-name { font-size: 14px; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
			.mcptp-layer-type { font-size: 10px; color: #64748b; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; margin-top: 2px; }

			/* Canva Drag Style */
			.mcptp-layer-item.dragging { 
				opacity: 0.35;
				border: 2px dashed #8b5cf6;
				background: #f5f3ff;
				cursor: grabbing;
			}
			.mcptp-layer-drop-placeholder { 
				height: 78px; 
				background: #fdfbff; 
				border: 2px solid #8b5cf6; 
				border-radius: 14px; 
				margin: 4px 0; 
				position: relative;
				box-shadow: inset 0 4px 12px rgba(139, 92, 246, 0.05);
			}
			.mcptp-layer-drop-placeholder::after {
				content: ''; position: absolute; left: -20px; top: 50%; width: 15px; height: 2px; background: #8b5cf6;
			}
			.mcptp-top-font-select:hover {
				border-color: #3b82f6;
				background-color: #f8fafc;
			}
			.mcptp-top-font-select:focus {
				outline: none;
				box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
			}

			.mcptp-top-bar .mcptp-color-picker { margin: 0; }
			.mcptp-top-bar .mcptp-color-display { width: 44px; height: 36px; padding: 0; border-radius: 10px; background:#f8fafc; border: 1.5px solid #e2e8f0; justify-content: center; position: relative; }
			.mcptp-top-bar .mcptp-color-preview { width: 22px; height: 22px; border-radius: 6px; border:1px solid rgba(0,0,0,0.1); }
			.mcptp-top-bar .mcptp-color-caret { position: absolute; bottom: 2px; right: 2px; font-size: 8px; color: #94a3b8; }
			.mcptp-top-bar .mcptp-color-hex { display: none; } /* Ocultar en el botÃ³n si existiera */
			/* V59: Floating Toolbar Premium Styles */
			.mcptp-floating-toolbar {
				position: absolute;
				display: flex;
				align-items: center;
				background: #ffffff;
				padding: 5px;
				border-radius: 12px;
				box-shadow: 0 10px 30px -5px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.05);
				z-index: 1000;
				gap: 4px;
				pointer-events: auto;
				transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
				transform-origin: bottom center;
				will-change: transform, opacity;
			}
			.mcptp-floating-toolbar button {
				width: 34px;
				height: 34px;
				border: none;
				background: transparent;
				color: #475569;
				border-radius: 8px;
				cursor: pointer;
				display: flex;
				align-items: center;
				justify-content: center;
				transition: all 0.2s;
				padding: 0;
			}
			.mcptp-floating-toolbar button:hover {
				background: #f1f5f9;
				color: #0f172a;
				transform: scale(1.05);
			}
			#mcptp-float-delete:hover {
				color: #ef4444;
				background: #fef2f2;
			}
			.mcptp-float-sep {
				width: 1px;
				height: 18px;
				background: #e2e8f0;
				margin: 0 2px;
			}

			.mcptp-tool-btn{
				border:none; border-radius:18px; padding:14px 10px;
				color:#ffffff; font-size:15px; font-weight:700; cursor:pointer;
				display:flex; align-items:center; justify-content:center; gap:8px;
				min-height:56px; transition:all .25s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 12px rgba(0,0,0,.1);
				position: relative;
				white-space: nowrap;
			}
			.mcptp-tool-btn span { white-space: nowrap; }
			.mcptp-tool-btn:hover{transform:translateY(-3px); filter:brightness(1.06); box-shadow: 0 8px 20px rgba(0,0,0,.15);}
			.mcptp-tool-btn .mcptp-btn-plus{background:rgba(255,255,255,.2); border-radius: 50%; display:flex; align-items:center; justify-content:center; width:24px; height:24px;}

			.mcptp-tool-btn-nombre{background:linear-gradient(135deg, #3b82f6, #2563eb)}
			.mcptp-tool-btn-profesor{background:linear-gradient(135deg, #0d9488, #0f766e)}
			.mcptp-tool-btn-grado{background:linear-gradient(135deg, #8b5cf6, #7c3aed)}
			.mcptp-tool-btn-curso{background:linear-gradient(135deg, #f97316, #ea580c)}
			.mcptp-tool-btn-sticker{background:linear-gradient(135deg, #ec4899, #be185d); margin-top:12px; position:relative;}
			.mcptp-tool-btn-sticker::before { content:''; position:absolute; top:-12px; left:20%; right:20%; height:1px; background:rgba(0,0,0,.08); }
			.mcptp-tool-btn-upload{background:linear-gradient(135deg, #6366f1, #4f46e5); color:#fff;}
			.mcptp-tool-btn-background{background:linear-gradient(135deg, #0ea5e9, #0284c7);}

			.mcptp-back-cat-tab { white-space:nowrap; padding:6px 14px; background:#f8fafc; border:1px solid #cbd5e1; border-radius:20px; font-size:13px; font-weight:600; color:#475569; cursor:pointer; transition:all .2s; }
			.mcptp-back-cat-tab:hover { background:#e2e8f0; color:#0f172a; }
			.mcptp-back-cat-tab.active { background:#0ea5e9; border-color:#0ea5e9; color:white; }

			/* === Canva Style Top Bar (V49 Base) === */
			.mcptp-top-bar {
				height: 60px;
				background: #ffffff;
				border-bottom: 1px solid #e2e8f0;
				margin: 0;
				padding: 0 24px;
				display: grid;
				grid-template-columns: 1fr auto 1fr;
				align-items: center;
				overflow: visible;
				position: relative;
				z-index: 5000;
			}
			.mcptp-top-bar-left { display: flex; align-items: center; gap: 12px; justify-content: flex-start; min-width: 0; }
			.mcptp-top-bar-center { display: flex; align-items: center; gap: 12px; justify-content: center; }
			.mcptp-top-bar-right { display: flex; align-items: center; gap: 8px; justify-content: flex-end; padding-right: 60px; }
			.mcptp-top-bar::-webkit-scrollbar { display: none; }

			.mcptp-top-bar-label { font-size: 11px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.8px; margin-right: 4px; }
			.mcptp-top-divider { height:24px; width:1px; background:#e2e8f0; margin:0 12px; }

			/* Estilos Contextuales Barra Superior */
			.mcptp-top-select {
				border: 1.5px solid #e2e8f0; border-radius: 8px; padding: 0 28px 0 10px;
				font-size: 13px; font-weight: 700; color: #0f172a; background: #ffffff;
				cursor: pointer; appearance: none;
				background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
				background-repeat: no-repeat; background-position: right 8px center; background-size: 12px;
				min-width: 100px; max-width: 160px; height: 32px; transition: all 0.2s;
				text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
			}
			.mcptp-top-select:hover { border-color: #3b82f6; background: #f8fafc; }

			.mcptp-top-size-control {
				display: flex; align-items: center; background: #ffffff; border: 1.5px solid #e2e8f0;
				border-radius: 8px; overflow: hidden; height: 32px; width: 100px;
			}
			.mcptp-size-btn {
				width: 28px; height: 32px; border: none; background: transparent;
				color: #64748b; font-size: 16px; font-weight: 700; cursor: pointer;
				transition: all 0.2s; display: flex; align-items: center; justify-content: center;
			}
			.mcptp-size-btn:hover { background: #f1f5f9; color: #3b82f6; }
			
			.mcptp-size-input {
				width: 44px; height: 32px; border: none; 
				border-left: 1.5px solid #f1f5f9; border-right: 1.5px solid #f1f5f9; 
				background: #fff; text-align: center; padding: 0;
				font-size: 14px; font-weight: 800; color: #0f172a; -moz-appearance: textfield;
				outline: none;
			}
			.mcptp-size-input::-webkit-outer-spin-button,
			.mcptp-size-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

			.mcptp-top-style-group { display: flex; gap: 4px; position: relative; }
			.mcptp-top-btn-style {
				width: 36px; height: 36px; border: 1.5px solid #e2e8f0; border-radius: 8px;
				background: #ffffff; color: #475569; font-size: 15px; font-weight: 800;
				cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center;
			}
			.mcptp-top-btn-style:hover { background: #f1f5f9; color: #0f172a; border-color: #cbd5e1; }
			.mcptp-top-btn-style.active {
				background: #eff6ff; color: #2563eb; border-color: #3b82f6;
			}

			/* V104: Line Style Popover PRO CSS (CANVA CLONE V2) */
			.mcptp-line-dash-btn {
				flex: 1; height: 48px; border: 1.5px solid #e2e8f0; border-radius: 10px;
				background: #fff; color: #0f172a; cursor: pointer; 
				display: flex; align-items: center; justify-content: center; padding: 4px;
				transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
			}
			.mcptp-line-dash-btn:hover { background: #f8fafc; border-color: #cbd5e1; }
			.mcptp-line-dash-btn.active { 
				border: 2.5px solid #8b3dff; 
				background: #fdfaff;
				box-shadow: 0 0 0 1px rgba(139, 61, 255, 0.1);
			}
			.mcptp-line-dash-btn svg { width: 100%; height: 12px; }
			
			.mcptp-line-weight-box {
				width: 44px; height: 40px; border: 1.5px solid #e2e8f0; border-radius: 8px;
				display: flex; align-items: center; justify-content: center;
				font-size: 14px; font-weight: 700; color: #0f172a; background: #fff;
			}
			
			.mcptp-popover-title-pro { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 20px; }
			.mcptp-popover-label-pro { font-size: 14px; font-weight: 600; color: #475569; }

			/* V113: Brand Palette Section Styles */
			.mcptp-brand-palette-section {
				background: #f8fafc; border-radius: 12px; padding: 12px; margin-bottom: 16px; border: 1px solid #e2e8f0;
			}
			.mcptp-color-brand-row {
				display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; padding: 4px;
			}
			.mcptp-color-swatch-brand {
				width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff;
				box-shadow: 0 4px 10px rgba(0,0,0,0.08); cursor: pointer; transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
				position: relative; padding: 0; outline: none;
			}
			.mcptp-color-swatch-brand:hover {
				transform: scale(1.15) translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.15); z-index: 2;
			}
			.mcptp-color-swatch-brand.mcptp-selected-swatch {
				border-color: #3b82f6; transform: scale(1.1); box-shadow: 0 0 0 2px #3b82f644;
			}

			.mcptp-switch { position: relative; display: inline-block; width: 44px; height: 22px; }
			.mcptp-switch input { opacity: 0; width: 0; height: 0; }
			.mcptp-slider.round { position: absolute; cursor: pointer; inset: 0; background-color: #cbd5e1; transition: .4s; border-radius: 34px; }
			.mcptp-slider.round:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
			input:checked + .mcptp-slider.round { background-color: #3b82f6; }
			input:checked + .mcptp-slider.round:before { transform: translateX(22px); }
			.mcptp-top-btn-style:hover { background: #f1f5f9; color: #0f172a; border-color: #cbd5e1; }
			.mcptp-top-btn-style.active {
				background: #eff6ff; color: #2563eb; border-color: #3b82f6;
				box-shadow: inset 0 2px 4px rgba(59,130,246,0.06);
			}
			
			/* V61: Colores personalizados para Sticker Glow (CANVA PRO STYLE) */
			#mcptp-top-glow-off {
				background: #f8fafc;
				color: #64748b;
				border-color: #e2e8f0;
			}
			#mcptp-top-glow-off.active {
				background: #fee2e2 !important; /* Soft Red */
				color: #dc2626 !important;
				border-color: #fca5a5 !important;
				box-shadow: inset 0 2px 4px rgba(220, 38, 38, 0.05);
			}
			
			#mcptp-top-glow-on {
				background: #f0f9ff; /* Very Light Blue */
				color: #0369a1;
				border-color: #bae6fd;
			}
			#mcptp-top-glow-on:hover {
				background: #e0f2fe;
				border-color: #7dd3fc;
			}
			#mcptp-top-glow-on.active {
				background: #3b82f6 !important; /* Solid Primary Blue */
				color: #ffffff !important;
				border-color: #2563eb !important;
				box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
			}
			
			#mcptp-top-toggle-bold { font-family: sans-serif; }

			.mcptp-top-btn-action {
				width: 36px; height: 36px; border: 1.5px solid #e2e8f0; border-radius: 8px;
				background: #ffffff; color: #475569; cursor: pointer;
				display: flex; align-items: center; justify-content: center; transition: all 0.2s;
				padding: 0;
				position: relative;
			}
			.mcptp-top-btn-action:hover { background: #f8fafc; color: #0f172a; border-color: #64748b; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
			.mcptp-top-btn-action svg { transition: transform 0.2s; }
			.mcptp-top-btn-action:active { transform: translateY(0); }
			
			.mcptp-btn-delete:hover { background: #fff1f2; color: #e11d48; border-color: #fda4af; }
			.mcptp-btn-delete:hover svg { transform: scale(1.1); }

			/* V61: Opacity Popover (Canva Style) */
			.mcptp-opacity-popover {
				position: absolute; width: 220px; background: #ffffff; border-radius: 12px;
				box-shadow: 0 10px 35px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.05);
				padding: 16px; z-index: 3000; display: none;
				transition: opacity 0.2s, transform 0.2s;
				color: #0f172a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
			}
			.mcptp-opacity-popover.active { display: block !important; animation: mcptp-popover-in 0.2s ease-out; }
			@keyframes mcptp-popover-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
			
			.mcptp-opacity-popover-header { display: flex !important; align-items: center; justify-content: space-between; margin-bottom: 12px; }
			.mcptp-opacity-popover-header span { font-size: 14px; font-weight: 700; color: #0f172a !important; }
			
			#mcptp-opacity-number {
				width: 50px; height: 32px; border: 1.5px solid #e2e8f0; border-radius: 8px;
				text-align: center; font-size: 13px; font-weight: 700; color: #1e293b !important;
				outline: none; transition: all 0.2s; background: #f8fafc;
			}
			#mcptp-opacity-number:focus { border-color: #3b82f6; background: #fff; }
			
			.mcptp-opacity-popover-body { width: 100%; padding: 4px 0; display: block !important; }
			#mcptp-opacity-slider {
				-webkit-appearance: none; width: 100%; height: 5px; background: #e2e8f0;
				border-radius: 3px; outline: none; cursor: pointer; display: block !important;
			}
			#mcptp-opacity-slider::-webkit-slider-thumb {
				-webkit-appearance: none; width: 16px; height: 16px; background: #3b82f6;
				border-radius: 50%; border: 2px solid white; box-shadow: 0 2px 4px rgba(0,0,0,0.1);
			}

			/* V66: Precision Design (Canva Pro Clone) */
			/* V114: Styles for Drawer Templates Grid (Independent from Public Gallery) */
			.mcptp-templates-grid-v114 {
				display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
			}
			.mcptp-drawer-card-v114 {
				background: #fff; border-radius: 12px; border: 1.5px solid #f1f5f9;
				overflow: hidden; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
				aspect-ratio: 1 / 1.41; /* V117: Mantener proporciÃ³n A4 */
				box-shadow: 0 2px 5px rgba(0,0,0,0.05);
				position: relative;
			}
			.mcptp-drawer-card-v114:hover {
				transform: translateY(-4px);
				box-shadow: 0 10px 20px rgba(0,0,0,0.1);
				border-color: #3b82f6;
			}
			.mcptp-drawer-card-v114-thumb {
				width: 100%; height: 100%;
				background-size: contain !important;
				background-repeat: no-repeat !important;
				background-position: center !important;
				background-color: #f8fafc;
				padding: 6px;
				box-sizing: border-box;
			}
			.mcptp-drawer-card-v114-info { display: none; } /* V117: Ocultar texto para diseÃ±o serio */
			
			.mcptp-drawer-card-v114:hover .mcptp-drawer-card-v114-overlay { opacity: 1; }
			
			/* V116: Dual Action Controls for Master Templates */
			.mcptp-drawer-card-controls {
				position: absolute; inset: 0; background: rgba(255, 255, 255, 0.85);
				display: flex; flex-direction: column; align-items: center; justify-content: center;
				opacity: 0; transition: opacity 0.2s; gap: 8px; padding: 12px; z-index: 15;
				backdrop-filter: blur(2px);
			}
			.mcptp-drawer-card-v114:hover .mcptp-drawer-card-controls { opacity: 1; }
			
			.mcptp-btn-insert {
				background: #ffffff; color: #2563eb; border: none; padding: 10px 0; width: 100%;
				border-radius: 8px; font-weight: 800; font-size: 13px; cursor: pointer;
				transition: all 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
			}
			.mcptp-btn-insert:hover { background: #f8fafc; transform: translateY(-2px); }
			
			.mcptp-btn-edit-master {
				background: transparent; color: #ffffff; border: 1.5px solid rgba(255,255,255,0.5);
				padding: 6px 0; width: 100%; border-radius: 8px; font-weight: 700; font-size: 11px;
				cursor: pointer; transition: all 0.2s;
			}
			.mcptp-btn-edit-master:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

			/* V116: Bloqueo de InserciÃ³n en modo EdiciÃ³n Maestra */
			.mcptp-mode-master-edit .mcptp-btn-insert { display: none !important; }
			.mcptp-mode-master-edit .mcptp-btn-edit-master { height: 100%; font-size: 14px; }

			.mcptp-canva-popover {
				background: #ffffff !important;
				border-radius: 12px !important;
				box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
				padding: 14px !important;
				border: 1.5px solid #ebebeb !important;
				min-width: 240px !important;
				font-family: 'Inter', sans-serif;
			}
			/* V66: Transparent Swatch Style (Checkerboard + Red Line) */
			.mcptp-color-swatch-none {
				background-image: linear-gradient(45deg, #e2e8f0 25%, transparent 25%), 
								  linear-gradient(-45deg, #e2e8f0 25%, transparent 25%), 
								  linear-gradient(45deg, transparent 75%, #e2e8f0 75%), 
								  linear-gradient(-45deg, transparent 75%, #e2e8f0 75%) !important;
				background-size: 8px 8px !important;
				background-position: 0 0, 0 4px, 4px 4px, 4px 0 !important;
				background-color: #fff !important;
				position: relative;
				overflow: hidden;
				border: 1px solid #dcdfe4 !important;
			}
			.mcptp-color-swatch-none::after {
				content: "";
				position: absolute;
				top: 50%; left: -10%;
				width: 120%; height: 2px;
				background: #ef4444;
				transform: rotate(45deg);
				box-shadow: 0 0 2px rgba(255,255,255,0.8);
			}
			/* Preview Version */
			.mcptp-color-preview-none {
				background-image: linear-gradient(45deg, #e2e8f0 25%, transparent 25%), 
								  linear-gradient(-45deg, #e2e8f0 25%, transparent 25%), 
								  linear-gradient(45deg, transparent 75%, #e2e8f0 75%), 
								  linear-gradient(-45deg, transparent 75%, #e2e8f0 75%) !important;
				background-size: 6px 6px !important;
				background-position: 0 0, 0 3px, 3px 3px, 3px 0 !important;
				background-color: #fff !important;
				position: relative;
				overflow: hidden;
			}
			.mcptp-color-preview-none::after {
				content: "";
				position: absolute;
				top: 50%; left: -10%;
				width: 120%; height: 2.5px;
				background: #ef4444;
				transform: rotate(45deg);
			}
			.mcptp-canva-section {
				display: flex;
				flex-direction: column;
				gap: 10px;
			}
			.mcptp-canva-slider-row {
				display: flex !important;
				align-items: center !important;
				gap: 12px !important;
				width: 100% !important;
			}
			.mcptp-canva-label {
				font-size: 13px;
				font-weight: 600;
				color: #0d1216;
			}
			.mcptp-canva-line-styles {
				display: flex;
				gap: 8px;
			}
			.mcptp-canva-style-btn {
				width: 44px;
				height: 40px;
				background: #fff;
				border: 1px solid #dcdfe4;
				border-radius: 8px;
				cursor: pointer;
				display: flex;
				align-items: center;
				justify-content: center;
				color: #475569;
				transition: all 0.15s ease;
				padding: 0;
			}
			.mcptp-canva-style-btn:hover {
				background: #f1f3f5;
			}
			.mcptp-canva-style-btn.active {
				background: #f3f0ff !important;
				border: 2px solid #7c3aed !important;
				color: #7c3aed !important;
			}
			.mcptp-canva-val-input {
				width: 44px !important;
				height: 32px !important;
				flex-shrink: 0 !important;
				border: 1.5px solid #cbd5e1 !important;
				border-radius: 8px !important;
				text-align: center !important;
				font-size: 15px !important;
				font-weight: 800 !important;
				color: #000000 !important;
				background: #fff !important;
				outline: none !important;
				-moz-appearance: textfield !important;
			}
			.mcptp-canva-val-input::-webkit-outer-spin-button,
			.mcptp-canva-val-input::-webkit-inner-spin-button {
				-webkit-appearance: none !important;
				margin: 0 !important;
			}
			.mcptp-canva-range {
				-webkit-appearance: none !important;
				flex: 1 !important;
				height: 2px !important;
				background: #7c3aed !important; /* Pista pÃºrpura por defecto */
				border-radius: 1px !important;
				outline: none !important;
				cursor: pointer !important;
				padding: 0 !important;
				margin: 0 !important;
			}
			.mcptp-canva-range::-webkit-slider-thumb {
				-webkit-appearance: none !important;
				width: 14px !important;
				height: 14px !important;
				background: #ffffff !important;
				border: 2px solid #7c3aed !important;
				border-radius: 50% !important;
				box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
				cursor: pointer !important;
				margin-top: 0 !important; /* Ajuste para centrar en track de 2px */
				position: relative;
				top: 0;
			}
			.mcptp-canva-range::-moz-range-thumb {
				width: 14px !important;
				height: 14px !important;
				background: #ffffff !important;
				border: 2px solid #7c3aed !important;
				border-radius: 50% !important;
				box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
				cursor: pointer !important;
			}
			.mcptp-canva-range:active::-webkit-slider-thumb {
				transform: scale(1.15);
			}

			/* V63: Angle Badge Style (Canva Style) */
			.mcptp-angle-badge {
				position: absolute;
				display: none;
				background: rgba(30, 41, 59, 0.9); /* Slate 900 with slight transparency */
				color: #fff;
				padding: 4px 10px;
				border-radius: 6px;
				font-size: 13px;
				font-weight: 700;
				z-index: 10000;
				pointer-events: none;
				box-shadow: 0 4px 12px rgba(0,0,0,0.2);
				transition: opacity 0.1s ease;
				backdrop-filter: blur(4px); /* Modern touch */
			}

			/* V75: Canvas Actions Bar Styles */
			.mcptp-canvas-actions-bar {
				display: flex;
				gap: 16px;
				margin-top: 20px;
				justify-content: center;
				padding: 15px 40px 35px 40px;
			}
			.mcptp-canvas-actions-bar .mcptp-download-btn {
				flex: 1;
				max-width: 300px;
				height: 48px;
				min-height: 48px;
				font-size: 14px;
				border-radius: 12px;
				background: #2563eb;
				box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
			}
			.mcptp-canvas-actions-bar .mcptp-download-btn:hover {
				background: #1d4ed8;
				transform: translateY(-2px);
				box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
			}
			#mcptp-download-pdf {
				background: #3b82f6;
			}



			.mcptp-background-modal {
				position:absolute; top:20px; left:90px; bottom:20px; width:400px; background:#fff; border-radius:16px;
				box-shadow:0 10px 40px rgba(0,0,0,.3); padding:24px; z-index:10000000; transform:translateX(-500px); opacity:0; pointer-events:none;
				transition:all .4s cubic-bezier(0.4, 0, 0.2, 1); display:flex; flex-direction:column;
			}
			.mcptp-background-modal.active { transform:translateX(0); opacity:1; pointer-events:auto; }

			.mcptp-sticker-modal {
				position:absolute; top:20px; left:90px; bottom:20px; width:400px; background:#fff; border-radius:16px;
				box-shadow:0 10px 40px rgba(0,0,0,.3); padding:24px; z-index:10000001; transform:translateX(-500px); opacity:0; pointer-events:none;
				transition:all .4s cubic-bezier(0.4, 0, 0.2, 1); display:flex; flex-direction:column;
			}
			.mcptp-sticker-modal.active { transform:translateX(0); opacity:1; pointer-events:auto; }
			.mcptp-sticker-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
			.mcptp-sticker-title { font-size:18px; font-weight:800; color:#0f172a; }
			.mcptp-sticker-close { background:#f1f5f9; border:none; width:32px; height:32px; border-radius:50%; font-size:20px; font-weight:bold; color:#475569; cursor:pointer; display:flex; align-items:center; justify-content:center;}
			.mcptp-sticker-close:hover { background:#e2e8f0; color:#0f172a; }
			
			/* Buscador estilo Canva Premium V120 */
			.mcptp-search-box-v2 {
				display: flex;
				align-items: center;
				background: #f1f5f9;
				border-radius: 100px; /* Estilo PÃ­ldora */
				padding: 0 16px;
				border: 2px solid transparent;
				transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
				margin-bottom: 20px;
				height: 44px;
				width: 100%;
				box-sizing: border-box;
				position: relative;
			}
			.mcptp-search-box-v2:focus-within {
				background: #ffffff;
				border-color: #8b5cf6;
				box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
			}
			.mcptp-search-box-v2 svg {
				color: #64748b;
				width: 18px;
				height: 18px;
				flex-shrink: 0;
				margin-right: 4px;
			}
			.mcptp-search-box-v2 input {
				flex: 1;
				border: none !important;
				background: transparent !important;
				padding: 8px 12px !important;
				font-size: 14px !important;
				color: #0f172a !important;
				outline: none !important;
				box-shadow: none !important;
				height: 100%;
			}
			.mcptp-search-box-v2 button {
				background: none;
				border: none;
				padding: 0;
				cursor: pointer;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			.mcptp-search-clear {
				width: 24px;
				height: 24px;
				background: #e2e8f0;
				color: #64748b;
				border-radius: 50%;
				display: none;
				align-items: center;
				justify-content: center;
				cursor: pointer;
				transition: all 0.2s;
				border: none;
				padding: 0;
				flex-shrink: 0;
				margin-left: 4px;
			}
			.mcptp-search-clear:hover {
				background: #cbd5e1;
				color: #0f172a;
				transform: scale(1.1);
			}
			.mcptp-search-clear svg {
				width: 14px !important;
				height: 14px !important;
				margin-right: 0 !important;
			}
			.mcptp-search-box-v2 input:not(:placeholder-shown) + .mcptp-search-clear {
				display: flex;
			}
			
			/* PestaÃ±as de categorÃ­as */
			.mcptp-sticker-tabs { display:flex; overflow-x:auto; gap:8px; margin-bottom:16px; padding-bottom:8px; scrollbar-width:thin; scrollbar-color:#cbd5e1 transparent;}
			.mcptp-sticker-tabs::-webkit-scrollbar { height:4px; }
			.mcptp-sticker-tabs::-webkit-scrollbar-thumb { background:#cbd5e1; border-radius:4px; }
			.mcptp-cat-tab { white-space:nowrap; padding:6px 14px; background:#f8fafc; border:1px solid #cbd5e1; border-radius:20px; font-size:13px; font-weight:600; color:#475569; cursor:pointer; transition:all .2s; }
			.mcptp-cat-tab:hover { background:#e2e8f0; color:#0f172a; }
			.mcptp-cat-tab.active { background:#8b5cf6; border-color:#8b5cf6; color:white; }

			.mcptp-canva-cat-tab { white-space:nowrap; padding:6px 14px; background:#f8fafc; border:1px solid #cbd5e1; border-radius:20px; font-size:13px; font-weight:600; color:#475569; cursor:pointer; transition:all .2s; }
			.mcptp-canva-cat-tab:hover { background:#e2e8f0; color:#0f172a; }
			.mcptp-canva-cat-tab.active { background:#8b5cf6; border-color:#8b5cf6; color:white; }

			.mcptp-sticker-grid-wrap { flex:1; overflow-y:auto; padding: 4px 12px 12px 12px; }

			/* V75: Font Combinations Cards */
			.mcptp-text-style-card {
				display: flex; align-items: center; gap: 16px; padding: 12px 16px;
				background: #ffffff; border: 1.5px solid #e2e8f0; border-radius: 16px;
				cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
				user-select: none;
			}
			.mcptp-text-style-card:hover {
				border-color: #8b5cf6; background: #fdfbff;
				transform: translateY(-2px); box-shadow: 0 4px 12px rgba(139, 92, 246, 0.08);
			}
			.mcptp-text-style-card:active { transform: translateY(0); }
			
			.mcptp-text-style-preview {
				width: 70px; height: 50px; display: flex; align-items: center; justify-content: center;
				background: #f8fafc; border-radius: 10px; font-size: 14px; flex-shrink: 0;
				overflow: hidden; border: 1px solid #f1f5f9;
			}
			.mcptp-text-style-card span {
				font-size: 14px; font-weight: 700; color: #334155;
			}
			.mcptp-sticker-grid-wrap::-webkit-scrollbar { width:6px; }
			.mcptp-sticker-grid-wrap::-webkit-scrollbar-thumb { background:#cbd5e1; border-radius:10px; }
			.mcptp-sticker-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:12px; }
			.mcptp-sticker-item, .mcptp-background-item { width:100%; aspect-ratio:1; object-fit:contain; border-radius:12px; cursor:pointer; padding:8px; border:2px solid transparent; background:#f8fafc; transition:all .2s ease; }
			.mcptp-sticker-item:hover, .mcptp-background-item:hover { border-color:#3b82f6; background:#eff6ff; transform:scale(1.05); }

			.mcptp-left{
				min-width:0; height:100%; display:flex; flex-direction:column; min-height:0;
			}

			.mcptp-right{
				min-width:0; height:100%; overflow:auto; padding-right:12px; min-height:0;
				scrollbar-width:thin; scrollbar-color: #cbd5e1 transparent;
			}
			.mcptp-right::-webkit-scrollbar{width:6px}
			.mcptp-right::-webkit-scrollbar-track{background:transparent}
			.mcptp-right::-webkit-scrollbar-thumb{background:#cbd5e1; border-radius:10px}

			.mcptp-canvas-wrap{
				position:relative; border:1px solid #e2e8f0; border-radius:0 0 24px 24px; padding:0;
				background:#f8fafc; overflow:hidden !important; min-height:220px; height:100%; min-width:0;
				box-shadow: inset 0 2px 10px rgba(0,0,0,.02);
			}

			.mcptp-canvas-fit{
				width:100%; height:100%; display:flex; align-items:center; justify-content:center;
				overflow:hidden !important; cursor:default; background-color: #f3f4f7 !important; /* V89: Gris garantizado por CSS */
				padding: 0px; box-sizing: border-box;
			}
			.mcptp-canvas-fit.mcptp-hovering-text{cursor:move}

			.mcptp-canvas-stage{
				position:relative; width:100%; height:100%; margin:0; flex:1;
				background: transparent !important; border: none !important;
				box-shadow: none !important;
				overflow: hidden !important; display: flex; align-items: center; justify-content: center;
			}
			.canvas-container { margin: 0 !important; overflow: visible !important; width: 100% !important; height: 100% !important; position: absolute !important; inset: 0 !important; }

			#mcptp-canvas{
				display:block; margin:0 auto; background:transparent !important;
			}

			.mcptp-loading {
				position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
				background: rgba(255, 255, 255, 0.85); border-radius: 12px; z-index: 9999; backdrop-filter: blur(8px);
				transition: all 0.3s ease;
			}
			.mcptp-loading.hidden { display: none; opacity: 0; pointer-events: none; }
			.mcptp-loading-box {
				text-align: center; color: #0f172a; font-weight: 800; font-size: 19px; line-height: 1.4;
				background: #ffffff; padding: 40px 50px; border-radius: 28px;
				box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); border: 1px solid rgba(0, 0, 0, 0.03);
				transform: translateY(-10px); animation: mcptp-loading-bounce 2s ease-in-out infinite;
			}
			.mcptp-loading-spinner {
				width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%;
				border: 5px solid #f1f5f9; border-top-color: #3b82f6;
				animation: mcptp-spin 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
				box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
			}
			@keyframes mcptp-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
			@keyframes mcptp-loading-bounce {
				0%, 100% { transform: translateY(-10px); }
				50% { transform: translateY(-15px); }
			}

			.mcptp-canvas-actions{margin-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
			.mcptp-canvas-actions.mcptp-single-button{
				grid-template-columns:1fr;max-width:500px;margin-left:auto;margin-right:auto
			}

			.mcptp-canvas-hint{margin-top:16px;text-align:center;font-size:13px;font-weight:600;color:#64748b;}
			.mcptp-help{margin-top:12px;color:#64748b;font-size:14px;text-align:center; line-height:1.5;}
			
			.mcptp-title{margin:0 0 18px;font-size:28px; font-weight:800; color:#0f172a; letter-spacing:-0.5px;}
			.mcptp-subtitle{margin:0 0 14px;font-size:18px;color:#1e293b; font-weight:700;}
			.mcptp-label{display:block;margin:16px 0 8px;font-size:14px;font-weight:600; color:#334155}

:root {
	--mcptp-live-color: #3b82f6;
}

.mcptp-visual-designs {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-bottom: 20px;
}
.mcptp-design-btn {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 12px;
	cursor: pointer;
	position: relative;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	gap: 16px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	flex: none;
	width: 100%;
	color: #1e293b;
	text-align: left;
}
.mcptp-design-btn:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
	transform: translateY(-1px);
}
.mcptp-design-btn.active {
	border-color: #3b82f6;
	background: #f0f9ff;
	box-shadow: 0 0 0 1px #3b82f6, 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	color: #3b82f6;
}
.mcptp-design-btn-title {
	font-size: 13px;
	font-weight: 700;
	color: inherit;
}

/* Visual representations using pure CSS inside the buttons */
.mcptp-preview-box {
	position: relative;
	width: 120px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 6px;
	border: 1px solid #f1f5f9;
	flex-shrink: 0;
	overflow: hidden;
}

.mcptp-preview-box div {
	transition: all 0.3s ease;
}

.mcptp-preview-box::after {
	content: "NOMBRE";
	position: absolute;
	font-family: 'Acme', sans-serif;
	font-size: 9px;
	font-weight: 900;
	color: #fff;
	z-index: 5;
}

/* Preview: ClÃ¡sico */
.mcptp-preview-classic .p-bg {
	width: 75%;
	height: 24px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	border: 1px solid #e2e8f0;
}
.mcptp-preview-classic .p-title {
	position: absolute;
	top: 8px;
	background: var(--mcptp-live-color);
	width: 44px;
	height: 12px;
	border-radius: 6px;
	z-index: 2;
}

/* Preview: DiseÃ±o 1 */
.mcptp-preview-d1 .p-bg {
	width: 85%;
	height: 30px;
	background: #fff;
	border-radius: 8px;
	border: 1.5px dashed var(--mcptp-live-color);
}
.mcptp-preview-d1 .p-title {
	position: absolute;
	top: 5px;
	background: var(--mcptp-live-color);
	width: 48px;
	height: 14px;
	border-radius: 4px;
	z-index: 2;
}

/* Preview: DiseÃ±o 2 */
.mcptp-preview-d2 .p-bg {
	width: 85%;
	height: 24px;
	background: #ffffff;
	border-radius: 4px;
	border: 1px dashed #000;
}
.mcptp-preview-d2 .p-title {
	position: absolute;
	top: 6px;
	left: 14px;
	background: var(--mcptp-live-color);
	width: 32px;
	height: 12px;
	border-radius: 2px;
	z-index: 2;
}

/* Preview: DiseÃ±o 3 */
.mcptp-preview-d3 .p-bg {
	width: 85%;
	height: 28px;
	background: #ffffff;
	border-radius: 14px;
	border: 1.5px dashed #000;
}
.mcptp-preview-d3 .p-title {
	position: absolute;
	top: 4px;
	left: 18px;
	background: var(--mcptp-live-color);
	border: 1.5px solid #fff;
	width: 40px;
	height: 14px;
	border-radius: 7px;
	z-index: 2;
}

/* Title Model Previews - Right Sidebar */
.mcptp-title-preview {
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	margin-bottom: 2px;
	font-family: 'Chewy', cursive;
	font-size: 16px;
	background: #fff;
	overflow: hidden;
	border: 1px solid #f1f5f9;
}
.mcptp-title-preview-comic { background: #fef08a; color: #000; -webkit-text-stroke: 1px #000; font-weight: 900; }
.mcptp-title-preview-3d { background: #fee2e2; color: #ef4444; text-shadow: 2px 2px 0px #b91c1c; }
.mcptp-title-preview-basic { background: #fff; color: #1e293b; font-weight: 700; border: 1.5px solid #000; }
			.mcptp-input{
				width:100%;padding:14px 16px;border:1px solid #cbd5e1;border-radius:14px;font-size:15px;
				box-sizing:border-box;transition:all .2s ease; background:#ffffff; color:#0f172a; font-family:'Inter',sans-serif;
			}
			.mcptp-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.15)}
			.mcptp-input:disabled{background:#f1f5f9;border-color:#e2e8f0;color:#94a3b8;cursor:not-allowed}



			.mcptp-range{width:100%; accent-color:#3b82f6; height:6px; background:#e2e8f0; border-radius:10px; appearance:none; outline:none;}
			.mcptp-range::-webkit-slider-thumb{appearance:none; width:18px; height:18px; border-radius:50%; background:#3b82f6; cursor:pointer;}
			.mcptp-range-value{margin-top:8px;font-size:14px;color:#64748b; font-weight:500;}

			.mcptp-actions2,.mcptp-actions1{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
			.mcptp-actions1-full{grid-template-columns:1fr}

			.mcptp-secondary{
				border:none;border-radius:14px;padding:14px 16px;background:#f1f5f9;color:#334155;
				font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;
			}
			.mcptp-secondary:hover{background:#e2e8f0; color:#0f172a}
			.mcptp-secondary.mcptp-active-style{background:#3b82f6;color:#ffffff; box-shadow:0 4px 10px rgba(59,130,246,.2)}
			.mcptp-secondary.mcptp-active-style:hover{background:#2563eb}

			.mcptp-add-primary{
				background:linear-gradient(135deg, #22c55e, #16a34a) !important;color:#fff !important;box-shadow:0 8px 16px rgba(22,163,74,.2) !important;
				display:flex;align-items:center;justify-content:center;gap:12px;min-height:56px;
				padding:14px 18px !important;font-size:16px !important;font-weight:700 !important;
				letter-spacing:.1px;border-radius:18px !important; transition:all .25s ease !important;
			}
			.mcptp-add-primary:hover{transform:translateY(-2px) !important; box-shadow: 0 12px 24px rgba(22,163,74,.3) !important; filter:brightness(1.05)}

			.mcptp-add-title{
				background:linear-gradient(135deg, #0f766e, #115e59) !important;color:#fff !important;box-shadow:0 8px 16px rgba(15,118,110,.2) !important;
				display:flex;align-items:center;justify-content:center;gap:12px;min-height:56px;
				padding:14px 18px !important;font-size:16px !important;font-weight:700 !important;
				letter-spacing:.1px;border-radius:18px !important; transition:all .25s ease !important;
			}
			.mcptp-add-title:hover{transform:translateY(-2px) !important; box-shadow: 0 12px 24px rgba(15,118,110,.3) !important; filter:brightness(1.05)}

			.mcptp-btn-plus{
				display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;
				border-radius:999px;background:rgba(255,255,255,.2);font-size:18px;font-weight:700;line-height:1
			}

			.mcptp-download-btn{
				background:linear-gradient(135deg, #3b82f6, #2563eb); border:none;border-radius:16px;padding:16px;color:#fff;
				font-size:16px;font-weight:700;cursor:pointer; box-shadow: 0 8px 16px rgba(37,99,235,.25); transition:all .25s cubic-bezier(0.4, 0, 0.2, 1);
			}
			.mcptp-download-btn:hover{transform:translateY(-3px); box-shadow: 0 12px 24px rgba(37,99,235,.35); filter:brightness(1.05)}

			.mcptp-status{min-height:22px;margin-top:16px;font-size:14px; font-weight:500;}
			.mcptp-editor-panel{display:none}
			.mcptp-editor-panel.active{display:block; animation:mcptp-fadein .3s ease;}
			@keyframes mcptp-fadein{from{opacity:0; transform:translateY(10px)} to{opacity:1; transform:translateY(0)}}
			
			.mcptp-panel-placeholder{
				padding:20px;border:2px dashed #cbd5e1;border-radius:18px;background:#f8fafc;
				color:#64748b;font-size:14px;line-height:1.6; font-weight:500; text-align:center;
			}

			.mcptp-native-color-input{
				position:absolute !important; width:1px !important; height:1px !important; opacity:0 !important;
				pointer-events:none !important;
			}

			.mcptp-color-picker{position:relative}
			.mcptp-color-display{
				width:100%; display:flex; align-items:center; gap:12px; border:1px solid #cbd5e1; border-radius:14px;
				padding:12px 14px; background:#fff; cursor:pointer; font-size:14px; font-weight:600; color:#0f172a;
				transition:all .2s ease;
			}
			.mcptp-color-display:hover{border-color:#94a3b8; background:#f8fafc}
			.mcptp-color-preview{
				width:26px;height:26px;border-radius:8px;border:1px solid rgba(0,0,0,.1);flex:0 0 auto
			}
			.mcptp-color-hex{flex:1 1 auto;text-align:left; font-family:'Inter', sans-serif;}
			.mcptp-color-caret{font-size:11px;color:#94a3b8}

			.mcptp-color-popover {
				position: absolute; left: 0; top: calc(100% + 8px); width: 300px; min-width: 280px; z-index: 2000000;
				background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 20px 40px rgba(0,0,0,0.15);
				padding: 22px; animation: mcptp-fadein 0.2s ease;
				max-height: 85vh; overflow-y: auto; scrollbar-width: thin;
			}
			.mcptp-color-popover::-webkit-scrollbar { width: 6px; }
			.mcptp-color-popover::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }
			.mcptp-color-popover-section + .mcptp-color-popover-section{margin-top:16px}
			.mcptp-color-popover-title{
				font-size:13px; font-weight:700; color:#475569; margin-bottom:10px;
			}
			.mcptp-color-theme-table{display:flex;flex-direction:column;gap:8px}
			.mcptp-color-theme-row,
			.mcptp-color-standard-row{
				display:grid;grid-template-columns:repeat(7, minmax(0, 1fr));gap:8px;
			}
			.mcptp-color-standard-row{grid-template-columns:repeat(8, minmax(0, 1fr))}
			.mcptp-color-swatch{
				border:1px solid rgba(0,0,0,.1); border-radius:8px; height:32px; cursor:pointer; padding:0;
				transition:all .15s ease;
			}
			.mcptp-color-swatch:hover{transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,.15)}
			.mcptp-color-swatch.mcptp-selected-swatch{
				outline:2px solid #3b82f6; outline-offset:2px;
			}
			.mcptp-color-popover-footer{margin-top:16px}
			.mcptp-more-colors-btn{
				width:100%; border:1px solid #cbd5e1; background:#f8fafc; color:#0f172a; border-radius:12px;
				padding:12px; font-size:14px; font-weight:600; cursor:pointer; transition:all .2s ease;
			}
			.mcptp-more-colors-btn:hover{background:#f1f5f9; border-color:#94a3b8}

			/* === Cuentagotas (EyeDropper) === */
			.mcptp-eyedropper-btn{
				width:100%;
				display:flex;
				align-items:center;
				justify-content:center;
				gap:8px;
				border:1.5px solid #6366f1;
				background:linear-gradient(135deg,#eef2ff,#e0e7ff);
				color:#4f46e5;
				border-radius:12px;
				padding:10px;
				font-size:13px;
				font-weight:700;
				cursor:pointer;
				transition:all .2s ease;
				letter-spacing:0.2px;
			}
			.mcptp-eyedropper-btn:hover{
				background:linear-gradient(135deg,#6366f1,#4f46e5);
				color:#fff;
				border-color:#4f46e5;
				box-shadow:0 4px 14px rgba(99,102,241,.35);
				transform:translateY(-1px);
			}
			.mcptp-eyedropper-btn.mcptp-picking{
				background:linear-gradient(135deg,#7c3aed,#a855f7);
				color:#fff;
				border-color:#a855f7;
				animation:mcptp-pulse-eyedrop .8s ease-in-out infinite;
			}
			@keyframes mcptp-pulse-eyedrop{
				0%,100%{box-shadow:0 0 0 0 rgba(168,85,247,.5)}
				50%{box-shadow:0 0 0 8px rgba(168,85,247,0)}
			}

			/* === Sticker Glow Toggle === */
			.mcptp-sticker-glow-toggle{
				display:grid; grid-template-columns:1fr 1fr;
				gap:8px; margin-bottom:12px;
			}
			.mcptp-glow-btn{
				padding:10px 8px; border-radius:10px; border:2px solid #e2e8f0;
				background:#f8fafc; color:#64748b; font-size:13px; font-weight:600;
				cursor:pointer; transition:all .2s ease; text-align:center;
			}
			.mcptp-glow-btn:hover{ border-color:#94a3b8; background:#f1f5f9; }
			.mcptp-glow-btn.active{
				background:linear-gradient(135deg,#1e40af,#3b82f6);
				border-color:#3b82f6; color:#fff;
				box-shadow:0 4px 14px rgba(59,130,246,.35);
			}
			#mcptp-glow-on.active{
				background:linear-gradient(135deg,#7c3aed,#a855f7);
				border-color:#a855f7;
				box-shadow:0 4px 14px rgba(168,85,247,.4);
			}

			/* === Sticker Style Toggle (Solid/Soft) === */
			.mcptp-sticker-style-toggle{
				display:grid; grid-template-columns:1fr 1fr;
				gap:8px; margin:8px 0 16px;
			}
			.mcptp-style-btn{
				padding:8px; border-radius:8px; border:1px solid #cbd5e1;
				background:#f1f5f9; color:#475569; font-size:12px; font-weight:600;
				cursor:pointer; transition:all .2s ease;
			}
			.mcptp-style-btn:hover{background:#e2e8f0; border-color:#94a3b8}
			.mcptp-style-btn.active{
				background:#0f172a; color:#fff; border-color:#0f172a;
				box-shadow:0 2px 8px rgba(0,0,0,.15);
			}

			/* LÃ³gica de pestaÃ±as del Panel */
			.mcptp-drawer-tab-content { display: none; flex-direction: column; height: 100%; overflow-y: auto; }
			.mcptp-drawer-tab-content.active { display: flex; }

			@media (max-width:1100px){
				.mcptp-grid{grid-template-columns:minmax(0,1fr) 340px}
			}

			@media (max-width:980px){
				/* Regla duplicada eliminada para evitar conflictos */
				.mcptp-grid{grid-template-columns:1fr;height:100%}
				.mcptp-right{height:auto;max-height:40vh}
				.mcptp-left{min-height:0}
				.mcptp-tools-left{order:2}
				.mcptp-left{order:1}
				.mcptp-right{order:3}
				.mcptp-tools-card{padding:16px}
				.mcptp-canvas-actions{grid-template-columns:1fr}
				.mcptp-canvas-actions.mcptp-single-button{max-width:none}
				.mcptp-color-popover{min-width:0;width:100%}

				/* MÃ³vil: DiseÃ±o Apilado */
				.mcptp-main-layout { flex-direction: column; overflow-y: auto; height: auto; }
				.mcptp-sidebar { width: 100%; height: auto; flex-direction: row; justify-content: space-around; padding: 8px 0; border-right: none; border-bottom: 1px solid #e2e8f0; }
				.mcptp-sidebar-item { width: auto; height: auto; padding: 6px 12px; }
				.mcptp-drawer { width: 100%; height: auto; border-right: none; border-bottom: 1px solid #e2e8f0; max-height: 300px; }
				.mcptp-editor-body { flex: none; height: auto; }
				.mcptp-canvas-wrap { aspect-ratio: 210/297; max-height: 60vh; }
				.mcptp-right { width: 100%; max-height: none; }
				.mcptp-top-toolbar { position: sticky; top: 0; left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; z-index: 200; padding-top: 5px; }
				
				.mcptp-sticker-modal, .mcptp-background-modal { width: calc(100% - 40px); left: 20px; top: 80px; z-index: 99999999; }
			}

			/* V281: Modo Móvil Text-First (Alumnos) */
			@media (max-width: 768px) {
				.mcptp-overlay.mcptp-is-not-admin .mcptp-grid { display: block; height: 100%; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-sidebar { display: none !important; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-drawer { display: none !important; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-right { display: none !important; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-editor-body { height: calc(100vh - 140px); padding-bottom: 80px; display: flex; justify-content: center; width: 100%; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-top-bar-center { display: none !important; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-top-bar-right { display: none !important; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-ads-sidebar { display: none !important; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-top-bar { height: 60px; }
				
				/* V31: Clase para forzar visibilidad con ALTA especificidad */
				.mcptp-overlay .mcptp-mobile-force-show,
				.mcptp-overlay.mcptp-is-not-admin .mcptp-mobile-force-show { display: flex !important; }
				
				.mcptp-overlay .mcptp-mobile-force-open,
				.mcptp-overlay.mcptp-is-not-admin .mcptp-mobile-force-open { display: block !important; visibility: visible !important; opacity: 1 !important; z-index: 2147483647 !important; }
				
				.mcptp-overlay.mcptp-is-not-admin .mcptp-left { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 100%; margin: 0 auto; overflow: hidden; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-canvas-wrap { max-height: calc(100vh - 160px); aspect-ratio: unset; height: 100%; margin: 0 auto; display: flex; justify-content: center; align-items: flex-start; width: 100%; }
				
				.mcptp-color-popover {
					position: fixed !important;
					top: 50% !important;
					left: 50% !important;
					transform: translate(-50%, -50%) !important;
					width: 90vw !important;
					max-width: 320px !important;
					max-height: 70vh !important;
					overflow-y: auto !important;
					box-shadow: 0 20px 50px rgba(0,0,0,0.3) !important;
					z-index: 2147483647 !important;
				}
				.mcptp-color-popover[hidden] { display: none !important; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-mobile-force-open, .mcptp-overlay .mcptp-mobile-force-open { display: block !important; visibility: visible !important; opacity: 1 !important; z-index: 2147483647 !important; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-canvas-fit { display: flex; justify-content: center; align-items: flex-start; width: 100%; overflow: auto; }
				.mcptp-overlay.mcptp-is-not-admin .canvas-container { margin: 0 auto !important; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-canvas-actions-bar { display: none !important; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-canvas-actions { display: none !important; }
				.mcptp-overlay.mcptp-is-not-admin #mcptp-add-page-container { display: none !important; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-page-toolbar { display: none !important; }
				
				/* Bottom Bar */
				.mcptp-mobile-bottom-bar {
					position: fixed; bottom: 0; left: 0; width: 100%; height: 70px;
					background: #ffffff; border-top: 1px solid #e2e8f0;
					display: flex; align-items: center; justify-content: space-around;
					padding: 0 15px; padding-bottom: env(safe-area-inset-bottom, 0);
					box-shadow: 0 -4px 15px rgba(0,0,0,0.05); z-index: 9999;
				}
				.mcptp-mobile-btn {
					display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
					background: none; border: none; font-size: 10px; font-weight: 700; color: #64748b;
					width: 18%; height: 50px; border-radius: 10px; transition: all 0.2s ease;
				}
				.mcptp-mobile-btn:active { background: #f1f5f9; }
				#mcptp-mobile-share { color: #25d366; }
				.mcptp-mobile-btn.primary { color: #ffffff; background: #6366f1; }
				.mcptp-mobile-btn.primary:active { background: #4f46e5; }
				.mcptp-mobile-btn.gallery-active { color: #8b5cf6; }
				#mcptp-mobile-gallery-panel { height: 75vh; }
				
				/* Text Panel Deslizante */
				.mcptp-mobile-text-panel {
					position: fixed; bottom: -100%; left: 0; width: 100%; height: 65vh;
					background: #ffffff; border-radius: 24px 24px 0 0; z-index: 10000;
					box-shadow: 0 -10px 40px rgba(0,0,0,0.15); display: flex; flex-direction: column;
					transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
				}
				.mcptp-mobile-text-panel.open { bottom: 0; }
				.panel-handle-zone { padding: 12px; display: flex; justify-content: center; cursor: grab; }
				.panel-handle { width: 40px; height: 5px; background: #cbd5e1; border-radius: 4px; }
				.mcptp-mobile-text-panel .panel-header { display: flex; justify-content: space-between; align-items: center; padding: 0 20px 15px; border-bottom: 1px solid #f1f5f9; }
				.mcptp-mobile-text-panel .panel-header h3 { margin: 0; font-size: 16px; font-weight: 800; color: #0f172a; }
				.mcptp-mobile-text-panel .panel-close { background: #f1f5f9; border: none; width: 30px; height: 30px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #64748b; }
				.mcptp-mobile-text-panel .panel-content { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
				
				/* V31: Estilos para items de fuente en móvil */
				.mcptp-mobile-font-item {
					padding: 14px 18px;
					background: #ffffff;
					border: 1.5px solid #f1f5f9;
					border-radius: 12px;
					font-size: 20px; /* Tamaño generoso para ver la fuente */
					cursor: pointer;
					transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
					display: flex;
					align-items: center;
					justify-content: space-between;
					color: #334155;
				}
				.mcptp-mobile-font-item:active {
					background: #f8fafc;
					transform: scale(0.98);
				}
				.mcptp-mobile-font-item.active {
					border-color: #6366f1;
					background: #f5f3ff;
					color: #6366f1;
					box-shadow: 0 4px 12px rgba(99,102,241,0.1);
				}
				.mcptp-mobile-font-item::after {
					content: '✓';
					opacity: 0;
					font-size: 16px;
					font-weight: 900;
				}
				.mcptp-mobile-font-item.active::after {
					opacity: 1;
				}

				/* Inputs */
				.mcptp-mobile-input-group { display: flex; flex-direction: column; gap: 6px; }
				.mcptp-mobile-input-group label { font-size: 12px; font-weight: 700; color: #475569; }
				.mcptp-mobile-input-group input, .mcptp-mobile-input-group textarea {
					width: 100%; padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 10px;
					font-size: 15px; color: #1e293b; background: #f8fafc; font-family: inherit;
				}
				.mcptp-mobile-input-group input:focus, .mcptp-mobile-input-group textarea:focus {
					outline: none; border-color: #3b82f6; background: #ffffff; box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
				}
			}
			
			/* Ocultar elementos móviles por defecto en desktop o para admin */
			.mcptp-mobile-bottom-bar, .mcptp-mobile-text-panel { display: none; }
			@media (max-width: 768px) {
				.mcptp-overlay.mcptp-is-not-admin .mcptp-mobile-bottom-bar { display: flex; }
				.mcptp-overlay.mcptp-is-not-admin .mcptp-mobile-text-panel { display: flex; }
			}

			/* V145: Estilos Nueva GalerÃ­a de Formas - Premium Gallery Effect (Efecto de Glow y Escala) */
			.mcptp-shape-item {
				aspect-ratio: 1; background: #ffffff; border: 2px solid #f1f5f9; border-radius: 12px;
				display: flex; align-items: center; justify-content: center; cursor: pointer;
				transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); color: #334155;
				padding: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.05);
				position: relative;
			}
			.mcptp-shape-item:hover { 
				background: #ffffff; 
				border-color: #3b82f6; 
				color: #2563eb; 
				transform: translateY(-2px) scale(1.1); 
				box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.2); 
				z-index: 10;
			}
			.mcptp-shape-item svg { 
				width: 100%; height: 100%; transition: transform 0.2s ease; 
			}
			.mcptp-shape-item:hover svg { 
				transform: scale(1.15); 
			}

			/* V150: Estilos para el Panel de Capas Persistente */
			#mcptp-persistent-position {
				background: #ffffff;
				border-radius: 18px;
				box-shadow: 0 4px 20px rgba(0,0,0,0.05);
				transition: all 0.3s ease;
			}
			
			.mcptp-highlight-pulse {
				animation: mcptp-pulse-blue 2s ease-in-out;
			}
			
			@keyframes mcptp-pulse-blue {
				0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); border-color: #3b82f6; }
				50% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); border-color: #3b82f6; }
				100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
			}

			.mcptp-layer-list::-webkit-scrollbar { width: 4px; }
			.mcptp-layer-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

			/* V155: Badge de Formato (Estilo Canva) */
			.mcptp-gallery-item-wrap {
				position: relative;
				width: 100%;
				aspect-ratio: 1;
				background: #ffffff;
				border-radius: 12px;
				overflow: hidden;
				border: 1.5px solid #f1f5f9;
				cursor: pointer;
				transition: all 0.2s ease;
			}
			.mcptp-gallery-item-wrap:hover {
				border-color: #3b82f6;
				transform: translateY(-2px);
				box-shadow: 0 4px 12px rgba(0,0,0,0.08);
			}
			.mcptp-gallery-item-wrap img {
				width: 100%;
				height: 100%;
				object-fit: contain;
				padding: 8px;
			}
			.mcptp-item-badge {
				position: absolute;
				top: 8px;
				right: 8px;
				background: rgba(15, 23, 42, 0.8);
				color: #ffffff;
				font-size: 9px;
				font-weight: 800;
				padding: 2px 7px;
				border-radius: 6px;
				backdrop-filter: blur(4px);
				text-transform: uppercase;
				letter-spacing: 0.5px;
				pointer-events: none;
				z-index: 5;
				border: 1px solid rgba(255,255,255,0.1);
				box-shadow: 0 2px 4px rgba(0,0,0,0.1);
			}
			/* Colores por Formato */
			.mcptp-item-badge.badge-png { background: rgba(139, 92, 246, 0.9); } /* Violeta */
			.mcptp-item-badge.badge-jpg, .mcptp-item-badge.badge-jpeg { background: rgba(59, 130, 246, 0.9); } /* Azul */
			.mcptp-item-badge.badge-svg { background: rgba(20, 184, 166, 0.9); } /* Teal */
			.mcptp-item-badge.badge-webp { background: rgba(245, 158, 11, 0.9); } /* Ámbar */

.mcptp-debug-id { display: none; } /* V55: Ocultar IDs debug por defecto */
/* V160: Asegurar que las paletas de color en Efectos siempre estén al frente */
#mcptp-image-effects-root .mcptp-color-popover {
    z-index: 99999999 !important;
}

			/* V33: Menú Contextual Premium (Canva Style) */
			.mcptp-context-menu {
				background: #ffffff;
				border-radius: 12px;
				box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
				padding: 8px;
				width: 240px;
				font-family: 'Inter', sans-serif;
				border: 1px solid #e2e8f0;
			}
			.mcptp-menu-item {
				display: flex;
				align-items: center;
				padding: 8px 12px;
				border-radius: 8px;
				cursor: pointer;
				transition: all 0.2s ease;
				gap: 12px;
				color: #475569;
				user-select: none;
			}
			.mcptp-menu-item:hover {
				background: #f1f5f9;
				color: #0f172a;
			}
			.mcptp-menu-icon {
				display: flex;
				align-items: center;
				justify-content: center;
				color: #64748b;
				width: 20px;
			}
			.mcptp-menu-text {
				flex: 1;
				font-size: 13px;
				font-weight: 600;
			}
			.mcptp-menu-shortcut {
				font-size: 11px;
				color: #94a3b8;
				font-weight: 500;
			}
			.mcptp-menu-sep {
				height: 1px;
				background: #f1f5f9;
				margin: 8px 4px;
			}
			.mcptp-menu-danger:hover {
				background: #fef2f2;
				color: #ef4444;
			}
			.mcptp-menu-danger:hover .mcptp-menu-icon {
				color: #ef4444;
			}

.mcptp-debug-id { display: none !important; }

/* V410: Admin Gallery Detection Labels */
.mcptp-admin-badge-wrapper {
    position: relative;
    display: block;
    width: 100%;
}
.mcptp-admin-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 900;
    color: #fff;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,255,255,0.4);
    font-family: 'Inter', sans-serif;
}
.mcptp-admin-badge-under {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    pointer-events: none;
    border: 1.5px solid rgba(255,255,255,0.4);
    font-family: 'Inter', sans-serif;
    margin-top: 10px;
    margin-bottom: 2px;
    transition: all 0.2s ease;
}
.mcptp-urgency-wrapper {
    text-align: center;
    width: 100%;
    display: block;
}
.mcptp-urgency-wrapper:hover .mcptp-admin-badge-under {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.mcptp-badge-success {
    background: rgba(2, 148, 86, 0.9); /* #029456 Green */
}
.mcptp-badge-danger {
    background: rgba(184, 33, 15, 0.9); /* #B8210F Red */
}
.mcptp-badge-urgente {
    background: rgba(220, 38, 38, 0.95) !important; /* Rojo Premium */
}
.mcptp-badge-medio {
    background: rgba(4, 120, 87, 0.95) !important; /* Verde Esmeralda Premium */
}
.mcptp-badge-regular {
    background: rgba(234, 179, 8, 0.95) !important; /* Amarillo Premium */
}
.mcptp-badge-nada {
    background: rgba(148, 163, 184, 0.95) !important; /* Gris Plomo Premium */
}
.mcptp-admin-badge-wrapper:hover .mcptp-admin-badge {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

