    .modulo-planeacion {
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        overflow: hidden;
        font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        max-width: 900px;
        margin: 20px auto;
        border: 1px solid #e0e0e0;
    }
    .planeacion-header {
        background: #f8f9fa;
        padding: 20px;
        border-bottom: 1px solid #eeeeee;
    }
    .planeacion-titulo {
        font-size: 1.4rem;
        font-weight: 700;
        color: #2c3e50;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .planeacion-subtitulo {
        font-size: 0.9rem;
        color: #7f8c8d;
        margin-top: 5px;
    }
    .planeacion-body {
        padding: 20px;
    }
    .planeacion-textarea {
        width: 100%;
        height: 150px;
        padding: 15px;
        border: 2px solid #edeff0;
        border-radius: 8px;
        resize: vertical;
        font-size: 1rem;
        transition: border-color 0.3s;
        box-sizing: border-box;
    }
    .planeacion-textarea:focus {
        border-color: #3498db;
        outline: none;
    }
    .planeacion-footer {
        padding: 15px 20px;
        background: #f8f9fa;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #eeeeee;
    }
    .btn-ia-ejecutar {
        background: #2c3e50;
        color: white;
        border: none;
        padding: 12px 25px;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.3s;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .btn-ia-ejecutar:hover { background: #1a252f; }
    .btn-ia-ejecutar:disabled { background: #bdc3c7; cursor: not-allowed; }

    /* Contenedor de Resultado */
    #resultadoPlaneacion {
        margin: 20px;
        padding: 20px;
        border: 1px dashed #3498db;
        border-radius: 8px;
        background: #f0f7ff;
        display: none;
    }
    .resultado-acciones {
        margin-top: 15px;
        display: flex;
        gap: 10px;
    }
    .btn-copiar {
        background: #3498db;
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.9rem;
    }
	/* Estilo para las órdenes de trabajo que devuelve la IA */
.contenido-ia-resultado div[style*="border: 1px solid"] {
    box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
    page-break-inside: avoid;
}
/* Botón de imprimir que se inyectará en las órdenes */
.btn-imprimir-orden {
    float: right;
    background: #1e3a5f;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-imprimir-orden:hover {
    background: #2d5a87;
}